[SciPy-dev] sandbox xplt

Nils Wagner nwagner at iam.uni-stuttgart.de
Thu Sep 21 04:06:46 CDT 2006


pearu at cens.ioc.ee wrote:
>   
>> pearu at cens.ioc.ee wrote:
>>     
>>> On Thu, 21 Sep 2006, Nils Wagner wrote:
>>>
>>>   
>>>       
>>>> Hi all,
>>>>
>>>> I added xplt to the packages in enabled_packages.txt
>>>>
>>>> python setup.py install results in
>>>>
>>>> /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld:
>>>> cannot find -lX11
>>>> collect2: ld returned 1 exit status
>>>>
>>>> locate libX11 yields
>>>>
>>>> /usr/lib/NX/lib/libX11.so.6
>>>> /usr/lib/NX/lib/libX11.so.6.2
>>>> /usr/X11R6/lib/libX11.so.6
>>>> /usr/X11R6/lib/libX11.so.6.2
>>>> /usr/X11R6/lib64/libX11.a
>>>> /usr/X11R6/lib64/libX11.so
>>>> /usr/X11R6/lib64/libX11.so.6
>>>> /usr/X11R6/lib64/libX11.so.6.2
>>>>
>>>>
>>>> How can I fix this problem ?
>>>>         
>
> You need to add /usr/X11R6/lib64 directory to default_x11_lib_dirs list in
> system_info.py, and also update default_x11_include_dirs accordingly.
>
> HTH,
> Pearu
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>   
This is the X11 part of my modified system_info.py

[x11]
library_dirs = /usr/X11R6/lib:/usr/X11R6/lib64
include_dirs = /usr/X11R6/include
 
I have installed numpy from scratch.

python setup.py install

results in

/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld:
cannot find -lX11
collect2: ld returned 1 exit status
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../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.4/Lib/sandbox/xplt/pygist/gistCmodule.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/gist.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/tick.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/tick60.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/engine.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/gtext.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/draw.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/draw0.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/clip.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/gread.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/gcntr.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/hlevel.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/ps.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/cgm.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/eps.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/style.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/xfancy.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/gist/xbasic.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/unix/dir.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/unix/files.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/unix/fpuset.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/unix/pathnm.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/unix/timew.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/unix/uevent.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/unix/ugetc.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/unix/umain.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/unix/usernm.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/unix/slinks.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/colors.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/connect.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/cursors.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/errors.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/events.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/fills.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/fonts.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/images.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/lines.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/pals.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/pwin.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/resource.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/rgbread.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/textout.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/rect.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/clips.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/x11/points.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/all/hash.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/all/hash0.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/all/mm.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/all/alarms.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/all/pstrcpy.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/all/pstrncat.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/all/p595.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/all/bitrev.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/all/bitlrot.o
build/temp.linux-x86_64-2.4/Lib/sandbox/xplt/src/play/all/bitmrot.o
-LLib/sandbox/xplt/. -LLib/sandbox/xplt/src -L/usr/lib
-Lbuild/temp.linux-x86_64-2.4 -lX11 -lm -o
build/lib.linux-x86_64-2.4/scipy/sandbox/xplt/gistC.so" failed with exit
status 1

Am I missing something ?

Nils



More information about the Scipy-dev mailing list