Carlo, Thanks for looking at this. Unfortunately, PGPPLOT 2.19 is very different from 2.18 (I helped with the 2.19 changes so I'm familiar with the code) so the fix for 2.18 is not applicable, and is in fact no longer required.
The problem really is a compilation problem, not a setup problem. Note that the error is not that it cannot find the library, but that it cannot link against the library because of the way that the library was compiled: /usr/bin/ld: /usr/lib/libcpgplot.a(cpgarro.o): relocation R_X86_64_PC32 against `pgarro_' can not be used when making a shared object; recompile with -fPIC Please reopen this bug -- it's still not fixed. Thanks, Diab On Sat, 2007-01-20 at 12:48 -0800, Debian Bug Tracking System wrote: > This is an automatic notification regarding your Bug report > #407462: pgplot5: Perl module compilation against cpgplot fails, > which was filed against the pgplot5 package. > > It has been closed by Carlo Segre <[EMAIL PROTECTED]> (reply to [EMAIL > PROTECTED]). > > Their explanation is attached below. If this explanation is > unsatisfactory and you have not received a better one in a separate > message then please contact Carlo Segre <[EMAIL PROTECTED]> (reply to [EMAIL > PROTECTED]) by replying > to this email. > > Debian bug tracking system administrator > (administrator, Debian Bugs database) > > email message attachment > > -------- Forwarded Message -------- > > From: Carlo Segre <[EMAIL PROTECTED]> > > Reply-To: [EMAIL PROTECTED] > > To: Diab Jerius <[EMAIL PROTECTED]>, > > [EMAIL PROTECTED] > > Cc: Debian Bug Tracking System <[EMAIL PROTECTED]>, > > debian-bugs-dist@lists.debian.org, Gopal Narayanan > > <[EMAIL PROTECTED]> > > Subject: Re: Bug#407462: pgplot5: Perl module compilation against > > cpgplot fails > > Date: Sat, 20 Jan 2007 14:35:24 -0600 (CST) > > > > 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]} > > > > > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]