On 2006-11-27 22:23-0500 Hazen Babcock wrote: > > On Nov 27, 2006, at 4:04 PM, Werner Smekal wrote: > >> Hi Hazen, >> >> I tried to turn off the svg driver here in Windows with - >> DPLD_svg=ON. Cmake lists the drivers, it gets compiled, but doesn't >> show up in the driver list in the examples. >> >> Any ideas? > > That is a bit puzzling. I used ccmake to enable the svg driver rather > than the command line switch, but I don't think that that should make > any difference. It doesn't have any dependencies so you can't be > missing anything. Did you notice whether it got compiled at the make > stage?
While investigating this I have found an error on Linux with svg.c which might not be related, but which should still be fixed first so I can investigate Werner's issue more closely. It struck me that Werner tests on windows where ENABLE_DYNDRIVERS must be set to OFF so I tried that on Debian stable.... cmake -DCMAKE_INSTALL_PREFIX=/home/software/plplot_cvs/installcmake -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_java=OFF -DENABLE_DYNDRIVERS=OFF -DPLD_svg=ON ../plplot_cmake All seemed well. I then built with that configuration, and svg.o was built, but an error showed up when linking libplplotd.so.9.2.1 (which necessarily for this case [ENABLE_DYNDRIVERS=OFF] includes all the code for all the device drivers). (note the following is a poorly wrapped error message from a very long linking command for libplplotd.so.9.2.1, but you should get the idea) CMakeFiles/plplotd.dir/home/software/plplot_cvs/HEAD/plplot_cmake/drivers/svg.o( .text+0x7a3): In function proc_str': : multiple definition of proc_str' CMakeFiles/plplotd.dir/home/software/plplot_cvs/HEAD/plplot_cmake/drivers/gcw.o( .text+0x1940): first defined here /usr/bin/ld: Warning: size of symbol proc_str' changed from 2592 in CMakeFiles/ plplotd.dir/home/software/plplot_cvs/HEAD/plplot_cmake/drivers/gcw.o to 1552 in CMakeFiles/plplotd.dir/home/software/plplot_cvs/HEAD/plplot_cmake/drivers/svg.o So gcw.c and svg.c have a name clash that affects the case when gcw.o and svg.o are in the same library. Hazen, can you fix this name clash? I doubt this error will affect either you or Werner since I don't think either of your platforms are currently capable of building -dev gcw (tons of library dependencies), but once this issue is fixed on Linux, I can at least look further to see whether I get the same symptoms as Werner for the ENABLE_DYNDRIVERS=OFF case. Thanks in advance. 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