[NumPy-Tickets] [NumPy] #1419: Building Numpy / Scipy on AIX system

NumPy Trac numpy-tickets@scipy....
Fri May 28 02:24:23 CDT 2010


#1419: Building Numpy / Scipy on AIX system
------------------------+---------------------------------------------------
 Reporter:  A_LARAS     |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:  1.4.1   
Component:  numpy.core  |     Version:  1.4.0   
 Keywords:  AIX,        |  
------------------------+---------------------------------------------------

Comment(by gdrapala):

 I was able to build numpy on AIX 5.3 with gcc using a gcc-compiled version
 of Python 2.6.  Initially, I needed to learn to mind the CC and CXX
 environment variables as they take precedence over the values in
 /path/to/python/lib/python2.X/config/Makefile.  Then gcc had a problem
 linking the math library by default (ERROR: Undefined symbol: .exp), so I
 set CC="gcc -pthread -lm", for lack of a more general solution.  Next, I
 edited the same Makefile to change Modules/python.exp to a full path, and
 the ld_so_aix file to modify the second CCOPT line to be:

 CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -Wl,-brtl -Wl,-bnortllib -lm
 -lbsd -o $objfile"

 Finally, see numpy issue #1496.  Hope that helps.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1419#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list