This python version (2.3.5) is the one that shipped with MacOSX 10.4. <br>Maybe in leopard it's updated, but i can't switch to leopard because ProTools has no support of it (and i need it).<br><br><br><div class="gmail_quote">
On Mon, May 5, 2008 at 5:38 AM, Pau Arumí Albó <<a href="mailto:parumi@iua.upf.edu">parumi@iua.upf.edu</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
El dv 02 de 05 del 2008 a les 15:58 -0300, en/na Francisco Tufró va<br>
escriure:<br>
<div class="Ih2E3d">> Hello, i've just done an update of my svn copy of clam and found some<br>
> errors when trying to compile:<br>
> 1)<br>
> nictukus-computer:~/Documents/programacion/clam/original/trunk/CLAM<br>
> nictuku$ scons configure<br>
> scons: Reading SConscript files ...<br>
>   File<br>
> "/Users/nictuku/Documents/programacion/clam/original/trunk/CLAM/scons/libs/clam_build_helpers.py", line 251<br>
><br>
>     env['PKG_CONFIG'] = 'wine pkg-config' if crosscompiling else<br>
> 'pkg-config'<br>
><br>
>                                            ^<br>
><br>
> SyntaxError: invalid syntax<br>
<br>
</div>...<br>
<div class="Ih2E3d"><br>
> May be my python version??<br>
> Python 2.3.5 (#1, Jul 25 2006, 00:38:48)<br>
<br>
</div>I'd bet everything on it! This nice conditional-value syntax "A if COND<br>
else B" seems a recent feature.<br>
<br>
I have Pyton 2.5.1 on an old ubuntu-gutsy. What distro are you using<br>
with SUCH OLD python version?<br>
<br>
Does anybody know the exact python version that brought this syntax? We<br>
definitely need to put a version assert at the beginning of our scons<br>
script.<br>
<br>
Pau<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Clam-devel mailing list<br>
<a href="mailto:Clam-devel@llistes.projectes.lafarga.org">Clam-devel@llistes.projectes.lafarga.org</a><br>
<a href="https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel" target="_blank">https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel</a><br>
</blockquote></div><br>