[Clam-devel] Problems with clam_build_helpers.py

Francisco Tufró nictuku at gmail.com
Fri May 2 11:58:17 PDT 2008


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


i deleted the first part of the if, just to keep pkg-config' (for my
platform macosx it should be like that) and then:
2)
nictukus-computer:~/Documents/programacion/clam/original/trunk/CLAM nictuku$
scons
scons: Reading SConscript files ...
  File
"/Users/nictuku/Documents/programacion/clam/original/trunk/CLAM/scons/libs/clam_build_helpers.py",
line 253

    pathSeparator = ';' if sys.platform is "win32" or crosscompiling  else
':'

                         ^

SyntaxError: invalid syntax

did the same, kept the ";"

then everything works ok.
May be my python version??
Python 2.3.5 (#1, Jul 25 2006, 00:38:48)


that's all
bye!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080502/f3e88914/attachment.html>


More information about the clam-devel mailing list