Package: libgimp-perl
Version: 2.0.dfsg-4
Severity: grave
Tags: patch
Justification: renders package unusable


any example using libgimp-perl fails with a "protocol error" message, as
shown in 2 other bug reports.

Gimp/Config.pm contains a line:
   GIMP                 => q[],

Net/Net.pm contains:
         exec $Gimp::Config{GIMP},

Both do not go well together apparently. Either the GIMP line should be
fixed, or the environment should be querried at some point to look for
gimp. The easiest way around I have found is this:

--- debian/rules.orig   2005-05-10 00:18:00.481533507 +0200
+++ debian/rules        2005-05-10 00:07:30.315113340 +0200
@@ -24,7 +24,7 @@
        dh_testdir

        # Add here commands to compile the package.
-       $(PERL) Makefile.PL INSTALLDIRS=vendor PREFIX=/usr
+       $(PERL) Makefile.PL INSTALLDIRS=vendor PREFIX=/usr GIMP=/usr/bin/gimp
        $(MAKE) OPTIMIZE="$(CFLAGS)"

        touch build-stamp


I must however warn you that I know nothing about either perl or gimp, so
you might want to check it. For me it seems to allow the examples in
/usr/share/doc/libgimp-perl/examples to work properly again (by the way,
these examples should look for perl in /usr/bin and not /opt/bin).

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (70, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages libgimp-perl depends on:
ii  gimp                        2.2.6-1      The GNU Image Manipulation Program
ii  libatk1.0-0                 1.8.0-4      The ATK accessibility toolkit
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  libgimp2.0                  2.2.6-1      Libraries necessary to run the GIM
ii  libglib2.0-0                2.6.4-1      The GLib library of C routines
ii  libgtk2-perl                1:1.081-1    Perl interface to the 2.x series o
ii  libgtk2.0-0                 2.6.4-1      The GTK+ graphical user interface
ii  libpango1.0-0               1.8.1-1      Layout and rendering of internatio
ii  pdl                         1:2.4.2-2    perl data language: Perl extension
ii  perl                        5.8.4-8      Larry Wall's Practical Extraction
ii  perl-base [perlapi-5.8.4]   5.8.4-8      The Pathologically Eclectic Rubbis

-- no debconf information




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to