On Tue, Apr 20, 2010 at 2:22 PM, David Mertens <[email protected]> wrote:

>
> I'm not very familiar with PLplot's build process (it just works for me on
> Ubuntu) and I'm not sure what the -DENABLE_pdl=ON flag does, but it looks
> like at the moment the flag only disables the examples. The library itself
> looks like it should compile just fine. Does it compile and install if you
> remove the flag? If so, once you've got PLplot installed, try installing
> PDL::Graphics::PLplot from CPAN and let us know how it goes.
>
> David
>
>

Trying PDL-2.4.6_001:

$ /usr/bin/perl Makefile.PL INSTALLBIN=/usr/local/bin

Checking PDL::Graphics::PLplot...
found_plplot is 1
    Succeeded linking PLplot with -L/usr/local/lib -lplplotd
    plsmem function not available, no in-memory plotting available!
    plsvect function not found, no vector plotting available!
    c_plgcol0a function not found, no alpha transparency available (need
PLplot 5.9.0 or higher)!
    plpoly3 needs 6 arguments => version 5.2.0 or later!
Writing Makefile for PDL::Graphics::PLplot

...then trying make.....

/usr/bin/perl -I/Users/kenworthy/Documents/scikarlv5/PDL-2.4.6_001/blib/lib
-I/Users/kenworthy/Documents/scikarlv5/PDL-2.4.6_001/blib/arch "-MPDL::PP
qw/PDL::Graphics::PLplot PDL::Graphics::PLplot PLplot/" plplot.pd
cp PLplot.pm ../../blib/lib/PDL/Graphics/PLplot.pm
/usr/bin/perl /Library/Perl/Updates/5.10.0/ExtUtils/xsubpp  -typemap
/System/Library/Perl/5.10.0/ExtUtils/typemap -typemap
/Users/kenworthy/Documents/scikarlv5/PDL-2.4.6_001/Basic/Core/typemap.pdl
PLplot.xs > PLplot.xsc && mv PLplot.xsc PLplot.c
gcc-4.2 -c
-I/Users/kenworthy/Documents/scikarlv5/PDL-2.4.6_001/Basic/Core
-I/usr/local/include/plplot -I/usr/local/include -arch x86_64 -arch i386
-arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing
-I/usr/local/include -Os   -DVERSION=\"0.52\" -DXS_VERSION=\"0.52\"
"-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE"   PLplot.c
PLplot.xs: In function ‘pdl_plParseOpts_readdata’:
PLplot.xs:20572: warning: passing argument 2 of ‘c_plparseopts’ from
incompatible pointer type
PLplot.xs:20578: warning: ignoring return value of ‘Perl_av_shift’, declared
with attribute warn_unused_result
PLplot.xs: In function ‘pdl_plstripc_readdata’:
PLplot.xs:29304: warning: passing argument 17 of ‘c_plstripc’ from
incompatible pointer type
PLplot.xs: In function ‘pdl_plParseOpts_readdata’:
PLplot.xs:20572: warning: passing argument 2 of ‘c_plparseopts’ from
incompatible pointer type
PLplot.xs:20578: warning: ignoring return value of ‘Perl_av_shift’, declared
with attribute warn_unused_result
PLplot.xs: In function ‘pdl_plstripc_readdata’:
PLplot.xs:29304: warning: passing argument 17 of ‘c_plstripc’ from
incompatible pointer type
PLplot.xs: In function ‘pdl_plParseOpts_readdata’:
PLplot.xs:20572: warning: passing argument 2 of ‘c_plparseopts’ from
incompatible pointer type
PLplot.xs:20578: warning: ignoring return value of ‘Perl_av_shift’, declared
with attribute warn_unused_result
PLplot.xs: In function ‘pdl_plstripc_readdata’:
PLplot.xs:29304: warning: passing argument 17 of ‘c_plstripc’ from
incompatible pointer type
Running Mkbootstrap for PDL::Graphics::PLplot ()
chmod 644 PLplot.bs
rm -f ../../blib/arch/auto/PDL/Graphics/PLplot/PLplot.bundle
LD_RUN_PATH="/usr/local/lib" gcc-4.2 -mmacosx-version-min=10.6  -shared
-L/usr/local/lib -L/usr/local/lib  PLplot.o  -o
../../blib/arch/auto/PDL/Graphics/PLplot/PLplot.bundle     \
       -L/usr/local/lib -lplplotd      \

Undefined symbols:
  "_Perl_sv_free", referenced from:
      _pdl_plgriddata_redodims in PLplot.o

*** snip ***

      _pltr_callback in PLplot.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [../../blib/arch/auto/PDL/Graphics/PLplot/PLplot.bundle] Error
1




-- 
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