Re: [Plplot-devel] cmake-2.4.5 is now the minimum version and summary of outstanding issues for PLplot/CMake.

2006-12-08 Thread Werner Smekal
Hi Hazen,

 I believe that the current interface was a joint effort between Doug  
 Hunt and Rafael and that Doug is still maintaining the Perl/PDL  
 interface on behalf of the PDL project. There is an ActiveState PDL  
 package, though it seems a bit old. Has anyone tried to use that in  
 combination with PLplot and PDL::Graphics::PLplot on Windows?

I installed ActiveState Perl and the the PDL package, but have no idea 
how to test how PDL/Perl and plplot come together. My efforts here were 
not because I need this configuration, I just thought it's as easy as 
the python and java bindings, so I gave it a try.

Werner

-
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.phpp=sourceforgeCID=DEVDEV
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] cmake-2.4.5 is now the minimum version and summary of outstanding issues for PLplot/CMake.

2006-12-08 Thread Alan W. Irwin
On 2006-12-08 18:13+0100 Werner Smekal wrote:

 Hi Hazen,

 I believe that the current interface was a joint effort between Doug  Hunt 
 and Rafael and that Doug is still maintaining the Perl/PDL  interface on 
 behalf of the PDL project. There is an ActiveState PDL  package, though it 
 seems a bit old. Has anyone tried to use that in  combination with PLplot 
 and PDL::Graphics::PLplot on Windows?

 I installed ActiveState Perl and the the PDL package, but have no idea how to 
 test how PDL/Perl and plplot come together. My efforts here were not because 
 I need this configuration, I just thought it's as easy as the python and java 
 bindings, so I gave it a try.

I just committed a change so that ctest actually tested the Perl/PDL
interface.  To use this set ENABLE_pdl=ON and BUILD_TEST=ON. The result (for
CVS HEAD) is that the examples in the examples/perl directory are run using
the pre-installed Perl/PDL/PLplot interface.  Here are the results on my
Debian stable system:

[EMAIL PROTECTED] ctest --verbose --tests-regex perl
Start processing tests
Test project /home/software/plplot_cvs/HEAD/build_dir
Constructing a list of tests
Done constructing a list of tests
Changing directory into /home/software/plplot_cvs/HEAD/build_dir/test
   7/  7 Testing examples_perl 
Test command: /bin/bash -c 
EXAMPLES_DIR=/home/software/plplot_cvs/HEAD/build_dir/examples\ 
SRC_EXAMPLES_DIR=/home/software/plplot_cvs/HEAD/plplot_cmake/examples\ 
PLPLOT_LIB=/home/software/plplot_cvs/HEAD/plplot_cmake/data/\ ./plplot-test.sh\ 
--front-end=perl
Testing front-end perl
PLplot library version: 5.3.1
Can't open pnm fileconverter error:  at /usr/lib/perl5/PDL/IO/Pnm.pm line 77
-- Process completed
Passed

The following tests passed:
 examples_perl

100% tests passed, 0 tests failed out of 1

I got rid of that fileconverter error by excluding example 20.  Apparently,
it is having trouble finding lena.pgm.

Note the ancient library version.  That's because libplplot is a dependency
of the Perl/PDL PLplot interface so Debian stable installed its (ancient)
system version of libplplot to satisfy that dependency.

Werner, please give this a try again.  I am most interested whether your
new experiment finds the PLplot interface in ActiveState Perl/PDL.

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.phpp=sourceforgeCID=DEVDEV
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] cmake-2.4.5 is now the minimum version and summary of outstanding issues for PLplot/CMake.

2006-12-08 Thread Hazen Babcock

On Dec 8, 2006, at 12:13 PM, Werner Smekal wrote:

 Hi Hazen,

 I believe that the current interface was a joint effort between  
 Doug  Hunt and Rafael and that Doug is still maintaining the Perl/ 
 PDL  interface on behalf of the PDL project. There is an  
 ActiveState PDL  package, though it seems a bit old. Has anyone  
 tried to use that in  combination with PLplot and  
 PDL::Graphics::PLplot on Windows?

 I installed ActiveState Perl and the the PDL package, but have no  
 idea how to test how PDL/Perl and plplot come together. My efforts  
 here were not because I need this configuration, I just thought  
 it's as easy as the python and java bindings, so I gave it a try.

Did you catch what version of PDL was installed?

If PDL::Graphics::PLplot is installed, then you should be able to run  
the PLplot perl examples, with a command of the form perl x01.pl.  
If you get an error message along the lines of Could not find module  
PDL::Graphics::PLplot then they probably didn't come together. I'm  
unfamiliar with ActiveState directory structure, but on OS-X  
PDL::Graphics::PLplot can be found in /path/to/perl/libraries/PDL/ 
Graphics/PLplot. I suspect that the current ActiveState version of  
PDL is so old that it doesn't contain PLplot. If it does, then the  
problem is likely that it couldn't find the plplot library. You can  
figure out where its looking for the library by reading Makefile.PL  
in the PDL/Graphics/PLplot library, however I'm not sure how you  
recompile once you've given it the right path and library name.

Cygwin might be the path of least resistance here.

-Hazen


-
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.phpp=sourceforgeCID=DEVDEV
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel