[Scons-users] FW: Scons 2.3.1 on Python 2.4.3 won't build
Stijn De Ruyck
Stijn.DeRuyck at onsemi.com
Wed Jun 4 08:18:24 EDT 2014
Resend; msg not received on scons-users?
From: Stijn De Ruyck
Sent: Wednesday, June 04, 2014 1:59 PM
To: 'scons-users at scons.org'
Subject: Scons 2.3.1 on Python 2.4.3 won't build
Hi,
I'm trying to use Scons 2.3.1 on Python 2.4.3.
I just followed the simple c++ hello-world testcase from http://www.scons.org/doc/production/HTML/scons-user.html but the build fails:
> scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: warning: Support for pre-2.7.0 Python version (2.4.3) is deprecated.
If this will cause hardship, contact dev at scons.tigris.org<mailto:dev at scons.tigris.org>.
File "/usr/bin/scons", line 192, in ?
scons: Building targets ...
scons: *** [.] AttributeError : type object 'itertools.chain' has no attribute 'from_iterable'
scons: building terminated because of errors
I know support for Python pre-2.7 is now deprecated, but that shouldn't mean "unsupported", or is it?
On Python 2.7.6, it works fine, but I can't upgrade all our workstations to this version yet...
> python2.7 `which scons`
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
gcc -o hello.o -c hello.c
hello.c: In function 'main':
hello.c:4: warning: incompatible implicit declaration of built-in function 'printf'
gcc -o hello hello.o
scons: done building targets.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140604/ded687ba/attachment-0001.html>
More information about the Scons-users
mailing list