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

Gary Oberbrunner garyo at oberbrunner.com
Wed Jun 4 11:02:28 EDT 2014


You may have to use an older SCons; we may have broken 2.4 compatibility
unknowingly.

Please run with --debug=stacktrace so we can see which line in SCons caused
the error.

-- 
Gary Oberbrunner
(sent from my Android)
On Jun 4, 2014 8:18 AM, "Stijn De Ruyck" <Stijn.DeRuyck at onsemi.com> wrote:

>  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.
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140604/37d4c256/attachment-0001.html>


More information about the Scons-users mailing list