From: <Han...@sh...> - 2008-01-16 08:28:36
|
Hi Alan, Tried to do it, but still get into problems. 1) Removed the -DPL_DOUBLE=3DNO /scratch/kshri0/cmake-2.4.7/bin/cmake -E cmake_progress_report = /scratch/kshri0/newplplot/download_directory/plplot/build/CMakeFiles 54 [ 54%] Built target get-drv-info make -f drivers/CMakeFiles/gcw_CHECK.dir/build.make = drivers/CMakeFiles/gcw_CHECK.dir/build make[2]: Entering directory = `/scratch/kshri0/newplplot/download_directory/plplot/build' /scratch/kshri0/cmake-2.4.7/bin/cmake -E cmake_progress_report = /scratch/kshri0/newplplot/download_directory/plplot/build/CMakeFiles [ 54%] Generating gcw.rc cd /scratch/kshri0/newplplot/download_directory/plplot/build/drivers && = ./get-drv-info gcw > = /scratch/kshri0/newplplot/download_directory/plplot/build/drivers/gcw.rc Could not open driver module = /scratch/kshri0/newplplot/download_directory/plplot/build/drivers/gcw libltdl error: file not found make[2]: *** [drivers/gcw.rc] Error 1 make[2]: Leaving directory = `/scratch/kshri0/newplplot/download_directory/plplot/build' make[1]: *** [drivers/CMakeFiles/gcw_CHECK.dir/all] Error 2 make[1]: Leaving directory = `/scratch/kshri0/newplplot/download_directory/plplot/build' make: *** [all] Error 2 2) Added option -DPLD_gcw=3DOFF (In fact I am only interested in the = "xwin" and "jpeg" drivers) : /usr/bin/gcc -O2 = -I/scratch/kshri0/newplplot/download_directory/plplot/trunk/include = -I/scratch/kshri0/newplplot/download_directory/plplot/build = -I/scratch/kshri0/newplplot/download_directory/plplot/build/include = -DHAVE_CONFIG_H -o src/CMakeFiles/plplotd.dir/plvect.o -c = /scratch/kshri0/newplplot/download_directory/plplot/trunk/src/plvect.c /scratch/kshri0/cmake-2.4.7/bin/cmake -E cmake_progress_report = /scratch/kshri0/newplplot/download_directory/plplot/build/CMakeFiles 32 [ 45%] Building C object = src/CMakeFiles/plplotd.dir/scratch/kshri0/newplplot/download_directory/pl= plot/trunk/drivers/gd.o /usr/bin/gcc -O2 = -I/scratch/kshri0/newplplot/download_directory/plplot/trunk/include = -I/scratch/kshri0/newplplot/download_directory/plplot/build = -I/scratch/kshri0/newplplot/download_directory/plplot/build/include = -DHAVE_CONFIG_H -I/usr/include -o = src/CMakeFiles/plplotd.dir/scratch/kshri0/newplplot/download_directory/pl= plot/trunk/drivers/gd.o -c = /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c: = In function `plD_state_png': /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c:95= 9: `gdAlphaMax' undeclared (first use in this function) /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c:95= 9: (Each undeclared identifier is reported only once /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c:95= 9: for each function it appears in.) make[2]: *** = [src/CMakeFiles/plplotd.dir/scratch/kshri0/newplplot/download_directory/p= lplot/trunk/drivers/gd.o] Error 1 make[2]: Leaving directory = `/scratch/kshri0/newplplot/download_directory/plplot/build' make[1]: *** [src/CMakeFiles/plplotd.dir/all] Error 2 make[1]: Leaving directory = `/scratch/kshri0/newplplot/download_directory/plplot/build' make: *** [all] Error 2 The "gd" driver I need, so cannot remove that one. 3) Just to make sure, removed -DBUILD_SHARED_LIBS=3DNO : [ 53%] Building C object drivers/CMakeFiles/gd.dir/gd.o /usr/bin/gcc -O2 -Dgd_EXPORTS -fPIC = -I/scratch/kshri0/newplplot/download_directory/plplot/trunk/include = -I/scratch/kshri0/newplplot/download_directory/plplot/build = -I/scratch/kshri0/newplplot/download_directory/plplot/build/include = -DHAVE_CONFIG_H -I/usr/include -o drivers/CMakeFiles/gd.dir/gd.o -c = /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c: = In function `plD_state_png': /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c:95= 9: `gdAlphaMax' undeclared (first use in this function) /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c:95= 9: (Each undeclared identifier is reported only once /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c:95= 9: for each function it appears in.) make[2]: *** [drivers/CMakeFiles/gd.dir/gd.o] Error 1 make[2]: Leaving directory = `/scratch/kshri0/newplplot/download_directory/plplot/build' make[1]: *** [drivers/CMakeFiles/gd.dir/all] Error 2 make[1]: Leaving directory = `/scratch/kshri0/newplplot/download_directory/plplot/build' make: *** [all] Error 2 So now my cmake command looks like : export CC=3D"gcc -O2" export CXX=3D"g++ -O2" export FC=3D"g77 -O2" cmake -DCMAKE_INSTALL_PREFIX=3D/scratch/Plplot = -DCMAKE_VERBOSE_MAKEFILE=3DON \ -DPLD_gcw=3DOFF ../trunk >& cmake.out So very simple. I hope you can give me any more suggestions how to = proceed. I can live with Double precision and shared libraries, so need = to solve that now. Regards and thanks for any help, Hans Rijneke. Shell International Exploration and Production B.V. The Hague, The Netherlands - Trade Register no. 27002688 Address: Kessler Park 1, 2280 GS Rijswijk, The Netherlands (: +31 070 447 2737 *: <mailto:han...@sh...> 6: <http://www.shell.com/eandp-en> Disclaimer of Liability:=20 This message, any attachment and response string are confidential and = may be legally privileged. It is intended only for the use of the = parties to whom it is addressed. If you are not the addressee indicated = in this message please notify the sender immediately by reply email = and destroy this message. All information and attachments remain the property of Shell -----Original Message----- From: plp...@li... [mailto:plp...@li...]On Behalf Of Alan W. Irwin Sent: dinsdag 15 januari 2008 18:32 To: plplot_general Subject: Re: [Plplot-general] Installation problem on Linux RH3 On 2008-01-15 15:57+0100 Han...@sh... wrote: > Hi Alan, >=20 > Finally succeeded getting through our firewalls to download your new=20 > version. The "make" now complains about the next : >=20 > 135 /scratch/kshri0/cmake-2.4.7/bin/cmake -E cmake_progress_report=20 > /scratch/kshri0/newplplot/download_directory/plplot/build/CMakeFiles = 31 > 136 [ 40%] Building C object src/CMakeFiles/plplot.dir/plvect.o > 137 /usr/bin/gcc -O2=20 > -I/scratch/kshri0/newplplot/download_directory/plplot/trunk/include=20 > -I/scratch/kshri0/newplplot/download_directory/plplot/b uild=20 > -I/scratch/kshri0/newplplot/download_directory/plplot/build/include=20 > -DHAVE_CONFIG_H -o src/CMakeFiles/plplot.dir/plvect.o -c /scratc=20 > h/kshri0/newplplot/download_directory/plplot/trunk/src/plvect.c > 138 /scratch/kshri0/cmake-2.4.7/bin/cmake -E cmake_progress_report=20 > /scratch/kshri0/newplplot/download_directory/plplot/build/CMakeFiles = 32 > 139 [ 41%] Building C object=20 > = src/CMakeFiles/plplot.dir/scratch/kshri0/newplplot/download_directory/plp= lot/trunk/drivers/gd.o > 140 /usr/bin/gcc -O2=20 > -I/scratch/kshri0/newplplot/download_directory/plplot/trunk/include=20 > -I/scratch/kshri0/newplplot/download_directory/plplot/b uild=20 > -I/scratch/kshri0/newplplot/download_directory/plplot/build/include=20 > -DHAVE_CONFIG_H -I/usr/include -o src/CMakeFiles/plplot.dir/scrat=20 > ch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.o -c=20 > /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c > 141=20 > = /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c: = In=20 > function `plD_state_png': > 142=20 > = /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c:95= 9:=20 > `gdAlphaMax' undeclared (first use in this function) > 143=20 > = /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c:95= 9:=20 > (Each undeclared identifier is reported only once > 144=20 > = /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c:95= 9:=20 > for each function it appears in.) > 145 make[2]: ***=20 > = [src/CMakeFiles/plplot.dir/scratch/kshri0/newplplot/download_directory/pl= plot/trunk/drivers/gd.o]=20 > Error 1 > 146 make[2]: Leaving directory=20 > `/scratch/kshri0/newplplot/download_directory/plplot/build' > 147 make[1]: *** [src/CMakeFiles/plplot.dir/all] Error 2 > 148 make[1]: Leaving directory=20 > `/scratch/kshri0/newplplot/download_directory/plplot/build' > 149 make: *** [all] Error 2 >=20 > Some option I need to specify ? I just now tried to configure and build PLplot with the -DPL_DOUBLE=3DNO option. My (Debian testing) platform has essentially all required development packages installed so my builds tend to encompass all parts = of PLplot. Anyhow, with this full build I didn't get nearly as far as you until I = ran into problems with -DPL_DOUBLE=3DNO. Bit rot has definitely set in for = this option, and it is probably going to take a while to straighten this out. For now, try a build without this option (which gives you double = precision floating-point plot computations by default) just to make sure there are no other problems for your platform. 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 libLASi project (unifont.org/lasi); the Loads = of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ -------------------------------------------------------------------------= This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Plplot-general mailing list Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general |