From: Alan W. I. <ir...@be...> - 2003-02-01 20:14:36
|
On Wed, 29 Jan 2003, Joao Cardoso wrote: > On Tuesday 28 January 2003 23:59, Doug Hunt wrote: > > Hi all: I have been using plplot 5.1 for some time. I just downloaded > > > > 5.2.0 and ran into this: > > > ./configure --with-double --prefix=/ops/tools > > > make > > > > ... > > > > gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../bindings/tcl > > -I../bindings/tk -I../bindings//tk-x-plat -I/usr/X11R6/include -g -O2 > > -MT matrixInit.lo -MD -MP -MF .deps/matrixInit.Tpo -c > > ../bindings/tcl/matrixInit.c -o matrixInit.o >/dev/null 2>&1 > > mv -f .libs/matrixInit.lo matrixInit.lo > > make[1]: *** No rule to make target `dg300d.lo', needed by > > `libplplotdrv.la'. Stop. > > make[1]: Leaving directory `/home/huntd/src/plplot-5.2.0/drivers' > > make: *** [all-recursive] Error 1 > > Hi, Doug > > I confirm your report on my SuSE-8.1. In fact the combination of --with-double and static drivers fails on all platforms that I tested (RH 8.0 and Debian)! Default configure (which corresponds to single and static drivers) works fine so that is why we have been having relatively few (compared to ~3000 downloads) reports on this. Turned out it was one of those 'obvious' errors. The STATIC_DRIVERS list is a list of libtool compiled objects (*.lo) files, and of course there should be no $LIB_TAG on the name since those aren't shared objects and ultimately they become part of libplplot[d].so.5.2.0 As soon as I dropped $LIB_TAG from the STATIC_DRIVERS names (see recent commit of configure.ac) static drivers worked fine with either single or double. (They worked fine before for PLplot-5.2.0 in the single case because $LIB_TAG is empty in that case.) In contrast the DYNAMIC_DRIVERS are shared objects (*.la files for libtool) which are installed in the drivers directory. They must have $LIB_TAG as part of the name if you want to be able to have both single and double precision versions of PLplot coexisting at the same time. I believe dropping $LIB_TAG from the names in STATIC_DRIVERS should take care of virtually all the errors that have been reported by the users of PLplot-5.2.0. The only additional user error reports I can recall involve X problems. Joao, did that guy who you answered ever come back with the information you requested? I have a private report of an additional X problem from somone else which I will post to this list separately. 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 __________________________ |