pgplot+Kubuntu+/XWINDOW /XSERVE
Hello. I've been using Ifeffit+horae (VERY GOOD) stuff for a while on my previous Mandrake linux distro. I've changed to Kubuntu now. I have difficulties to install everything on this new laptop. [Please be aware that I use Linux for quite some time now but still consider myself as an "everyday beginner"] I'm stuck at the installation of PGPLOT. I've tried then to install from Mat's PGPLOT_install script but ran into the same kind of error. Here it is: -if I try to install without any driver but the /NULL one, this what it tells: g77 -fno-backslash -o pgdemo1 /usr/local/src/pgplot/examples/pgdemo1.f -L`pwd` -lpgplot -L/usr/X11R6/lib -lX11 /usr/bin/ld: ne peut trouver -lX11 collect2: ld a retourné 1 code d'état d'exécution - if I try with the /XWINDOW and /XSERVE: gcc -c -Wall -fPIC -DPG_PPU -O -I. -I/usr/X11R6/include /usr/local/src/pgplot/drivers/xwdriv.c /usr/local/src/pgplot/drivers/xwdriv.c:127:21: erreur: X11/Xos.h : Aucun fichier ou répertoire de ce type /usr/local/src/pgplot/drivers/xwdriv.c:128:22: erreur: X11/Xlib.h : Aucun fichier ou répertoire de ce type /usr/local/src/pgplot/drivers/xwdriv.c:129:23: erreur: X11/Xutil.h : Aucun fichier ou répertoire de ce type /usr/local/src/pgplot/drivers/xwdriv.c:130:24: erreur: X11/keysym.h : Aucun fichier ou répertoire de ce type /usr/local/src/pgplot/drivers/xwdriv.c:131:23: erreur: X11/Xatom.h : Aucun fichier ou répertoire de ce type ... make: *** [xwdriv.o] Erreur 1 Let me add that my examples here are taken from an installation from the PGPLOT source, but I would have the same kind of error messages with Mat's script. In my long struggle I remember I had PGPLOT installed and working correctly (i.e. the demo would work) but without /XWINDOW neither /XSERVE. If I remember well, at that time my desperate attempt had been to delete "|X11" from a LIBS line in the make file. But of course, following up to the installation of horae, I could not have the plotting interface in athena/artemis. I read somewhere that Bruce had some Kubuntus running some where. Maybe somebody else? Did you face this kind of difficulties. Thanks for any kind of advice and please feel free to ask any additional information needed. Cheers denis ps: I'm not a 64 bit linux.
On Monday 20 February 2006 23:48, Denis Testemale wrote:
I've been using Ifeffit+horae (VERY GOOD) stuff for a while on my previous Mandrake linux distro. I've changed to Kubuntu now. I have difficulties to install everything on this new laptop. [Please be aware that I use Linux for quite some time now but still consider myself as an "everyday beginner"]
I'm stuck at the installation of PGPLOT. I've tried then to install from Mat's PGPLOT_install script but ran into the same kind of error. Here it is:
Kubuntu is debian-based and, I think, can use any debian repository. So I think you should be able to use Carlo's debian repository to install the software. Just point kynoptic at the repositories mentioned here: http://cars9.uchicago.edu/~ravel/software/downloads.html#debian Hope that helps, B -- Bruce Ravel ---------------------------------------------- bravel@anl.gov Molecular Environmental Science Group, Building 203, Room E-165 MRCAT, Sector 10, Advanced Photon Source, Building 433, Room B007 Argonne National Laboratory phone and voice mail: (1) 630 252 5033 Argonne IL 60439, USA fax: (1) 630 252 9793 My homepage: http://cars9.uchicago.edu/~ravel EXAFS software: http://cars9.uchicago.edu/~ravel/software/
Dear denis: Since Kubuntu is based on Debian, you should be able to use the bianry debian packages I have made for ifeffit, horae, etc. pgplot5 is also available in debian. I don't want to put too much traffic on the list but if you wish to get more detail, just email me. Carlo On Tue, 21 Feb 2006, Denis Testemale wrote:
Hello.
I've been using Ifeffit+horae (VERY GOOD) stuff for a while on my previous Mandrake linux distro. I've changed to Kubuntu now. I have difficulties to install everything on this new laptop. [Please be aware that I use Linux for quite some time now but still consider myself as an "everyday beginner"]
I'm stuck at the installation of PGPLOT. I've tried then to install from Mat's PGPLOT_install script but ran into the same kind of error. Here it is:
-if I try to install without any driver but the /NULL one, this what it tells:
g77 -fno-backslash -o pgdemo1 /usr/local/src/pgplot/examples/pgdemo1.f -L`pwd` -lpgplot -L/usr/X11R6/lib -lX11 /usr/bin/ld: ne peut trouver -lX11 collect2: ld a retourné 1 code d'état d'exécution
- if I try with the /XWINDOW and /XSERVE:
gcc -c -Wall -fPIC -DPG_PPU -O -I. -I/usr/X11R6/include /usr/local/src/pgplot/drivers/xwdriv.c /usr/local/src/pgplot/drivers/xwdriv.c:127:21: erreur: X11/Xos.h : Aucun fichier ou répertoire de ce type /usr/local/src/pgplot/drivers/xwdriv.c:128:22: erreur: X11/Xlib.h : Aucun fichier ou répertoire de ce type /usr/local/src/pgplot/drivers/xwdriv.c:129:23: erreur: X11/Xutil.h : Aucun fichier ou répertoire de ce type /usr/local/src/pgplot/drivers/xwdriv.c:130:24: erreur: X11/keysym.h : Aucun fichier ou répertoire de ce type /usr/local/src/pgplot/drivers/xwdriv.c:131:23: erreur: X11/Xatom.h : Aucun fichier ou répertoire de ce type
...
make: *** [xwdriv.o] Erreur 1
Let me add that my examples here are taken from an installation from the PGPLOT source, but I would have the same kind of error messages with Mat's script.
In my long struggle I remember I had PGPLOT installed and working correctly (i.e. the demo would work) but without /XWINDOW neither /XSERVE. If I remember well, at that time my desperate attempt had been to delete "|X11" from a LIBS line in the make file. But of course, following up to the installation of horae, I could not have the plotting interface in athena/artemis.
I read somewhere that Bruce had some Kubuntus running some where. Maybe somebody else? Did you face this kind of difficulties.
Thanks for any kind of advice and please feel free to ask any additional information needed.
Cheers denis
ps: I'm not a 64 bit linux.
_______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit
-- Carlo U. Segre -- Professor of Physics Associate Dean for Special Projects, Graduate College Illinois Institute of Technology Voice: 312.567.3498 Fax: 312.567.3494 Carlo.Segre@iit.edu http://www.iit.edu/~segre
Denis, I think you will need to do is figure out where libX11.a and libX11.so live. It's probably in /usr/X**/lib/libX11.a -- that is, there is probably some X windows directory under /usr, it may be 'X11', 'X11R6', 'Xorg', .... or something. Once you find this, you have a few options: you could edit the makefile generated by PGPLOT_install or do a more manual install of PGPLOT. A simpler approach would be to make a symbolic link so that '/usr/X11R6/lib/' was the directory for libX11.a and libX11.so, probably something like ln -s /usr/Xorg /usr/X11R6 and then PGPLOT_install should work as is. Please let me know what you find. Right now, PGPLOT_install looks for '/usr/X11' and '/usr/X11R6' and for the 64bit variations. It would not be hard to add other locations. --Matt
participants (4)
-
Bruce Ravel
-
Carlo Segre
-
Denis Testemale
-
Matt Newville