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

David M. Cooke cookedm at physics.mcmaster.ca
Thu Apr 19 16:38:12 EDT 2007


-----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-----



More information about the NumPy-Discussion mailing list