[Clam-devel] Problems with clam_build_helpers.py

Francisco Tufró nictuku at gmail.com
Mon May 5 07:35:31 PDT 2008


This python version (2.3.5) is the one that shipped with MacOSX 10.4.
Maybe in leopard it's updated, but i can't switch to leopard because
ProTools has no support of it (and i need it).


On Mon, May 5, 2008 at 5:38 AM, Pau Arumí Albó <parumi at iua.upf.edu> wrote:

>
> El dv 02 de 05 del 2008 a les 15:58 -0300, en/na Francisco Tufró va
> escriure:
> > Hello, i've just done an update of my svn copy of clam and found some
> > errors when trying to compile:
> > 1)
> > nictukus-computer:~/Documents/programacion/clam/original/trunk/CLAM
> > nictuku$ scons configure
> > scons: Reading SConscript files ...
> >   File
> >
> "/Users/nictuku/Documents/programacion/clam/original/trunk/CLAM/scons/libs/clam_build_helpers.py",
> line 251
> >
> >     env['PKG_CONFIG'] = 'wine pkg-config' if crosscompiling else
> > 'pkg-config'
> >
> >                                            ^
> >
> > SyntaxError: invalid syntax
>
> ...
>
> > May be my python version??
> > Python 2.3.5 (#1, Jul 25 2006, 00:38:48)
>
> I'd bet everything on it! This nice conditional-value syntax "A if COND
> else B" seems a recent feature.
>
> I have Pyton 2.5.1 on an old ubuntu-gutsy. What distro are you using
> with SUCH OLD python version?
>
> Does anybody know the exact python version that brought this syntax? We
> definitely need to put a version assert at the beginning of our scons
> script.
>
> Pau
>
>
>
>
> _______________________________________________
> Clam-devel mailing list
> Clam-devel at llistes.projectes.lafarga.org
> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080505/56aaace1/attachment-0003.htm>


More information about the clam-devel mailing list