[NumPy-Tickets] [NumPy] #1725: Solaris Numpy/SciPy distutils problem

NumPy Trac numpy-tickets@scipy....
Thu Jan 27 20:40:37 CST 2011


#1725: Solaris Numpy/SciPy distutils problem
------------------------------+---------------------------------------------
 Reporter:  megamic           |       Owner:  cdavid
     Type:  defect            |      Status:  new   
 Priority:  normal            |   Milestone:  2.0.0 
Component:  numpy.distutils   |     Version:  1.5.0 
 Keywords:  numpy, distutils  |  
------------------------------+---------------------------------------------
 When trying to build SciPy on Solaris using the Sun Studio compiler, the
 following error occurs:

 {{{
 compile options: '-Iscipy/ndimage/src -I/opt/local/contrib/lib/python2.7
 /site-packages/numpy/core/include -I/opt/local/contrib/lib/python2.7/site-
 packages/numpy/core/include -I/opt/local/contrib/include/python2.7 -c'
 extra options: '-Wall'
 cc: scipy/ndimage/src/ni_support.c
 cc: illegal option -Wall
 cc: illegal option -Wall
 }}}

 The problem of course is that -Wall is not accepted by the compiler, but
 there seems to be no way to deactivate it.

 One way of getting around the problem is by disabling the extra options in
 distutils/ccompiler.py in the numpy distro, e.g.

 {{{
     if extra_postargs:
         display += "\nextra options: '%s'" %(''.join(extra_postargs))
 }}}

 To:

 {{{
     if extra_postargs:
         extra_postargs = []
         display += "\nextra options: '%s'" %(''.join(extra_postargs))
 }}}

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1725>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list