← Back to team overview

yade-users team mailing list archive

Re: Compilation problem on Power5 AIX cluster

 

> AttributeError: 'NoneType' object has no attribute 'split':
>   File "/opt/yade/SConstruct", line 331:
>     ok=(conf.CheckPython() and conf.CheckIPython() and
> CheckLib_maybeMT(conf,'boost_python','boost/python.hpp','c++','boost::python::scope();')
> and conf.CheckCXXHeader(['Python.h','numpy/ndarrayobject.h'],'<>'))
>   File "/opt/freeware/lib/scons-1.2.0/SCons/SConf.py", line 636:
>     ret = apply(self.test, (context,) +  args, kw)
>   File "/opt/yade/SConstruct", line 255:
> context.env.Append(CPPPATH=ds.get_python_inc(),LIBS=ds.get_config_var('LIBS').split())
> Checking for Python development files...
> 
> If you could tell me something I'll be very thankful.

OK, it seems that your python installation is weird... can you run this
in the shell, please

python -c 'import distutils.sysconfig,pprint; pprint.pprint(distutils.sysconfig.get_config_vars())' > /tmp/somefile

and send the /tmp/somefile as attachment?

In r1746, we handle empty LIBS now, but I am not sure whether other
distutils attributes can be affected as well. Maybe it will fix your
problem and maybe not.

HTH, Vaclav




References