Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20552 - Perl plug-ins for Gimp don't get loaded
Summary: Perl plug-ins for Gimp don't get loaded
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 20551 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-05-06 17:37 UTC by Thiemo Kellner
Modified: 2004-01-22 13:31 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild that made me detect the problem (gimp-gallery-1.0.1.ebuild,1.08 KB, text/plain)
2003-05-06 17:39 UTC, Thiemo Kellner
Details
Spool of "emerge -s gimp perl" (emerge-s_gimp_perl.txt,7.26 KB, text/plain)
2003-05-06 17:40 UTC, Thiemo Kellner
Details
Spool of the messages of gimp started from shell (gimp-start-log.txt,45.77 KB, text/plain)
2003-05-06 17:44 UTC, Thiemo Kellner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thiemo Kellner 2003-05-06 17:37:23 UTC
Gimp seems to fail to load perl plug-ins. I installed a selfmade ebuild
(gimp-gallery) for a perl plug-in but I could not find it anywhere in Gimp. If I
start gimp from the shell, it seems to me that the plug-in(s) fail due to a
problem with INC (path?).

Gimp: Latest version installed: 1.2.3-r3
Perl: Latest version installed: 5.8.0-r10
Comment 1 Thiemo Kellner 2003-05-06 17:39:31 UTC
Created attachment 11606 [details]
Ebuild that made me detect the problem
Comment 2 Thiemo Kellner 2003-05-06 17:40:22 UTC
Created attachment 11607 [details]
Spool of "emerge -s gimp perl"
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-05-06 17:40:24 UTC
*** Bug 20551 has been marked as a duplicate of this bug. ***
Comment 4 Thiemo Kellner 2003-05-06 17:44:39 UTC
Created attachment 11608 [details]
Spool of the messages of gimp started from shell
Comment 6 Philip Walls (RETIRED) gentoo-dev 2003-06-08 10:17:49 UTC
Do you have this problem with gimp-1.2.4 ?
Comment 7 Thiemo Kellner 2003-06-09 08:41:39 UTC
Yes, with Gimp 1.2.4 (and HTML-Parser-3.28 instead of HTML-Parser-3.26-r2, both no difference) the problem persists, though the shell output is greatly reduced.


Identified problems
-------------------
"HTML/Entities.pm" is still not found though on my system it is here: "/usr/lib/perl5/site_perl/5.8.0/i686-linux/HTML/Entities.pm"

"Gtk.pm" is still not found though on my system it is here: "/usr/lib/perl5/site_perl/5.6.1/i686-linux/Gtk.pm"


Shell output
------------
bash-2.05b$ gimp
Can't locate HTML/Entities.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i686-linux /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/gimp/1.2/plug-ins/gallery.pl line 5.
BEGIN failed--compilation aborted at /usr/lib/gimp/1.2/plug-ins/gallery.pl line 5.

LibGimp-WARNING **: gimp: wire_read: unexpected EOF
Can't locate Gtk.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i686-linux /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/gimp/1.2/plug-ins/gimpgallery.pl line 14.
BEGIN failed--compilation aborted at /usr/lib/gimp/1.2/plug-ins/gimpgallery.pl line 14.

LibGimp-WARNING **: gimp: wire_read: unexpected EOF
Comment 8 Thiemo Kellner 2003-06-09 16:13:50 UTC
I had contact with the author of Gimp-gallery who advised me to install HTML:Entities too. I will post a note on my success regarding this.
Comment 9 Thiemo Kellner 2003-06-09 16:43:51 UTC
I found HTML::Entities to be in the package HTML-Parser (at least I believe so: http://search.cpan.org/author/GAAS/HTML-Parser-3.28/lib/HTML/Entities.pm). However, I do not know whether this is a genuine Perl problem or whether the Gimp package ought to be improved.
Comment 10 Thiemo Kellner 2003-06-09 16:49:08 UTC
Considering it again, my best guess is, assuming @INC being somekind of a path variable, @INC ought to include also "/usr/lib/perl5/site_perl/5.8.0/i686-linux/HTML" and "/usr/lib/perl5/site_perl/5.6.1/i686-linux/Gtk.pm"
Comment 11 foser (RETIRED) gentoo-dev 2003-06-16 11:17:13 UTC
hmm if #10 is true then this is perl problem, not gimp. I don't think gimp misses anything, cause all gimps own plugins seem to work. Additional stuff should be introduced by additional plugins. 

I'm not at all into perl, so i think its better to give this back to some perl guy.
Comment 12 Michael Cummings (RETIRED) gentoo-dev 2003-06-27 21:13:46 UTC
It looks like there are two different problems. First, that the gimp ebuild is not depending on all that it needs to in order to enable perl support - that's easy enough to fix if it is the case. The second problem is that the perl gtk modules were installed prior to your upgrade to 5.8 - and don't appear to be getting pulled in. I would recommend re-emerging the gtk module to get rid of that error.
Comment 13 Thiemo Kellner 2003-06-28 09:49:31 UTC
After "emerge gtk-perl" I only get a "Undefined subroutine &Gimp::Fu::register called at /usr/lib/gimp/1.2/plug-ins/gallery.pl line 129.

LibGimp-WARNING **: gimp: wire_read: unexpected EOF" when starting Gimp. I shall ask the developer of gimp-gallery about the message.

Cheers

Thiemo
Comment 14 Andrew Cooks (RETIRED) gentoo-dev 2004-01-18 03:00:37 UTC
It's been some time since this bug received any attention. A new version of gimp, perl and gtk-perl has been released in the mean time.

Please reopen this bug if it can still be reproduced.
Comment 15 Thiemo Kellner 2004-01-22 13:31:48 UTC
Having installed gimp 1.2.5, perl 5.8.3 and gtk-perl 0.7008-r10 the gimp plug-in in question gets loaded. I have not tested if the plug-in works though. Thanks.