From: Alan W. I. <ai...@us...> - 2003-11-12 19:57:35
|
On 2003-11-12 18:32+0100 Frank Ollig wrote: > Hello, > > when I try to configure/make plplot-5.2.1 I find a warning that > there is a problem with prerequisite headers. > > > configure: WARNING: itclDecls.h: present but cannot be compiled > configure: WARNING: itclDecls.h: check for missing prerequisite headers? > configure: WARNING: itclDecls.h: proceeding with the preprocessor's result > configure: WARNING: ## ------------------------------------ ## > configure: WARNING: ## Report this to bug...@gn.... ## > configure: WARNING: ## ------------------------------------ ## That's a warning that I believe everybody gets, and it seems to have no consequences. Unfortunatly, we haven't yet found the required configure.ac, sysloc.in, or acinclude.m4 change that will get rid of this warning message. > > > As I was told from bug...@gn..., that this is not a bug in autoconf > but because of a recent incompatible change in autoconf that requires > the configure.ac file to be updated. We'd sure like to know how. > > Unfortunately I was not able to find the prerequisite headers, so I > would be happy if you could help me how to make this work. It's a usual > SuSE 8.2 Linux and the downloaded plplot-5.2.1 package. > autoconf (GNU Autoconf) 2.57 > automake (GNU automake) 1.7.2 > gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux) The 5.2.1 tarball and the latest cvs snapshot tarball available at http://people.debian.org/~rafael/plplot.html were built with a particular set of autoconf, automake, and libtool versions that work (except for the above warning message with no known consequences) for us. To take advantage of this tested set of autotools versions do not execute bootstrap.sh. Instead, simply use the normal configure; make; make install sequence. If you have lots of autotools expertise (or only have access to raw cvs) then you will want to use bootstrap.sh, but otherwise avoid it if you have access to a tarball. > > > Some more output (selected parts) I didn't spot anything unusual until: > gcc -g -O2 -mieee-fp -o .libs/plserver plserver.o ../tcl/.libs/libplplottcltkd.so -litcl3.3 -litk3.3 -ltk8.4 > /home/follig/try/plplot-5.2.1/src/.libs/libplplotd.so /usr/lib/libfreetype.so > /home/follig/try/plplot-5.2.1/lib/csa/.libs/libcsa.so -lm -ldl > /home/follig/try/plplot-5.2.1/bindings/tcl/.libs/libtclmatrixd.so -ltcl8.4 -Wl,--rpath -Wl,/usr/local/lib > /home/follig/try/plplot-5.2.1/lib/csa/.libs/libcsa.so: undefined reference to `errno' > collect2: ld returned 1 exit status I wonder if that error might be a result of a libcsa header problem. You didn't include the libcsa part of your make output. Please do so. We would be particularly interested if there was a compiler warning or error for libcsa. See yesterday's thread at http://sourceforge.net/mailarchive/forum.php?thread_id=3438434&forum_id=4474 for a possible fix to the libcsa header problem that occurs on some platforms. Your problem might also be due to a nameclash for libcsa. We have now addressed that issue in cvs, and you can get access to the latest cvs snapshot results in tarball form built with tested versions of the autotools at http://people.debian.org/~rafael/plplot.html. Please let us know your results for that latest tarball. 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 PLplot scientific plotting software package (plplot.org), the Yorick front-end to PLplot (yplot.sf.net), the Loads of Linux Links project (loll.sf.net), and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |