Hi Diab:
On Thu, 18 Jan 2007, Diab Jerius wrote:
Package: pgplot5
Version: 5.2.2-8
Severity: normal
I'm attempting to install the Perl PGPLOT module, version 2.19. It is
unable to link against cpgplot, with the following error message:
It turns out that PGPERL 2.18 is in Debian sarge as the "pgperl" package.
It was removed for lack of a maintainer in 2005. I took a look and saw
that in order to get it to compile on a Debian system, it is necessary to
change the Makefile.PL in the PGPERL tarball in the way listed below. The
problem is not in the Debian installation but in the way libcpgplot.a is
searched for in the compilation.
That being said, I am closing this bug as the pgplot5 debian package seems
to be OK and meets policy.
If you would like to see PGPERL back in Debian, it might be possible to
get the Debian Perl Group to maintain it. I found it fairly
straightforward to update the 2.18 sarge package to version 2.19 and
to make it build on sid. Please let me know.
Carlo
--- libpgplot-perl-2.19.orig/Makefile.PL
+++ libpgplot-perl-2.19/Makefile.PL
@@ -75,19 +75,9 @@
'NAME' => 'PGPLOT',
'PREREQ_PM' => { 'ExtUtils::F77' => 1.13 },
'VERSION_FROM' => 'PGPLOT.pm',
- ($^O eq 'VMS' ? ('LIBS' => 'pgplot_dir:cpgplot.olb') :
- (-d 'pgplot_tmp' ?
- ('OBJECT' => '$(BASEEXT)$(OBJ_EXT) pgplot_tmp/libcpgplot.a '.
- 'pgplot_tmp/libpgplot.a',
- 'LIBS' => [ join( ' ', $LIBDIRS, $LIBS, ExtUtils::F77->runtime )
]
- )
- :
- ('LIBS' => [ join( ' ', $LIBDIRS, $LIBS, ExtUtils::F77->runtime )])
- )),
+ 'LIBS' => [' -lcpgplot -lpgplot -lpng -L/usr/X11R6/lib -lX11 ' .
+ ExtUtils::F77->runtime],
'DEFINE' => ExtUtils::F77->trail_ ? "" : "-DNO_TRAILING_USCORE",
- ($^O eq 'VMS' ? ('INC' => 'pgplot_dir:') : (
- 'INC' => $IDIRS
- )),
'dist' => { COMPRESS=>"gzip", SUFFIX=>"gz" },
'DLEXT' => $dlext,
'depend' => { '$(OBJECT)' => q[pgfun.c arrays.c PGPLOT.c]}
--
Carlo U. Segre -- Professor of Physics
Associate Dean for Special Projects, Graduate College
Illinois Institute of Technology
Voice: 312.567.3498 Fax: 312.567.3494
[EMAIL PROTECTED] http://www.iit.edu/~segre [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]