[Scons-users] FW: Scons 2.3.1 on Python 2.4.3 won't build

Manuel Naranjo naranjo.manuel at gmail.com
Wed Jun 4 10:37:19 EDT 2014


It's actually unsupported. Go ahead and update your workstations or use 
an older scons version, something like 1.X branch.


> 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.
>
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/mailman/listinfo/scons-users
>



More information about the Scons-users mailing list