Hello,

I am trying to install PGPLOT using

cpan> install PGPLOT

But, it is not working for me :-(

The transcript of the session is posted below.

I know the problem is related to the cpgplot.h library. I did a google
search and found many instances of the same problem but I could not
find a solution that works for me.

I am using perl 5.8.7 on Kubuntu 6.06

Any help will be greatly appreciated.

Thank you,

Lino

-----

Note (probably harmless): No library found for -lpgplot
Note (probably harmless): No library found for -lcpgplot
Writing Makefile for PGPLOT
cp PGPLOT.pm blib/lib/PGPLOT.pm
/usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp  -typemap
/usr/share/perl/5.8/ ExtUtils/typemap -typemap typemap  PGPLOT.xs >
PGPLOT.xsc && mv PGPLOT.xsc PGPLO T.c
Please specify prototyping behavior for PGPLOT.xs (see perlxs manual)
cc -c  -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBIAN -f no-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET _BITS=64 -O2   -DVERSION=\"2.19\"
-DXS_VERSION=\"2.19\" -fPIC "-I/usr/lib/perl/5 .8/CORE"   PGPLOT.c
PGPLOT.xs:14:47: error: cpgplot.h: No such file or directory
PGPLOT.c: In function 'XS_PGPLOT_pgask':
PGPLOT.c:91: error: 'Logical' undeclared (first use in this function)
PGPLOT.c:91: error: (Each undeclared identifier is reported only once
PGPLOT.c:91: error: for each function it appears in.)
PGPLOT.c:91: error: syntax error before 'flag'
PGPLOT.xs:72: error: 'flag' undeclared (first use in this function)
PGPLOT.c: In function 'XS_PGPLOT_pgbin':
PGPLOT.c:223: error: 'Logical' undeclared (first use in this function)
PGPLOT.c:223: error: syntax error before 'center'
PGPLOT.xs:150: error: 'center' undeclared (first use in this function)
PGPLOT.c: In function 'XS_PGPLOT_pghi2d':
PGPLOT.c:775: error: 'Logical' undeclared (first use in this function)
PGPLOT.c:775: error: syntax error before 'center'
PGPLOT.xs:475: error: 'center' undeclared (first use in this function)
PGPLOT.xs: In function 'boot_PGPLOT':
PGPLOT.xs:1424: error: 'cpgdraw' undeclared (first use in this function)
PGPLOT.xs:1425: error: 'cpgmove' undeclared (first use in this function)
PGPLOT.xs:1426: error: 'cpgqcir' undeclared (first use in this function)
PGPLOT.xs:1427: error: 'cpgsci' undeclared (first use in this function)
PGPLOT.xs:1428: error: 'cpgpt1' undeclared (first use in this function)
make: *** [PGPLOT.o] Error 1
 /usr/bin/make  -- NOT OK
Running make test
 Can't test without successful make
Running make install
 make had returned bad status, install seems impossible
Failed during this command:
 KGB/PGPLOT-2.19.tar.gz                       : make NO

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

Reply via email to