[Numpy-discussion] Problems building numpy and scipy on AIX

Christian Marquardt christian at marquardt.sc
Sat Apr 21 09:03:57 EDT 2007


Yes,

that worked - many thanks!

  Christian.


On Thu, April 19, 2007 22:38, David M. Cooke wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Christian Marquardt wrote:
>> Dear David,
>>
>> the svn version of numpy does indeed build cleanly on AIX. Many thanks!
>>
>> However, the wrapper problem still exists for the C++ compiler, and
>> shows
>> up when compiling scipy. Now, I *assume* that SciPy is using the
>> distutils
>> as installed by numpy. Do you know where the linker settings for the C++
>> compiler might be overwritten? There are two or three C compiler related
>> python modules in numpy/distutils... Or would you think that this
>> problem
>> is entirely unrelated to the distutils in numpy?
>
> I'm working on a better solution, but the quick fix to your problem is
> to look in numpy/distutils/command/build_ext.py. There are two lines
> that reference self.compiler.linker_so[0]; change those 0s to a 1s, so
> it keeps the ld_so_aix script there when switching the linker.
>
> - --
> |>|\/|<
> /------------------------------------------------------------------\
> |David M. Cooke              http://arbutus.physics.mcmaster.ca/dmc/
> |cookedm at physics.mcmaster.ca
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGJ9MzN9ixZKFWjRQRArNwAKC029wYORk9sm+FShcYKNd0UEcMdgCghHGC
> rjYqtaESdt8zRgZHCDxYbDk=
> =PS30
> -----END PGP SIGNATURE-----
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>





More information about the NumPy-Discussion mailing list