Trouble with Emerge

Patrick Spendrin ps_ml at gmx.de
Sat Feb 25 00:34:10 UTC 2012


Am 25.02.2012 01:19, schrieb Pedro Lopez-Cabanillas:
> On Tuesday 21 February 2012, Andre Heinecke wrote:
>> Am Donnerstag 16 Februar 2012 11:20:52 schrieb erle tveit-hansen:
>>> Hi!
>>> I'm having trouble getting KDE using Emerge. I have edited kdesettings and
>>> run kdeenv, but when I try to run emerge qt I get an error message saying
>>> there's a syntax error on line 168 of emerge.py, even though I haven't
>>> touched it.. I assume this is caused by some other error, but I have no
>>> idea what. Any help is appreciated.
>>
>> There were no changes to this file recently and it works here of course, can 
>> you please check with git diff that it is really unchanged and also please 
>> check your Python Version. You need Python 2.7 for emerge.
> 
> http://techbase.kde.org/Getting_Started/Build/Windows/emerge says:
> "Beginning from the KDE 4.8 (including master and the frameworks branch) 
> Python 3.2 will be required."
> 
> The 4.8 announcement at 
> http://windows.kde.org/news.php#itemKDESoftwareCompilation480forWindowsavailable
> also suggests that KDE 4.8 has moved to Python 3.
> 
> Following the previous documents, anybody trying emerge for KDE 4.8 will 
> install Python 3.2, which doesn't work (throws a syntax error on line 168 of 
> emerge.py)

Hm, does the same happen for the python3 branch btw.? Those two should
be similar. There is one more thing I can think of: Python registers the
file extension .py to whichever python was installed last. Theoretically
emerge shouldn't depend on that (at least we have tried to remove that),
but you never know. Also please make sure that the environment variable
PYTHONPATH is set to the location of your python 3.2. I'll have a new
clean computer available to set up in a few days, if this error doesn't
go away, I'll try to find it then.

> 
> Can anybody clarify if there is something that requires Python 3 for KDE 4.8,  
> And if not, please fix the documentation?

Python 3 is required for using the kde-4.8 branch to build KDE 4.8.

> 
> Regards,
> Pedro

regards,
Patrick



More information about the Kde-windows mailing list