won't build - compile error with 0.3.1.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Exaile |
Confirmed
|
High
|
Unassigned |
Bug Description
First,
Congratulations for the Makefile - it does make life easier.
Second,
I tried building on Debian Squeeze (python version 2.6) and encountered the following bug:
$ make
python -m compileall -q xl xlgui
python -O -m compileall -q xl xlgui
make -C plugins compile
make[1]: Entering directory `/home/
python -m compileall -q .
./daapclient/
Compiling ./daapclient/
File "./daapclient/
except Exception as inst:
SyntaxError: invalid syntax
./daapserver/
Compiling ./daapserver/
File "./daapserver/
with warnings.
^
SyntaxError: invalid syntax
make[1]: *** [compile] Error 1
make[1]: Leaving directory `/home/
make: *** [compile] Error 2
I had no problem building on Ubuntu Karmic Koala.
Thanks,
Oz
For some reason all Debian versions are still on Python 2.5. I think we'll have to stick with that for now.
The "with" error can be fixed by importing with_statement from __future__. Not sure about the "as" error.