Dnia poniedziałek 07 lipiec 2008, [EMAIL PROTECTED] napisał:
> > > >   File "/home/marek/tmp/numpy-1.1.0/numpy/distutils/ccompiler.py",
> > > > line 303, in CCompiler_cxx_compiler
> > > >     + cxx.linker_so[2:]
> > > > TypeError: can only concatenate list (not "str") to list
> > >
> > > Just by reading at the code, the line
> > >
> > > [cxx.linker_so[0]] + cxx.compiler_cxx[0] + cxx.linker_so[2:]
> > >
> > > Cannot work unless cxx.compiler_cxx is a nested list. Since AIX is not
> > > that common, it is well possible that this mistake was hidden for a
> > > long time. So I would first try something like:
> > >
> > > cxx.linker_so = [cxx.linker_so[0], cxx.compiler_cxx[0]]
> >
> > +cxx.linker_so[2:]
> >

Please apply also the above bugfix to trunk and numpy-1.1, i.e. change

cxx.linker_so = [cxx.linker_so[0]] + cxx.compiler_cxx[0] + cxx.linker_so[2:] 

to

cxx.linker_so = [cxx.linker_so[0], cxx.compiler_cxx[0]] + cxx.linker_so[2:]

in line 303 of cccompiler.py in distutils.

Greetings,
-- 
Marek Wojciechowski
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to