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:
=======================================================================
% make
cp PGPLOT.pm blib/lib/PGPLOT.pm
/usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap
/usr/share/perl/5.8/ExtUtils/typemap -typemap typemap PGPLOT.xs > PGPLOT.xsc
&& mv PGPLOT.xsc PGPLOT.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
-fno-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
Running Mkbootstrap for PGPLOT ()
chmod 644 PGPLOT.bs
rm -f blib/arch/auto/PGPLOT/PGPLOT.so
cc -shared -L/usr/local/lib PGPLOT.o -o blib/arch/auto/PGPLOT/PGPLOT.so \
-L/usr/X11R6/lib -L/usr/lib -lpgplot -lcpgplot -lX11
-L/usr/lib/gcc/x86_64-linux-gnu/3.4.6/../../../../lib -L/usr/lib -lg2c -lm
-L/usr/lib/gcc/x86_64-linux-gnu/4.1.2 -lgcc \
/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
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
=======================================================================
If I'm reading the error correctly, it looks like cpgplot needs to be
recompiled with -fPIC, even though it's a static library.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages pgplot5 depends on:
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii libg2c0 1:3.4.6-5 Runtime library for GNU Fortran 77
ii libgcc1 1:4.1.1-21 GCC support library
ii libpng12-0 1.2.15~beta5-1 PNG library - runtime
ii libx11-6 2:1.0.3-4 X11 client-side library
ii zlib1g 1:1.2.3-13 compression library - runtime
pgplot5 recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]