From: Bruno P. <bru...@cl...> - 2005-10-28 10:31:06
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> (sorry if its the second and same mail you've received...)<br> <br> Hi arjen (and you all plplot-general if this mail succeeds in reaching you...)!<br> <br> well, I can now be more precised on the issus I encountered for porting PDL::Graphics::PLplot<br> on cygwin.<br> <br> Here is my environment:<br> <br> windaube XP [french joke, like winstinks XP ; ) ] 5.1 build 2600 service pack2<br> <br> cygwin dll 1.5.18 / shared id cygwin 1S4<br> <br> perl v5.8.7 build for cygwin<br> <br> PDL 2.4.2<br> <br> plplot5.5.3<br> <br> So, there are strange things during the install of PDL:<br> - at perl Makefile.PL<br> it can't find libplplot.dll : actually, libplplot.dll.a exists so, it finally works if<br> - I "cp libplplot.dll.a libplplot.dll <br> or - I modify Makefile.PL in /Graphics/PLplot : my $libname = "libplplotd.dll.a" instead of<br> my $libname = "libplplotd.dll".config("so") <br> - finally, it (seems to) work but, at the end of "make":<br> it can't find /blib/script/pdl : actually, "pdl.exe" exists, so I "cp PDL.exe PDL" ... and it works (?)<br> <br> - make install : all (seems to be) is ok<br> <br> - perldl inline command works:<br> perldl> $x = sequence 3,4<br> perldl> set $x, 2,1,99<br> perldl> p $x<br> [<br> [ 0 1 2]<br> [ 3 4 99]<br> [ 6 7 8]<br> [ 9 10 11]<br> ]<br> (from <a class="moz-txt-link-freetext" href="http://www.us025.ird.fr/article.php3?id_article=17">http://www.us025.ird.fr/article.php3?id_article=17</a>)<br> <br> Now, the problem is:<br> perl -v "use PDL::Graphics::PLplot;"<br> can't load '/usr/lib/perl5/site_perl/5.8/cygwin/auto/PDL/Graphics/PLplot/PLplot.dll' for module PDL/Graphics/PLplot:<br> no such file or directory in Dynaloader.pm line 230<br> <br> (line 230 of Dynaloader:; my $libref = dl_load_file( [...] ) )<br> <br> But /usr/lib/perl5/site_perl/5.8/cygwin/auto/PDL/Graphics/PLplot/PLplot.dll exists (libPLplot.dll.a too) and is non void!!!<br> <br> I didn't find any similar situation neither on the web nor in forums and i can't remember the number of (re)installation of <br> the whole config (including cygwin) : (<br> <br> any suggestions will be welcomed as the first day of spring after a long and cold winter : p,<br> <br> regards,<br> <br> bruno<br> <br> <br> <div class="moz-signature">-- <br> <div align="center"><u>____________________________________________________</u> <br> <font face="Verdana" size="2">Dr. Bruno Picard<br> Dép. Traitement de la Mesure et Segment Sol <br> (Data Analysis and Ground Processing Unit) <br> CLS<br> Dir. Océanographie Spatiale<br> 8-10 rue Hermès, 31520 Ramonville Saint Agne, France<br> <br> Tél: (+33)5.61.39.37.37, Fax: (+33)5.61.39.37.82<br> Mél: <a href="mailto:bru...@cl...">bru...@cl...</a><br> Toile : <a href="http://julie-et-bruno.9online.fr/nono/cadrenono.html" eudora="autourl">http://julie-et-bruno.9online.fr/nono/cadrenono.html</a><br> </font><u>____________________________________________________</u><br> <img src="cid:par...@cl..."><br> </div> </div> </body> </html> |
From: Arjen M. <arj...@wl...> - 2005-10-28 12:33:07
|
> Bruno Picard wrote: > > > So, there are strange things during the install of PDL: > - at perl Makefile.PL > it can't find libplplot.dll : actually, libplplot.dll.a > exists so, it finally works if > - > I "cp libplplot.dll.a libplplot.dll > or - I > modify Makefile.PL in /Graphics/PLplot : my $libname = > "libplplotd.dll.a" instead of > Hm, I get similar files (libplplot.dll.a etc.) when using the builds for Fortran and C. But somehow the GCC linker I use then is able to use that exact file. I think that the Perl Makefile script is not aware of this convention under Cygwin. Have you asked this on the Perl newsgroup? > my > $libname = "libplplotd.dll".config("so") > - finally, it (seems to) work but, at the end of "make": > it can't find /blib/script/pdl : actually, "pdl.exe" > exists, so I "cp PDL.exe PDL" ... and it works (?) > Here again, a similar mismatch in expectations. As I know nothing about the Perl make system, I can not help out with these issues. > - make install : all (seems to be) is ok > > - perldl inline command works: > perldl> $x = sequence 3,4 > perldl> set $x, 2,1,99 > perldl> p $x > [ > [ 0 1 2] > [ 3 4 99] > [ 6 7 8] > [ 9 10 11] > ] > (from http://www.us025.ird.fr/article.php3?id_article=17) > > Now, the problem is: > perl -v "use PDL::Graphics::PLplot;" > can't load > '/usr/lib/perl5/site_perl/5.8/cygwin/auto/PDL/Graphics/PLplot/PLplot.dll' > for module PDL/Graphics/PLplot: > no such file or directory in Dynaloader.pm line 230 > > (line 230 of Dynaloader:; my $libref = dl_load_file( [...] ) ) > > But > /usr/lib/perl5/site_perl/5.8/cygwin/auto/PDL/Graphics/PLplot/PLplot.dll > exists (libPLplot.dll.a too) and is non void!!! > > I didn't find any similar situation neither on the web nor in forums > and i can't remember the number of (re)installation of > the whole config (including cygwin) : ( > > any suggestions will be welcomed as the first day of spring after a > long and cold winter : p, > My guess is that the dynamic loader is expecting a file with a different name or extension. Could you copy the .dll file to: PLplot.so and PLplot.dll.so ? Just a few suggestions, as I am not at all familiar with this part of Perl. Regards, Arjen |
From: Bruno P. <bru...@cl...> - 2005-11-04 09:51:15
Attachments:
kodama.gif
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <div class="moz-signature"><font color="#000000">short:<br> It works!<br> <br> long:<br> Hi all,<br> <br> First, thanks to all who send me advices and encouragements: Alan, Arjen and Kare...<br> <br> Actually, I've forgot the SECOND RULE: "don't forgot the FIRST RULE : check your PATH!!" :-(<br> (Kare-from-Norway was right!)<br> That was not a big issue! When I had configure/make/make install plplot5.5.3 and perl/make/make install PDL2.4.2<br> with the definition of the PATH<br> <br> </font><font color="#000000"><tt>PATH: /usr/X11R6/bin<br> PATH: /usr/X11R6/lib<br> PATH: /usr/local/plplot/lib/plplot5.5.3/driversd<br> PATH: /usr/local/lib<br> PATH: /usr/local/lib/pkgconfig<br> PATH: /usr/local/plplot/bin<br> PATH: /usr/local/plplot/include/plplot<br> PATH: /usr/local/plplot/lib<br> PATH: /usr/local/bin<br> PATH: /usr/bin<br> PATH: /usr/include<br> PATH: /lib<br> PATH: /bin</tt></font><font color="#000000"><br> <br> Along my many tests, sometimes i change the path but when i exit from cygwin, my definitions were losts.<br> It finally works when I've remembered to define PATH directly in /etc/profile.<br> <br> perl succeeds in loading the dll and i can execute the c- and perl-examples lying in plplot/share/plplot5.5.3/examples !<br> Below this message, I give the precise details of my installation.<br> <br> Now, my next goal is to succeed in writing png files...once again, if someone has suggestions...<br> <br> I've installed the gd-2.0.33 library, so plplot installs the gd driver and enables<br> png files. Here is the the Configure results of plplot:<br> <br> </font><font color="#000000"><tt>command: ./configure --prefix=/usr/local/plplot --disable-python --disable-java --disable-octave --disable-tcl --disable-itcl --disable-cxx --disable-f77 --enable-ltdl-convenience<br> host: i686-pc-cygwin<br> have_x: no<br> prefix: /usr/local/plplot<br> CC: gcc <br> LIB_TAG: d<br> devices: png jpeg gif hp7470 hp7580 lj_hpgl mem null pbm plmeta ps psc pstex wingcc xfig<br> <br> Available device drivers:<br> static: <br> dynamic: gd.la hpgl.la mem.la null.la pbm.la plmeta.la ps.la pstex.la wingcc.la xfig.la<br> <br> </tt></font><font color="#000000">but, if i try to write a png file with perl, as in the example in the README of PDL::PLplot<br> </font><font color="#000000"><tt>my $pl = PDL::Graphics::PLplot->new (DEV => 'png', FILE => "test1.png");<br> <br> </tt></font><font color="#000000">The output is<br> </font><font color="#000000"><tt><br> Requested device png not available<br> <br> Plotting Options:<br> < 1> wingcc Win32 (GCC)<br> < 2> plmeta PLplot Native Meta-File<br> < 3> ps PostScript File (monochrome)<br> < 4> psc PostScript File (color)<br> < 5> xfig Fig file<br> < 6> hp7470 HP 7470 Plotter File (HPGL Cartridge, Small Plotter)<br> < 7> hp7580 HP 7580 Plotter File (Large Plotter)<br> < 8> lj_hpgl HP Laserjet III, HPGL emulation mode<br> < 9> pbm PDB (PPM) Driver<br> <10> pstex Combined Postscript/LaTeX files<br> <11> null Null device<br> <12> mem User-supplied memory device<br> <br> Enter device number or keyword: </tt></font><font color="#000000"><br> <br> </font><font color="#000000">The drivers of plplot are: <br> ls </font><font color="#000000"><tt>/usr/local/plplot/lib/plplot5.5.3/driversd/*<br> <br> </tt></font><font color="#000000"><tt>-rwxr-xr-x 1 Maître Aucun 78061 Nov 3 18:00 gd.dll<br> -rwxr-xr-x 1 Maître Aucun 1035 Nov 3 18:00 gd.la<br> -rw-r--r-- 1 Maître Aucun 0 Nov 3 18:00 gd.rc<br> -rwxr-xr-x 1 Maître Aucun 43425 Nov 3 18:01 hpgl.dll<br> -rwxr-xr-x 1 Maître Aucun 891 Nov 3 18:01 hpgl.la<br> -rw-r--r-- 1 Maître Aucun 200 Nov 3 18:00 hpgl.rc<br> -rwxr-xr-x 1 Maître Aucun 39025 Nov 3 18:01 mem.dll<br> -rwxr-xr-x 1 Maître Aucun 886 Nov 3 18:01 mem.la<br> -rw-r--r-- 1 Maître Aucun 45 Nov 3 18:00 mem.rc<br> -rwxr-xr-x 1 Maître Aucun 37377 Nov 3 18:01 null.dll<br> -rwxr-xr-x 1 Maître Aucun 891 Nov 3 18:01 null.la<br> -rw-r--r-- 1 Maître Aucun 32 Nov 3 18:00 null.rc<br> -rwxr-xr-x 1 Maître Aucun 41122 Nov 3 18:02 pbm.dll<br> -rwxr-xr-x 1 Maître Aucun 886 Nov 3 18:02 pbm.la<br> -rw-r--r-- 1 Maître Aucun 33 Nov 3 18:00 pbm.rc<br> -rwxr-xr-x 1 Maître Aucun 49495 Nov 3 18:02 plmeta.dll<br> -rwxr-xr-x 1 Maître Aucun 901 Nov 3 18:02 plmeta.la<br> -rw-r--r-- 1 Maître Aucun 46 Nov 3 18:00 plmeta.rc<br> -rwxr-xr-x 1 Maître Aucun 77552 Nov 3 18:02 ps.dll<br> -rwxr-xr-x 1 Maître Aucun 881 Nov 3 18:02 ps.la<br> -rw-r--r-- 1 Maître Aucun 83 Nov 3 18:00 ps.rc<br> -rwxr-xr-x 1 Maître Aucun 91842 Nov 3 18:03 pstex.dll<br> -rwxr-xr-x 1 Maître Aucun 896 Nov 3 18:03 pstex.la<br> -rw-r--r-- 1 Maître Aucun 54 Nov 3 18:00 pstex.rc<br> -rwxr-xr-x 1 Maître Aucun 435539 Nov 3 18:03 wingcc.dll<br> -rwxr-xr-x 1 Maître Aucun 909 Nov 3 18:03 wingcc.la<br> -rw-r--r-- 1 Maître Aucun 36 Nov 3 18:00 wingcc.rc<br> -rwxr-xr-x 1 Maître Aucun 49447 Nov 3 18:04 xfig.dll<br> -rwxr-xr-x 1 Maître Aucun 891 Nov 3 18:04 xfig.la<br> -rw-r--r-- 1 Maître Aucun 28 Nov 3 18:00 xfig.rc<br> </tt></font><font color="#000000"><br> I'm not sure about what to do and I don't even know if the gd driver is the good solution for png files...<br> I'm still working on it : ) !<br> <br> thanks again!!<br> regards,<br> <br> bruno<br> <br> ====================================<br> INSTALLATION OF PDL:Graphics::PLplot<br> ====================================<br> <br> windows 5.1 build 2600 service pack2<br> <br> cygwin dll 1.5.18 / shared id cygwin 1S4<br> <br> perl v5.8.7 build for cygwin<br> <br> 1- modify PATH in /etc/profile<br> <br> 2- plplot5.5.3 : ./configure (i've juste disable all languages except pdl (see above output of configure)<br> make<br> make install<br> <br> 3- !!!!!! Rename(copy) /usr/local/lib/plplot/lib *.dll.a in *.dll !!!!!!!!!!!!!<br> <br> 4 - (optionnal) install ExtUtils::F77 and Inline0.44 perl modules (easy, just used for compiling PDL::Slatec)<br> <br> 5- PDL 2.4.2<br> modify perldl.conf : </font><font color="#000000"><tt>WITH_3D = 0,# </tt></font><font color="#000000"><br> uncomment the lines<br> </font><font color="#000000"><tt> WITH_PLPLOT => 1, # Build PLPLOT interface<br> WHERE_PLPLOT_LIBS => '/usr/local/plplot/lib', # PLplot lib dir<br> WHERE_PLPLOT_INCLUDE => '/usr/local/plplot/include', # PLplot include dir</tt></font><font color="#000000"><br> </font> <font color="#000000"> perl Makefile.PL<br> make the first time, it failed : juste remane(copy) (</font><font color="#000000">in the PDL installation directory) </font><font color="#000000">/blib/script/pdl.exe in /blib/script/pdl<br> make (it works)<br> make install<br> <br> That's it!<br> </font><br> Bruno Picard a écrit : <blockquote cite="mid...@cl..." type="cite"> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> (sorry if its the second and same mail you've received...)<br> <br> Hi arjen (and you all plplot-general if this mail succeeds in reaching you...)!<br> <br> well, I can now be more precised on the issus I encountered for porting PDL::Graphics::PLplot<br> on cygwin.<br> <br> Here is my environment:<br> <br> windaube XP [french joke, like winstinks XP ; ) ] 5.1 build 2600 service pack2<br> <br> cygwin dll 1.5.18 / shared id cygwin 1S4<br> <br> perl v5.8.7 build for cygwin<br> <br> PDL 2.4.2<br> <br> plplot5.5.3<br> <br> So, there are strange things during the install of PDL:<br> - at perl Makefile.PL<br> it can't find libplplot.dll : actually, libplplot.dll.a exists so, it finally works if<br> - I "cp libplplot.dll.a libplplot.dll <br> or - I modify Makefile.PL in /Graphics/PLplot : my $libname = "libplplotd.dll.a" instead of<br> my $libname = "libplplotd.dll".config("so") <br> - finally, it (seems to) work but, at the end of "make":<br> it can't find /blib/script/pdl : actually, "pdl.exe" exists, so I "cp PDL.exe PDL" ... and it works (?)<br> <br> - make install : all (seems to be) is ok<br> <br> - perldl inline command works:<br> perldl> $x = sequence 3,4<br> perldl> set $x, 2,1,99<br> perldl> p $x<br> [<br> [ 0 1 2]<br> [ 3 4 99]<br> [ 6 7 8]<br> [ 9 10 11]<br> ]<br> (from <a class="moz-txt-link-freetext" href="http://www.us025.ird.fr/article.php3?id_article=17">http://www.us025.ird.fr/article.php3?id_article=17</a>)<br> <br> Now, the problem is:<br> perl -v "use PDL::Graphics::PLplot;"<br> can't load '/usr/lib/perl5/site_perl/5.8/cygwin/auto/PDL/Graphics/PLplot/PLplot.dll' for module PDL/Graphics/PLplot:<br> no such file or directory in Dynaloader.pm line 230<br> <br> (line 230 of Dynaloader:; my $libref = dl_load_file( [...] ) )<br> <br> But /usr/lib/perl5/site_perl/5.8/cygwin/auto/PDL/Graphics/PLplot/PLplot.dll exists (libPLplot.dll.a too) and is non void!!!<br> <br> I didn't find any similar situation neither on the web nor in forums and i can't remember the number of (re)installation of <br> the whole config (including cygwin) : (<br> <br> any suggestions will be welcomed as the first day of spring after a long and cold winter : p,<br> <br> regards,<br> <br> bruno<br> <br> <br> </blockquote> <br> -- <br> <div align="center"><u>____________________________________________________</u> <br> <font face="Verdana" size="2">Dr. Bruno Picard<br> Dép. Traitement de la Mesure et Segment Sol <br> (Data Analysis and Ground Processing Unit) <br> CLS<br> Dir. Océanographie Spatiale<br> 8-10 rue Hermès, 31520 Ramonville Saint Agne, France<br> <br> Tél: (+33)5.61.39.37.37, Fax: (+33)5.61.39.37.82<br> Mél: <a href="mailto:bru...@cl...">bru...@cl...</a><br> Toile : <a href="http://julie-et-bruno.9online.fr/nono/cadrenono.html" eudora="autourl">http://julie-et-bruno.9online.fr/nono/cadrenono.html</a><br> </font><u>____________________________________________________</u><br> <img src="cid:par...@cl..."><br> </div> </div> </body> </html> |
From: Arjen M. <arj...@wl...> - 2005-11-04 10:04:44
|
> Bruno Picard wrote: >=20 > short: > It works! >=20 > long: > Hi all, >=20 > First, thanks to all who send me advices and encouragements: Alan, > Arjen and Kare... >=20 > Actually, I've forgot the SECOND RULE: "don't forgot the FIRST RULE : > check your PATH!!" :-( > (Kare-from-Norway was right!) Great!=20 > Now, my next goal is to succeed in writing png files...once again, if > someone has suggestions... >=20 > I've installed the gd-2.0.33 library, so plplot installs the gd driver > and enables > png files. Here is the the Configure results of plplot: >=20 >=20 > The drivers of plplot are: > ls /usr/local/plplot/lib/plplot5.5.3/driversd/* >=20 > -rwxr-xr-x 1 Ma=EEtre Aucun 78061 Nov 3 18:00 gd.dll > -rwxr-xr-x 1 Ma=EEtre Aucun 1035 Nov 3 18:00 gd.la > -rw-r--r-- 1 Ma=EEtre Aucun 0 Nov 3 18:00 gd.rc <=3D=3D=3D = This is the culprit! > -rwxr-xr-x 1 Ma=EEtre Aucun 43425 Nov 3 18:01 hpgl.dll > -rwxr-xr-x 1 Ma=EEtre Aucun 891 Nov 3 18:01 hpgl.la > I'm not sure about what to do and I don't even know if the gd driver > is the good solution for png files... > I'm still working on it : ) ! >=20 So, despite the assurance from ./configure that PNG output is=20 enabled, there is no actual driver information (the gd.rc is empty). What happens if you edit this file and insert the following lines: jpeg:JPEG file:0:gd:40:jpeg png:PNG file:0:gd:39:png (Not sure about the meaning of the numbers, but you can try=20 anyway) We can then start speculating from there.=20 Regards, Arjen |
From: Bruno P. <bru...@cl...> - 2005-11-04 10:32:26
Attachments:
kodama.gif
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <br> Arjen Markus a écrit : <blockquote cite="mid...@wl..." type="cite">The drivers of plplot are:<br> <blockquote type="cite"> <pre wrap="">ls /usr/local/plplot/lib/plplot5.5.3/driversd/* -rwxr-xr-x 1 Maître Aucun 78061 Nov 3 18:00 gd.dll -rwxr-xr-x 1 Maître Aucun 1035 Nov 3 18:00 gd.la -rw-r--r-- 1 Maître Aucun 0 Nov 3 18:00 gd.rc <=== This is the culprit! -rwxr-xr-x 1 Maître Aucun 43425 Nov 3 18:01 hpgl.dll -rwxr-xr-x 1 Maître Aucun 891 Nov 3 18:01 hpgl.la </pre> </blockquote> <pre wrap=""> So, despite the assurance from ./configure that PNG output is enabled, there is no actual driver information (the gd.rc is empty). What happens if you edit this file and insert the following lines: jpeg:JPEG <a class="moz-txt-link-freetext" href="file:0:gd:40:jpeg">file:0:gd:40:jpeg</a> png:PNG <a class="moz-txt-link-freetext" href="file:0:gd:39:png">file:0:gd:39:png</a> (Not sure about the meaning of the numbers, but you can try anyway) We can then start speculating from there. Regards, Arjen </pre> </blockquote> grrr: I'm too stupid!! 'can do an "ls" but incapable to check the sizes... : (<br> I've tried your proposition (edit "gd.rc", isn't it?) and png and jpeg appears in the list of available drivers but, when selected,<br> neither png nor jpeg work:<br> <tt><br> Unable to load driver: gd.<br> ***** PLPLOT Error *****<br> unable to load driver<br> </tt><br> bruno<br> <div class="moz-signature">-- <br> <div align="center"><u>____________________________________________________</u> <br> <font face="Verdana" size="2">Dr. Bruno Picard<br> Dép. Traitement de la Mesure et Segment Sol <br> (Data Analysis and Ground Processing Unit) <br> CLS<br> Dir. Océanographie Spatiale<br> 8-10 rue Hermès, 31520 Ramonville Saint Agne, France<br> <br> Tél: (+33)5.61.39.37.37, Fax: (+33)5.61.39.37.82<br> Mél: <a href="mailto:bru...@cl...">bru...@cl...</a><br> Toile : <a href="http://julie-et-bruno.9online.fr/nono/cadrenono.html" eudora="autourl">http://julie-et-bruno.9online.fr/nono/cadrenono.html</a><br> </font><u>____________________________________________________</u><br> <img src="cid:par...@cl..."><br> </div> </div> </body> </html> |
From: Arjen M. <arj...@wl...> - 2005-11-04 11:03:41
|
> Bruno Picard wrote: > > grrr: I'm too stupid!! 'can do an "ls" but incapable to check the > sizes... : ( It happens to all of us ;) > I've tried your proposition (edit "gd.rc", isn't it?) and png and jpeg > appears in the list of available drivers but, when selected, > neither png nor jpeg work: > > Unable to load driver: gd. > ***** PLPLOT Error ***** > unable to load driver > Hm, can you show me (I suggest off-list, it is not very interesting for others) the contents of gd.la ? This should contain all the information necessary for loading the driver (via libtool) Regards, Arjen |
From: Alan W. I. <ir...@be...> - 2005-11-04 18:05:19
|
On 2005-11-04 10:50+0100 Bruno Picard wrote: > command:=A0=A0=A0 ./configure --prefix=3D/usr/local/plplot --disable-pyth= on > --disable-java --disable-octave --disable-tcl --disable-itcl > --disable-cxx --disable-f77 --enable-ltdl-convenience > host:=A0=A0=A0 =A0=A0=A0 i686-pc-cygwin > have_x:=A0=A0=A0 =A0=A0=A0 no > prefix:=A0=A0=A0 =A0=A0=A0 /usr/local/plplot > CC:=A0=A0=A0 =A0=A0=A0 gcc > LIB_TAG:=A0=A0=A0 d > devices:=A0=A0=A0 =A0png jpeg gif hp7470 hp7580 lj_hpgl mem null pbm plme= ta ps > psc pstex wingcc xfig >=20 > Available device drivers: > static:=A0=A0=A0 =A0=A0=A0 > dynamic:=A0=A0=A0 gd.la hpgl.la mem.la null.la pbm.la plmeta.la ps.la pst= ex.la > wingcc.la xfig.la Hi Bruno, Congratulations on being the first (as far as I know) to get the pdl interface to PLplot to work on Cygwin! On top of that it turns our you are the first to attempt to use the (default) dynamic devices on the Cygwin platform. I note that Arjen has already responded to you with possible ways to debug that option, but I encourage Arjen as a PLplot developer to continue with that effort on his own Cygwin platform since it should be much quicker for him to debug that locally on his own computer rather than attempting remote debugging through you. Once he finds a solution, I am sure he would let you know what it is so you can use it as well. Until Arjen debugs the dynamic device case for Cygwin, there is an alternative for you which is documented in the Cygwin advice in the INSTALL file. Simply use the --disable-dyndrivers ./configure option. For that case, the device drivers are not dynamically loaded and are instead put directly into the PLplot library which is automatically loaded at the start of run time. I understand that Arjen has already tested the --disable-dyndrivers option on Cygwin, and it works fine even for the gd device driver. Note, that the non-dynamic drivers do have the drawback that they are all loaded simultaneously with the library which increases the memory footprint of PLplot compared to the dynamic drivers case where only one user-requeste= d device driver is dynamically loaded. So you will want to switch back to th= e (default) dynamic device driver case as soon as Arjen debugs that case on Cygwin. Finally, Bruno, thanks very much for your patience and help with PLplot on Cygwin. It is a fairly new platform for us where, for example, we have just discovered how to get shared libraries to work. Thus, there is still some stuff (such as dynamic device drivers) to get working on Cygwin that alread= y work fine on the other PLplot platforms. 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 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 __________________________ |
From: Arjen M. <arj...@wl...> - 2005-11-07 07:33:59
|
"Alan W. Irwin" wrote: > > > Hi Bruno, > > Congratulations on being the first (as far as I know) to get the pdl > interface to PLplot to work on Cygwin! > > On top of that it turns our you are the first to attempt to use the > (default) dynamic devices on the Cygwin platform. I note that Arjen has > already responded to you with possible ways to debug that option, but I > encourage Arjen as a PLplot developer to continue with that effort on his > own Cygwin platform since it should be much quicker for him to debug that > locally on his own computer rather than attempting remote debugging through > you. Once he finds a solution, I am sure he would let you know what it is > so you can use it as well. > Bruno informed me that the GD driver is not actually available. He misjudged the outcome of the configure/build process. Of course I forgot about the dynamic devices issue ... Anyway we definitely are making progress. Regards, Arjen |