[SciPy-user] SUSe 64 bit

Nikos Papagrigoriou papagr-lists at freemail.gr
Fri Apr 22 05:46:33 CDT 2005


Hello,

I have managed to successfully compile Scipy 0.3.2 for SuSE 9.1 64bit.
I am using the statistical functions and it seems to work.

Where should I upload the rpm file? Do you want an email with the file 
attached? It is 1MB in size.

Jarmila Bohmanova wrote:
> Does anybody has an experience with SciPy on SUSe 9.1 64 bit?
> 
> When I try to import scipy it gives me:
> 
>  File "<stdin>", line 1, in ?
> 
>   File "/usr/lib64/python2.3/site-packages/PIL/__init__.py", line 11, in ?
> 
>    
> 
>   File "/usr/lib64/python2.3/site-packages/scipy_base/__init__.py", line 
> 16, in ?
> 
>     import fastumath  # no need to use scipy_base.fastumath
> 
> ImportError: /usr/lib64/python2.3/site-packages/scipy_base/fastumath.so: 
> cannot open shared object file: No such file or directory
> 
> 
> I also tried to recompile setup_scipy_base.py
> 
> ‘python setup_scipy_base.py install’
> 
> But I got another error message:
> 
> package init file 
> '/usr/lib64/python2.3/site-packages/scipy_base/tests/__init__.py' not 
> found (or not a regular file)
> 
> package init file 
> '/usr/lib64/python2.3/site-packages/scipy_base/tests/__init__.py' not 
> found (or not a regular file)
> 
> running build_ext
> 
> customize UnixCCompiler
> 
> customize UnixCCompiler using build_ext
> 
> building 'scipy_base.display_test' extension
> 
> compiling C sources
> 
> gcc options: '-pthread -fno-strict-aliasing -DNDEBUG 
> -DHAVE_LARGEFILE_SUPPORT -O2 -fmessage-length=0 -Wall -fPIC'
> 
> compile options: '-DHAVE_X11 -I/usr/X11R6/include 
> -I/usr/include/python2.3 -c'
> 
> gcc: /usr/lib64/python2.3/site-packages/scipy_base/src/display_test.c
> 
> /usr/lib64/python2.3/site-packages/scipy_base/src/display_test.c:65: 
> warning: initialization from incompatible pointer type
> 
> gcc -pthread -shared 
> build/temp.linux-x86_64-2.3/usr/lib64/python2.3/site-packages/scipy_base/src/display_test.o 
> -L/usr/X11R6/lib -lX11 -o 
> build/lib.linux-x86_64-2.3/scipy_base/display_test.so
> 
> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: 
> skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
> 
> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: 
> skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11
> 
> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: 
> cannot find -lX11
> 
> collect2: ld returned 1 exit status
> 
> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: 
> skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
> 
> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: 
> skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11
> 
> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: 
> cannot find -lX11
> 
> collect2: ld returned 1 exit status
> 
> error: Command "gcc -pthread -shared 
> build/temp.linux-x86_64-2.3/usr/lib64/python2.3/site-packages/scipy_base/src/display_test.o 
> -L/usr/X11R6/lib -lX11 -o 
> build/lib.linux-x86_64-2.3/scipy_base/display_test.so" failed with exit 
> status 1
> 
> Jarmila.
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user





More information about the SciPy-user mailing list