[Numpy-discussion] Error during scipy.fftpack._fftpack compilation ( AIX/cc_r)

Robert Kern robert.kern@gmail....
Mon Jan 28 11:03:58 CST 2008


Hans-Joachim Ehlers wrote:
> Given:
> AIX 5.3
> xlc v8
> xlf v10
> 
> During the build scipy the following error shows up:
> 
> .....
> building 'scipy.fftpack._fftpack' extension
> compiling C sources
> C compiler: cc_r -DNDEBUG -O2 -qmaxmem=-1
> ...
> "scipy/fftpack/src/zfftnd_fftpack.c", line 92.5: 1506-046 (S) Syntax error.
> "scipy/fftpack/src/zfftnd_fftpack.c", line 93.5: 1506-046 (S) Syntax error.
> "scipy/fftpack/src/zfftnd_fftpack.c", line 115.13: 1506-046 (S) Syntax error.
> error: Command "cc_r -DNDEBUG -O2 -qmaxmem=-1 -Ibuild/src.aix-5.3-2.5 -I/usr/local/lib/python2.5/site-packages/numpy/core/include -I/usr/local/include/python2.5 -c scipy/fftpack/src/zfftnd.c -o build/temp.aix-5.3-2.5/scipy/fftpack/src/zfftnd.o" failed with exit status 1
> ....
> 
> The problem comes from C++ comment lines within c-code. The IBM Compiler v8 invoked as cc_r will complain and stop compilation.
> 
> Solution:
> 1) Remove C++ comments from source code 

Fixed in SVN. Thank you.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco


More information about the Numpy-discussion mailing list