Incompatibility with Python 2.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
scons (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
widelands (Ubuntu) |
Fix Released
|
Undecided
|
Andrew Starr-Bochicchio |
Bug Description
Binary package hint: scons
When I try to build Widelands (widelands.org) from source, it does not work with Python 2.6, I get the following error:
Checking for a working C++ compiler ... no
Can't even compile the simplest C++ program! Your setup is beyond broken. Repair it, then try again.
Looking at build/config.log shows me:
g++ -o build/sconf_
g++: D: No such file or directory
g++: N: No such file or directory
g++: O: No such file or directory
g++: P: No such file or directory
etc.
Changing the symlink /usr/bin/python to python2.5 solves the problem.
It looks like there have been bug reports about scons failing with python2.6 before and that this should be fixed by now, but in this case it isn't.
ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
Package: scons 1.2.0-1ubuntu1
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
LANG=de_DE.UTF-8
SourcePackage: scons
Uname: Linux 2.6.28-11-generic x86_64
have you done something like
env['CPPDEFINES'] += "-DNOPARACHUTE"
when you should have written
env['CPPDEFINES'] += ["-DNOPARACHUTE"]
perhaps?