← Back to team overview

yade-dev team mailing list archive

Re: [Branch ~yade-dev/yade/trunk] Rev 1804: fix bug in scons.profile*: now CPPPATH and LIBPATH is a simple string (not a list) with colon sep...

 

> Sorry, it does not work for me:
> 
> scons: Reading SConscript files ...
> @@@ Using profile default (scons.profile-default) @@@
> AttributeError: 'list' object has no attribute 'split':
>   File "/home/gladk/dem/yade/currentMono/yade/SConstruct", line 164:
>     env['CPPPATH']=colonSplit(env['CPPPATH'])
>   File "/home/gladk/dem/yade/currentMono/yade/SConstruct", line 121:
>     def colonSplit(x): return x.split(':')
It is picking up old value from scons.profile-default. Change it by
hand, it will work ok then. E.g.

CPPPATH = ['/usr/local/include','/usr/include/vtk-5.4']

should become

CPPPATH='/usr/local/include:/usr/include/vtk-5.4'

HTH, v.




Follow ups

References