|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Novell Archives Archived content from Novell openSUSE support forums |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
When I try to build numpy on a x86_64 machne using openSUSE10.2 I get
.... C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC creating build/temp.linux-x86_64-2.5/numpy/core/blasdot compile options: '-DNO_ATLAS_INFO=1 -Inumpy/core/blasdot -Inumpy/core/include -Ibuild/src.linux-x86_64-2.5/numpy/core -Inumpy/core/src -Inumpy/core/include -I/usr/include/python2.5 -c' gcc: numpy/core/blasdot/_dotblas.c /usr/bin/g77 -g -Wall -shared build/temp.linux-x86_64-2.5/numpy/core/blasdot/_dotblas.o -L/usr/lib64 -L/usr/lib/python2.5/config -lblas -lpython2.5 -lg2c -o build/lib.linux-x86_64-2.5/numpy/core/_dotblas.so /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lgcc_s /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lgcc_s error: Command "/usr/bin/g77 -g -Wall -shared build/temp.linux-x86_64-2.5/numpy/core/blasdot/_dotblas.o -L/usr/lib64 -L/usr/lib/python2.5/config -lblas -lpython2.5 -lg2c -o build/lib.linux-x86_64-2.5/numpy/core/_dotblas.so" failed with exit status 1 Any pointer how to resolve this problem is appreciated. Nils |
|
|||
|
nwagner@iam.uni-stuttgart.de wrote:
> When I try to build numpy on a x86_64 machne using openSUSE10.2 I get > > ... > C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 > -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC > > creating build/temp.linux-x86_64-2.5/numpy/core/blasdot > compile options: '-DNO_ATLAS_INFO=1 -Inumpy/core/blasdot > -Inumpy/core/include -Ibuild/src.linux-x86_64-2.5/numpy/core > -Inumpy/core/src -Inumpy/core/include -I/usr/include/python2.5 -c' > gcc: numpy/core/blasdot/_dotblas.c > /usr/bin/g77 -g -Wall -shared > build/temp.linux-x86_64-2.5/numpy/core/blasdot/_dotblas.o -L/usr/lib64 > -L/usr/lib/python2.5/config -lblas -lpython2.5 -lg2c -o > build/lib.linux-x86_64-2.5/numpy/core/_dotblas.so > /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: > cannot find -lgcc_s > /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: > cannot find -lgcc_s > error: Command "/usr/bin/g77 -g -Wall -shared > build/temp.linux-x86_64-2.5/numpy/core/blasdot/_dotblas.o -L/usr/lib64 > -L/usr/lib/python2.5/config -lblas -lpython2.5 -lg2c -o > build/lib.linux-x86_64-2.5/numpy/core/_dotblas.so" failed with exit status > 1 > > Any pointer how to resolve this problem is appreciated. The problem is that there is no g77 coming with gcc-4.1.3. Gcc-4.x has switched to gfortran. The g77 package coming with SUSE is based on gcc-3.3.5 and SUSE missed to pack the libgcc_s from gcc-3.3.5 into the g77 package. The best solution would be to make numpy using gfortran instead of g77. But that may need a lot of porting work. The other workaround is to get a libgcc_s from a complete gcc-3.3.5 installation ( IIRC SUSE-9.3 used gcc-3.3.5 as system compiler) an copy it into /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5 |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|