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 __________________________ |