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

David M. Cooke cookedm at physics.mcmaster.ca
Sun Apr 22 17:19:19 EDT 2007


On Apr 21, 2007, at 09:03 , Christian Marquardt wrote:

> Yes,
>
> that worked - many thanks!

FWIW, svn should work out of the box now.

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

-- 
|>|\/|<
/------------------------------------------------------------------\
|David M. Cooke              http://arbutus.physics.mcmaster.ca/dmc/
|cookedm at physics.mcmaster.ca

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20070422/7794af6f/attachment.sig>


More information about the NumPy-Discussion mailing list