Problem building on BeOS...

Zoo Keeper candiazoo at comcast.net
Fri Jan 2 14:20:01 EST 2004


O.K!  After some tips from you folks, I found that the problem ONLY occurs with
line continuation in "extern" statements.  Works fine for DEFINEs...

Mike

In message <NLhJb.31440$I07.78784 at attbi_s53>, Zoo Keeper wrote:
> For some reason, the Python preprocessing balks on the "\" line continuation
> character.  Any ideas/thoughts?  Is it just that my version of gcc is not
> supported?
> 
> I don't "need" numeric in my current project, but it is a nice package to
> have!
>  Apps that do not need to be compiled install and run fine.  Actually,
> SQLite
> built and installed fine...
> 
> Thanks, in advance.
> 
> Mike
> 
> Python 2.2.2 (#13, Dec  6 2002, 00:42:47)
> [GCC 2.9-beos-991026] on beos5
> 
> $ python setup.py build
> running build
> running build_py
> not copying Lib/ArrayPrinter.py (output up-to-date)
> not copying Lib/LinearAlgebra.py (output up-to-date)
> not copying Lib/MLab.py (output up-to-date)
> not copying Lib/Matrix.py (output up-to-date)
> not copying Lib/Numeric.py (output up-to-date)
> not copying Lib/Precision.py (output up-to-date)
> not copying Lib/RandomArray.py (output up-to-date)
> not copying Lib/UserArray.py (output up-to-date)
> not copying Lib/numeric_version.py (output up-to-date)
> not copying Packages/FFT/Lib/FFT.py (output up-to-date)
> not copying Packages/FFT/Lib/__init__.py (output up-to-date)
> not copying Packages/MA/Lib/MA.py (output up-to-date)
> not copying Packages/MA/Lib/MA_version.py (output up-to-date)
> not copying Packages/MA/Lib/__init__.py (output up-to-date)
> not copying Packages/RNG/Lib/Statistics.py (output up-to-date)
> not copying Packages/RNG/Lib/__init__.py (output up-to-date)
> running build_ext
> building '_numpy' extension
> gcc -DNDEBUG -O -IInclude -IPackages/FFT/Include -IPackages/RNG/Include
> -I/boot/home/config/include/python2.2 -c Src/_numpymodule.c -o
> build/temp.beos-5.0.4-BePC-2.2/_numpymodule.o
> In file included from
> /boot/home/Downloads/Numeric-23.1/Src/_numpymodule.c:4:
> /boot/home/Downloads/Numeric-23.1/Include/Numeric/arrayobject.h:234: stray
> '\'
> in program
> /boot/home/Downloads/Numeric-23.1/Include/Numeric/arrayobject.h:239: stray
> '\'
> in program
> /boot/home/Downloads/Numeric-23.1/Include/Numeric/arrayobject.h:241: stray
> '\'
> in program
> /boot/home/Downloads/Numeric-23.1/Include/Numeric/arrayobject.h:244: stray
> '\'
> in program
> /boot/home/Downloads/Numeric-23.1/Include/Numeric/arrayobject.h:247: stray
> '\'
> in program
> /boot/home/Downloads/Numeric-23.1/Include/Numeric/arrayobject.h:251: stray
> '\'
> in program
> /boot/home/Downloads/Numeric-23.1/Include/Numeric/arrayobject.h:253: stray
> '\'
> in program
> /boot/home/Downloads/Numeric-23.1/Include/Numeric/arrayobject.h:255: stray
> '\'
> in program
> /boot/home/Downloads/Numeric-23.1/Include/Numeric/arrayobject.h:257: stray
> '\'
> in program
> In file included from
> /boot/home/Downloads/Numeric-23.1/Src/_numpymodule.c:6:
> /boot/home/Downloads/Numeric-23.1/Include/Numeric/ufuncobject.h:101: stray
> '\'
> in program
> /boot/home/Downloads/Numeric-23.1/Include/Numeric/ufuncobject.h:103: stray
> '\'
> in program
> error: command 'gcc' failed with exit status 1
> $  
> 





More information about the Python-list mailing list