From: Robert S. <ro...@sc...> - 2003-02-24 14:53:12
|
Hi, on a SuSE 7.3 system we see this error while trying to run the x01c example: ----------8<---------- *** PLPLOT ERROR *** Unable to open or allocate memory for font file Program aborted ---------->8---------- Is this a known issue? Do I have to set some environment variables first? Another thing is that on Debian unstable libtool fails: ----------8<---------- make[2]: Entering directory `/home/robert/tmp/plplot-5.2.0/bindings/f77' /bin/sh ../../libtool --mode=compile -c -o strutil.lo `test -f 'strutil.f' || echo './'`strutil.f libtool: unrecognized option `-c' Try `libtool --help' for more information. make[2]: *** [strutil.lo] Error 1 make[2]: Leaving directory `/home/robert/tmp/plplot-5.2.0/bindings/f77' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/robert/tmp/plplot-5.2.0/bindings' make: *** [all-recursive] Error 1 robert@ganymed:~/tmp/plplot-5.2.0> libtool --version ltmain.sh (GNU libtool) 1.4.3 (1.922.2.111 2002/10/23 02:54:36) ----------8<---------- Which version is known to work? This should be put into the FAQ... Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Braunschweiger Str. 79, 31134 Hildesheim, Germany Handelsregister: Amtsgericht Hildesheim, HRA 2686 Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4 |
From: Rafael L. <lab...@ps...> - 2003-02-24 15:19:18
|
* Robert Schwebel <ro...@sc...> [2003-02-24 15:52]: > Another thing is that on Debian unstable libtool fails: If yu are using Debian, you might be interested in the packages (for Debian testing) in: http://plplot.sf.net/resources/ -- Rafael |
From: Robert S. <ro...@sc...> - 2003-02-24 16:34:57
|
On Mon, Feb 24, 2003 at 04:06:36PM +0100, Rafael Laboissiere wrote: > If yu are using Debian, you might be interested in the packages (for Debian > testing) in: > > http://plplot.sf.net/resources/ Good idea, but nevertheless I would like to be able to compile it from scratch. Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Braunschweiger Str. 79, 31134 Hildesheim, Germany Handelsregister: Amtsgericht Hildesheim, HRA 2686 Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4 |
From: Christophe T. <deb...@ti...> - 2003-02-24 17:26:13
|
On Mon, 24 Feb 2003, Rafael Laboissiere <lab...@ps...> wrote: > > If yu are using Debian, you might be interested in the packages (for Debian > testing) in: > http://plplot.sf.net/resources/ I installed them on a testing box with a bit of unstable (¹). All the examples in /usr/share/doc/libplplot5/examples/c/ compile well. However, when I try to execute them and I select the tk driver (other drivers work fine), the tk window does not open well (it stays uniformly gray) and the program then asks Enter device number or keyword (stream 1): even though this is not requested in the source. I have to kill the program. Any idea about what is wrong? Also, why is the xwin driver removed from plplot-tcl ? As I understand it, plplot-tcl is a separate package to allow the use of plplot without depending on tcl/tk. But one may want to use (test with) the xwin driver _and_ the tk driver... Regards, ChriS (¹) dpkg -l iwidgets3.1 itcl3.1 itk3.1 libc6 tcl8.3 tk8.3 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ ii iwidgets3.1 3.1.0-6 [Incr Widgets] OOP Extension for TCL - Run-T ii itcl3.1 3.1.0-6 [Incr Tcl] OOP Extension for TCL - Run-Time ii itk3.1 3.1.0-6 [Incr Tk] OOP Extension for TCL - Run-Time F ii libc6 2.3.1-13 GNU C Library: Shared libraries and Timezone ii tcl8.3 8.3.3-8 The Tool Command Language (TCL) v8.3 - Run-T ii tk8.3 8.3.3-9 The Tk toolkit for TCL and X11 v8.3 - Run-Ti |
From: Rafael L. <lab...@ps...> - 2003-02-24 17:58:19
|
* Christophe TROESTLER <deb...@ti...> [2003-02-24 18:31]: > I installed them on a testing box with a bit of unstable (¹). All the > examples in /usr/share/doc/libplplot5/examples/c/ compile well. > However, when I try to execute them and I select the tk driver (other > drivers work fine), the tk window does not open well (it stays > uniformly gray) and the program then asks > > Enter device number or keyword (stream 1): > > even though this is not requested in the source. I have to kill the > program. Any idea about what is wrong? A question for the other developers: Does this happened with the plplot-5.2.0 tarball? It may be a problem with the PLplot Debian packages only, or a bad combination of packages in your system. > Also, why is the xwin driver removed from plplot-tcl ? As I > understand it, plplot-tcl is a separate package to allow the use of > plplot without depending on tcl/tk. Yes, this is the reason. > But one may want to use (test with) the xwin driver _and_ the tk driver... Just install both plplot-xwin and plplot-tcl. Another question to the developers: does the tk driver needs the xwin driver? If yes, I have to add a dependency field to the Debian package. -- Rafael |
From: Christophe T. <deb...@ti...> - 2003-02-24 19:14:53
|
On Mon, 24 Feb 2003, Rafael Laboissiere <lab...@ps...> wrote: > > A question for the other developers: Does this happened with the > plplot-5.2.0 tarball? No. See below. > > But one may want to use (test with) the xwin driver _and_ the tk driver... > Just install both plplot-xwin and plplot-tcl. Easy indeed. I did not try that because, if my memory serves well, the previous versions of the two packages were mutually exclusive. > Another question to the developers: does the tk driver needs the xwin > driver? If yes, I have to add a dependency field to the Debian package. Yes; installing the xwin driver corrected the problem. BTW, it would be nice to have a Release file in http://plplot.sourceforge.net/resources/debian/ so as to be able to use /etc/apt/preferences to select the repository access policy. Regards, ChriS |
From: Rafael L. <lab...@ps...> - 2003-02-24 21:46:46
|
* Christophe TROESTLER <deb...@ti...> [2003-02-24 20:19]: > On Mon, 24 Feb 2003, Rafael Laboissiere <lab...@ps...> wrote: > > Just install both plplot-xwin and plplot-tcl. > > Easy indeed. I did not try that because, if my memory serves well, > the previous versions of the two packages were mutually exclusive. Thanks to the new dyndriver implementation. > > Another question to the developers: does the tk driver needs the xwin > > driver? If yes, I have to add a dependency field to the Debian package. > > Yes; installing the xwin driver corrected the problem. Thanks. I will fix this. > BTW, it would be nice to have a Release file in > http://plplot.sourceforge.net/resources/debian/ so as to be able to > use /etc/apt/preferences to select the repository access policy. Very good idea. Will be done soon. I will upload today a new set of cvs packages to the apt repository @ SF. The most visible improvement is the inclusion of freetype support for the GD driver. Png and jpeg outputs look great when option "-drvopt text" is given. -- Rafael |
From: <jc...@fe...> - 2003-02-24 19:49:50
|
On Monday 24 February 2003 17:45, Rafael Laboissiere wrote: | * Christophe TROESTLER <deb...@ti...> [2003-02-24 18:31]: ... | Another question to the developers: does the tk driver needs the xwin | driver? Yes. Joao |
From: <jc...@fe...> - 2003-02-24 15:30:27
|
On Monday 24 February 2003 14:52, Robert Schwebel wrote: | Hi, | | on a SuSE 7.3 system we see this error while trying to run the x01c | example: | | ----------8<---------- | *** PLPLOT ERROR *** | Unable to open or allocate memory for font file | Program aborted | ---------->8---------- | | Is this a known issue? Do I have to set some environment variables | first? If you are using the last plplot release you have to "make install" before using it. Joao |
From: Alan W. I. <ir...@be...> - 2003-02-24 16:13:19
|
On Mon, 24 Feb 2003, Robert Schwebel wrote: > Hi, > > on a SuSE 7.3 system we see this error while trying to run the x01c > example: > > ----------8<---------- > *** PLPLOT ERROR *** > Unable to open or allocate memory for font file > Program aborted > ---------->8---------- > > Is this a known issue? Do I have to set some environment variables > first? I must guess here since you have given no details, but you probably tried to use make check which is currently only partially supported. In order for that to work you must run make install first to install data such as fonts and drivers in the configured install location. Probably a cleaner alternative to make check is to run make install, then cd to the *installed* version of examples/c, then make x01c; ./x01c . > > Another thing is that on Debian unstable libtool fails: > > ----------8<---------- > make[2]: Entering directory `/home/robert/tmp/plplot-5.2.0/bindings/f77' > /bin/sh ../../libtool --mode=compile -c -o strutil.lo `test -f > 'strutil.f' || echo './'`strutil.f > libtool: unrecognized option `-c' > Try `libtool --help' for more information. > make[2]: *** [strutil.lo] Error 1 > make[2]: Leaving directory `/home/robert/tmp/plplot-5.2.0/bindings/f77' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/robert/tmp/plplot-5.2.0/bindings' > make: *** [all-recursive] Error 1 > robert@ganymed:~/tmp/plplot-5.2.0> libtool --version > ltmain.sh (GNU libtool) 1.4.3 (1.922.2.111 2002/10/23 02:54:36) > ----------8<---------- > > Which version is known to work? This should be put into the FAQ... For the tarball version you should not run bootstrap.sh since it has already been done for you with the correct autotools versions. Instead, just run configure; make; make install. However, you do need to run bootstrap.sh if you want to use the cvs version of Plplot (now stabilizing for our next release). In that case, you must use the following exact versions of autotools: autoconf-2.57, automake-1.7.2, and libtool-1.4.3. (We have to be careful with autotools versions because those various tools are changing so rapidly with respect to each other and overall.) Your comment about the FAQ is a good one. PLplot-5.2.0 has an enormous number of changes under the hood compared to 5.1.0 (complete driver and library reorganization, changing from autoconf to autotools configuration), but unfortunately there was no time to document these changes, and the documentation is still almost entirely for the 5.1.0 version. For our next release in April, I hope to close this documentation gap a bit, but my time continues to be quite limited so it would be nice to find additional volunteers to help out. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the Canadian Centre for Climate Modelling and Analysis (www.cccma.bc.ec.gc.ca) and the PLplot scientific plotting software package (plplot.org). __________________________ Linux-powered Science __________________________ |
From: Robert S. <ro...@sc...> - 2003-02-24 16:34:02
|
Alan, On Mon, Feb 24, 2003 at 08:11:56AM -0800, Alan W. Irwin wrote: > I must guess here since you have given no details, but you probably > tried to use make check which is currently only partially supported. Hmm, the colleague who tried it just promised that he didn't run 'make check', he just did 'make install' as root. After he changed --prefix= to somewhere else it seems to work now! > For the tarball version you should not run bootstrap.sh since it has already > been done for you with the correct autotools versions. Instead, just run > configure; make; make install. ... which is what I did: robert@ganymed:~/tmp/plplot-5.2.0> ./configure --enable-xwin --enable-ps --enable-xterm --enable-pnm I forgot to mention that I try this with plplot-5.2.0. Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Braunschweiger Str. 79, 31134 Hildesheim, Germany Handelsregister: Amtsgericht Hildesheim, HRA 2686 Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4 |