From: <zo...@eu...> - 2003-12-23 21:21:55
|
Dear PLPlot developers, I'm assembling a "complete" source distribution for PDL (pdl.perl.org); we're about to issue an incremental release (2.4.1). I'd like to include the PLPlot source in the distribution, but I've run into several problems compiling both 5.1.0 and 5.2.1 on a fairly standard Red Hat 9 system. 5.1.0 with "./configure; make; make install" seems to put all of its compiled files into subdirectories of /usr/local/bin/ (e.g. /usr/local/bin/bin/ and /usr/local/bin/share/) instead of /usr/local/. 5.2.1 won't compile at all. Here's a cut and paste of the configure output and the results from make. Configure and make results are cut-and-pasted below. Any suggestions for what instructions I should include for better compilation? I'd like to include the PLPlot source in this bundle if it can be made to compile and install cleanly... Cheers, Craig ====================================================================== Configure results: command: ./configure --with-double system: i686-pc-linux-gnu have_x: yes prefix: /usr/local CC: gcc CXX: g++ F77: g77 LIB_TAG: d devices: dg300 png jpeg hp7470 hp7580 lj_hpgl imp ljii ljiip mem ntk null pbm plmeta ps psc pstex xterm tek4010 tek4107 mskermit versaterm vlt conex tek4010f tek4107f tk xfig xwin Available device drivers: static: dynamic: dg300.la gd.la hpgl.la impress.la ljii.la ljiip.la mem.la ntk.la null.la pbm.la plmeta.la ps.la pstex.la tek.la tk.la xfig.la xwin.la Compilation options: with_debug: no with_opt: yes with_warn: no with_profile: no Library options: enable_shared: yes enable_static: yes with_rpath: yes with_double: yes Optional libraries: with_qhull: no with_csa: yes with_freetype: yes with_pthreads: no Language Bindings: enable_tcl: yes enable_itcl: yes enable_cxx: yes enable_f77: yes enable_java: no enable_python: no enable_octave: yes ====================================================================== Make output: ... make[3]: Entering directory `/usr/local/build/plplot-5.2.1/bindings/tk' /bin/sh ../../libtool --mode=link gcc -g -O2 -mieee-fp -o plserver -rpath /usr/local/lib -no-undefined plserver.o ../tcl/libplplottcltkd.la gcc -g -O2 -mieee-fp -o .libs/plserver plserver.o ../tcl/.libs/libplplottcltkd.so -litcl3.2 -litk3.2 -ltk8.3 /usr/local/build/plplot-5.2.1/src/.libs/libplplotd.so /usr/lib/libfreetype.so /usr/local/build/plplot-5.2.1/lib/csa/.libs/libcsa.so -lm -ldl /usr/local/build/plplot-5.2.1/bindings/tcl/.libs/libtclmatrixd.so -ltcl8.3 -Wl,--rpath -Wl,/usr/local/lib /usr/local/build/plplot-5.2.1/lib/csa/.libs/libcsa.so: undefined reference to `errno' collect2: ld returned 1 exit status make[3]: *** [plserver] Error 1 make[3]: Leaving directory `/usr/local/build/plplot-5.2.1/bindings/tk' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/build/plplot-5.2.1/bindings' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/build/plplot-5.2.1' make: *** [all] Error 2 |