On 2007-03-20 11:22-0400 Miguel de Val Borro wrote: > Hi Alan, > > I have changed config.h.cmake and cmake/modules/drivers-init.cmake in the > CVS version of PLplot. > > --- config.h.cmake 17 Mar 2007 02:24:06 -0000 1.15 > +++ config.h.cmake 20 Mar 2007 15:05:32 -0000 > @@ -229,6 +229,9 @@ > /* Define if ps driver is present */ > #cmakedefine PLD_ps > > +/* Define if pstex driver is present */ > +#cmakedefine PLD_pstex > + > /* Define if psttf driver is present */ > #cmakedefine PLD_psttf > > --- cmake/modules/drivers-init.cmake 19 Mar 2007 02:05:43 -0000 1.19 > +++ cmake/modules/drivers-init.cmake 20 Mar 2007 15:05:56 -0000 > @@ -91,6 +91,7 @@ > "pdf:pdf:OFF" > "plmeta:plmeta:ON" > "ps:ps:ON" > +"pstex:pstex:ON" > "psttf:psttf:ON" > "xterm:tek:OFF" "tek4010:tek:OFF" "tek4107:tek:OFF" "mskermit:tek:OFF" > "versaterm:tek:OFF" "vlt:tek:OFF" "conex:tek:OFF" "tek4010f:tek:OFF"
Now I understand why you didn't have to change more files. According to drivers/README.drivers you need to change 5 files, but the changes already exist for pstex in the last 3 files so the above two file changes should be sufficient. > > Then building the pstex driver gives this error: > > Scanning dependencies of target pstex > [ 59%] Building C object drivers/CMakeFiles/pstex.dir/pstex.o > Linking C shared module pstex.so > Could not open driver module pstex > libltdl error: /home/miguel/src/plplot_build/drivers/pstex.so: undefined > symbol: plD_polyline_ps > make[2]: *** [drivers/pstex.so] Error 1 > make[1]: *** [drivers/CMakeFiles/pstex.dir/all] Error 2 > make: *** [all] Error 2 > > I will look into this but the ps and psttf drivers are OK for me. If you want to pursue this further, you will get more complete context to this error message (i.e., you will actually get the command that failed, and thus be able to run/debug that command by hand) if you use the cmake option -DCMAKE_VERBOSE_MAKEFILE=ON. Also, the problem may be that internally the pstex.c code is not ready for being used with our default dynamic device mode. I suggest trying the cmake option -DENABLE_DYNDRIVERS=OFF (which integrates all devices into our C library in the old-fashioned way rather than making them individual plug-ins that are dynamically loaded by our C library) to see whether pstex will build and run in that case. > > I have two updates for the PLplot web page. The LaTeX drivers are mentioned > twice in the front page but they are disabled in the latest stable release. > Also the reference to PLplot Debian packages in resources/index.html can > be updated. There is PLplot 5.3.1 in Debian Sarge and 5.6.1 in Etch and Sid. Thanks for those suggestions. It often takes a fresh eye like yours to spot such issues. Hazen, would you be willing to implement these minor website changes? (I am completely tied up with the subversion conversion at the moment.) Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); 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 __________________________ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel