Hello, I am having trouble compiling PDL::Graphics::PLPLOT for Solaris. Details are below:
Solaris 10, Sparc cc - Sun C 5.7 Patch 117836 Perl v5.8.8 plplot v5.9.8, dynamically linked. PDL v2.4.10 Previous versions of PDL have been removed from @INC PDL makes fine and all tests pass if I disable support for PLPlot. However, trying to make PDL with PLplot support renders the following: make[2]: Entering directory `/home/jbb/tmp/perlmodules/PDL-2.4.10/Graphics/PLplot' /usr/local/bin/perl_5.8.8 -I/home/jbb/tmp/perlmodules/PDL-2.4.10/blib/lib -I/home/jbb/tmp/perlmodules/PDL-2.4.10/blib/arch "-MPDL::PP qw/PDL::Graphics::PLplot PDL::Graphics::PLplot PLplot/" plplot.pd cp PLplot.pm ../../blib/lib/PDL/Graphics/PLplot.pm touch PLplot.xs /usr/local/bin/perl_5.8.8 /home/jbb/apps/jbb-perllib/lib/site_perl/5.8.8/ExtUtils/xsubpp -typemap /package/perl-5.8.8/lib/5.8.8/ExtUtils/typemap -typemap /home/jbb/tmp/perlmodules/PDL-2.4.10/Basic/Core/typemap.pdl PLplot.xs > PLplot.xsc && mv PLplot.xsc PLplot.c cc -c -I/home/jbb/tmp/perlmodules/PDL-2.4.10/Basic/Core -I/home/jbb/apps/plplot-solaris/include/plplot -I/home/jbb/apps/plplot-solaris/include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"0.61\" -DXS_VERSION=\"0.61\" -KPIC "-I/package/perl-5.8.8/lib/5.8.8/sun4-solaris/CORE" PLplot.c "PLplot.xs", line 24904: zero or negative subscript "PLplot.xs", line 24920: warning: syntax error: empty initializer "PLplot.xs", line 24920: warning: null dimension: __parnames "PLplot.xs", line 24921: warning: syntax error: empty initializer "PLplot.xs", line 24921: warning: null dimension: __realdims "PLplot.xs", line 25063: warning: syntax error: empty initializer "PLplot.xs", line 25063: warning: null dimension: pdl_init_pltr_vtable_flags "PLplot.xs", line 26397: warning: assignment type mismatch: pointer to function() returning void "=" pointer to void "PLplot.xs", line 26767: warning: assignment type mismatch: pointer to function() returning void "=" pointer to void "PLplot.xs", line 28880: warning: assignment type mismatch: pointer to function() returning void "=" pointer to void "PLplot.xs", line 29702: warning: assignment type mismatch: pointer to function() returning void "=" pointer to void "PLplot.xs", line 30979: warning: assignment type mismatch: pointer to function() returning void "=" pointer to void cc: acomp failed for PLplot.c make[2]: *** [PLplot.o] Error 2 make[2]: Leaving directory `/home/jbb/tmp/perlmodules/PDL-2.4.10/Graphics/PLplot' make[1]: *** [subdirs] Error 2 make[1]: Leaving directory `/home/jbb/tmp/perlmodules/PDL-2.4.10/Graphics' make: *** [subdirs] Error 2 Any help would be much appreciated. Sincerely, JB Black _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
