[Clam-devel] Problems with clam_build_helpers.py

Francisco Tufró nictuku at gmail.com
Tue May 6 14:46:37 PDT 2008


I've written the patch.


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

>
> El dl 05 de 05 del 2008 a les 17:20 +0200, en/na Pau Arumí va escriure:
> > On dl, 2008-05-05 at 11:35 -0300, Francisco Tufró wrote:
> > > 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).
> >
> > Ok, it's not a matter of upgrading OS to Leopard, but installing a newer
> > Python (different versions can coexist).
> > My Mac OS version is 10.4.9 and i'm using an actualized Python. But ATM
> > don't remember if it is from macports or native install (from the Python
> > web). I'll take a look later when i have the macbook available.
> > Self TODO: document the Python set up in the MacOSX_build wiki page.
> >
> > P
>
> I was wrong assuming i was using a newer version of Python in our
> reference Mac set up. New commits on scons scripts broke Mac OSX
> compilation.
> Last safe version is r11220. I hope is only a matter of rephrasing the
> "A if COND else B" conditional-value syntax.
> If somebody that uses mac more often than me want to help, please send
> patches in.
>
> Yes, developing without a frequent Mac testfarm client is not safe...
>
> Pau
>
>
>
>
> >
> > >
> > > 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
> > >
> >
> >
> > _______________________________________________
> > 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/20080506/d5505473/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clam_build_helper.patch
Type: application/octet-stream
Size: 973 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080506/d5505473/attachment-0004.obj>


More information about the clam-devel mailing list