Hi,

just to make sure, you always start with a clean build directory, i.e. 
you remove the whole build directory and create a new one, or delete all 
files and directories in it (if you change cmake settings)?

The gd driver problem seems to stem from the newly added alpha channel 
stuff (gdAlphaMax), it seems that this variable is not declared because 
of some #ifdef issues (I don't have the code right in front of me). Try 
to find gdAlphaMax in drivers/gd.c and see why its not declared - if 
this is a real bug it should be fixed soon.

Regards,
Werner

[EMAIL PROTECTED] wrote:
> Hi Alan,
> 
> Tried to do it, but still get into problems.
> 
> 1) Removed the -DPL_DOUBLE=NO
> 
> /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=OFF (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/plplot/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/plplot/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:959: 
> `gdAlphaMax' undeclared (first use in this function)
> 
> /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c:959: 
> (Each undeclared identifier is reported only once
> 
> /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c:959: 
> for each function it appears in.)
> make[2]: *** 
> [src/CMakeFiles/plplotd.dir/scratch/kshri0/newplplot/download_directory/plplot/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=NO :
> 
> [ 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:959: 
> `gdAlphaMax' undeclared (first use in this function)
> 
> /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c:959: 
> (Each undeclared identifier is reported only once
> 
> /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c:959: 
> 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="gcc -O2"
> export CXX="g++ -O2"
> export FC="g77 -O2"
> cmake -DCMAKE_INSTALL_PREFIX=/scratch/Plplot -DCMAKE_VERBOSE_MAKEFILE=ON \
>       -DPLD_gcw=OFF ../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:[EMAIL PROTECTED]>
> 6: <http://www.shell.com/eandp-en>
> 
> Disclaimer of Liability:
> 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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED] wrote:
> 
>>  Hi Alan,
>>
>>  Finally succeeded getting through our firewalls to download your new
>>  version. The "make" now complains about the next :
>>
>>    135 /scratch/kshri0/cmake-2.4.7/bin/cmake -E cmake_progress_report
>>  /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
>>  -I/scratch/kshri0/newplplot/download_directory/plplot/trunk/include
>>  -I/scratch/kshri0/newplplot/download_directory/plplot/b        uild
>>  -I/scratch/kshri0/newplplot/download_directory/plplot/build/include
>>  -DHAVE_CONFIG_H -o src/CMakeFiles/plplot.dir/plvect.o   -c /scratc
>>  h/kshri0/newplplot/download_directory/plplot/trunk/src/plvect.c
>>    138 /scratch/kshri0/cmake-2.4.7/bin/cmake -E cmake_progress_report
>>  /scratch/kshri0/newplplot/download_directory/plplot/build/CMakeFiles 32
>>    139 [ 41%] Building C object
>> 
> src/CMakeFiles/plplot.dir/scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.o
>  
> 
>>    140 /usr/bin/gcc  -O2
>>  -I/scratch/kshri0/newplplot/download_directory/plplot/trunk/include
>>  -I/scratch/kshri0/newplplot/download_directory/plplot/b        uild
>>  -I/scratch/kshri0/newplplot/download_directory/plplot/build/include
>>  -DHAVE_CONFIG_H  -I/usr/include -o src/CMakeFiles/plplot.dir/scrat
>>  ch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.o   -c
>>  /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c
>>    141
>> 
> /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c: In
>>  function `plD_state_png':
>>    142
>> 
> /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c:959:
>>  `gdAlphaMax' undeclared (first use in this function)
>>    143
>> 
> /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c:959:
>>  (Each undeclared identifier is reported only once
>>    144
>> 
> /scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.c:959:
>>  for each function it appears in.)
>>    145 make[2]: ***
>> 
> [src/CMakeFiles/plplot.dir/scratch/kshri0/newplplot/download_directory/plplot/trunk/drivers/gd.o]
>  
> 
>>  Error 1
>>    146 make[2]: Leaving directory
>>  `/scratch/kshri0/newplplot/download_directory/plplot/build'
>>    147 make[1]: *** [src/CMakeFiles/plplot.dir/all] Error 2
>>    148 make[1]: Leaving directory
>>  `/scratch/kshri0/newplplot/download_directory/plplot/build'
>>    149 make: *** [all] Error 2
>>
>>  Some option I need to specify ?
> 
> I just now tried to configure and build PLplot with the -DPL_DOUBLE=NO
> 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=NO.  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
> Plplot-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-general
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> 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
> Plplot-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-general


-- 
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: [EMAIL PROTECTED]
web:   http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office)
        +43-(0)1-58801-13469 (laboratory)
fax:   +43-(0)1-58801-13499

-------------------------------------------------------------------------
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
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to