Hi Matt:  I never specify -DENABLE_pdl when compiling plplot.  The plplot 
library needs not know anything about PDL.

Here is part of a .spec file I use to build plplot before building PDL:

PKG_CONFIG_PATH=%{installed_prefix}/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/pkgconfig

cmake -DCMAKE_INSTALL_PREFIX=%{buildroot}%{prefix} -DPLD_png=ON \
-DPLD_jpeg=ON -DPLD_memcairo=ON -DDEFAULT_NO_BINDINGS=ON -DENABLE_cxx=ON \
-DPLD_pngcairo=ON -DPLD_pscairo=ON -DPLD_pdfcairo=ON CMakeLists.txt

make

Regards,

   Doug Hunt


[email protected]
Software Engineer
UCAR - COSMIC, Tel. (303) 497-2611

On Tue, 20 Apr 2010, Matthew Kenworthy wrote:

> Hi all,
> 
> So, I'm having a go at Puneet's PLplot compile problem, and I seem to have 
> hit a circular dependency.
> 
> cmake --with-double -DBUILD_TEST=ON -DENABLE_pdl=ON ../
> 
> I can't get cmake to get ENABLE_pdl to stick ON - the cmake command above 
> spits out:
> 
> -- PDL_VERSION = 2.4.6
> -- WARNING: perl PDL::GRAPHICS_PLplot module not found. Disabling Perl/PDL 
> examples
> 
> 
> ..but I (presumably) need plplot libraries installed so that PDL can pick 
> them up and compile PDL::Graphics::PLplot!
> 
> What am I missing here?
> 
> Thanks,
> 
> Matt
> 
> --
> Matthew Kenworthy / Assistant Professor / Leiden Observatory
> Niels Bohrweg 2 (#463) / P.O. Box 9513 / 2300 RA Leiden / NL
> 
> 
>

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to