RSS/Atom feed Twitter
Site is read-only, email is disabled

Gimp 2.0.2 and perl plug-ins

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

6 of 6 messages available
Toggle history

Please log in to manage your subscriptions.

Gimp 2.0.2 and perl plug-ins v.demartino2@virgilio.it 06 Jul 14:12
  Gimp 2.0.2 and perl plug-ins Sven Neumann 06 Jul 14:45
   Gimp 2.0.2 and perl plug-ins Vittorio 06 Jul 20:18
    Gimp 2.0.2 and perl plug-ins Sven Neumann 06 Jul 19:26
     Gimp 2.0.2 and perl plug-ins Vittorio 07 Jul 19:53
      Gimp 2.0.2 and perl plug-ins Dave Neary 07 Jul 18:28
v.demartino2@virgilio.it
2004-07-06 14:12:55 UTC (almost 20 years ago)

Gimp 2.0.2 and perl plug-ins

With the Gimp 2.0 I need to use, as I already did under gimp 1.2.3, some useful perl plug-ins I wrote.

From www.gimp.org I have installed the linux debian testing packages contributed

for gimp 2.0.2 including the gimp-perl 2.0.1 deb package which turns out not to include any of the wanted *.pm perl module files.

Therefore I downloaded from cpan the gimp 2.0 perl module but when I try to compile it by means of "perl Makefile.PL" an error pops up saying that it cannot find the gimp executable (present, of course, under /usr/bin both as gimp-2.0 and @gimp)

checking for GIMP - version >= 2.0.0... no *** Could not run GIMP test program, checking why... *** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GIMP was incorrectly installed *** or that you have moved GIMP since it was installed. In the latter case, you
*** may want to edit the gimptool-2.0 script: /usr/bin/gimptool-2.0 configure: error: ** unable to find gimp, make sure it's in your path (version 1.3.15+ required!)

Do you know if there's anything broken with these packages?

Any solution?

Vittorio

Sven Neumann
2004-07-06 14:45:55 UTC (almost 20 years ago)

Gimp 2.0.2 and perl plug-ins

Hi,

v.demartino2@virgilio.it writes:

With the Gimp 2.0 I need to use, as I already did under gimp 1.2.3, some useful perl plug-ins I wrote.

From www.gimp.org I have installed the linux debian testing

packages contributed for gimp 2.0.2 including the gimp-perl 2.0.1 deb package which turns out not to include any of the wanted *.pm perl module files.

Therefore I downloaded from cpan the gimp 2.0 perl module but when I try to compile it by means of "perl Makefile.PL" an error pops up saying that it cannot find the gimp executable (present, of course, under /usr/bin both as gimp-2.0 and @gimp)

I don't think it's looking for the gimp executable. It is looking for gimptool-2.0 which is not part of the standard gimp RPM package. You will need to install the gimp-devel package if you want to compile things for gimp-2.0. This also holds true for compiling gimp-perl of course.

Sven

Sven Neumann
2004-07-06 19:26:23 UTC (almost 20 years ago)

Gimp 2.0.2 and perl plug-ins

Hi,

Vittorio writes:

configure:2269: checking for gimptool-2.0 configure:2287: found /usr/bin/gimptool-2.0 configure:2300: result: /usr/bin/gimptool-2.0

OK, so you have gimptool-2.0.

BTW, why the heck doesn't gimp-perl use pkg-config? Looks like it's using an outdated gimp-2.0.m4 script. Well, that is nothing that you should worry about. I just mention it in case that Seth listens.

configure:2308: checking for GIMP - version >= 2.0.0 configure:2411: cc -o conftest -g -O2 -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include conftest.c -L/usr/lib -lgimpui-2.0 -lgimpwidgets-2.0 -lgimp-2.0 -lgimpcolor-2.0 -lgimpmath-2.0 -lgimpbase-2.0 -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 >&5
/usr/bin/ld: cannot find -lgtk-x11-2.0

Looks like gimptool-2.0 returns reasonable linker flags but the linker fails to find the gtk+ library at the specified location. Where is it installed on your box? Not in /usr/lib?

Sven

Vittorio
2004-07-06 20:18:12 UTC (almost 20 years ago)

Gimp 2.0.2 and perl plug-ins

On Tuesday 06 July 2004 13:45, Sven Neumann wrote:

Hi,

v.demartino2@virgilio.it writes:

With the Gimp 2.0 I need to use, as I already did under gimp 1.2.3, some useful perl plug-ins I wrote.

From www.gimp.org I have installed the linux debian testing

packages contributed for gimp 2.0.2 including the gimp-perl 2.0.1 deb package which turns out not to include any of the wanted *.pm perl module files.

Therefore I downloaded from cpan the gimp 2.0 perl module but when I try to compile it by means of "perl Makefile.PL" an error pops up saying that it cannot find the gimp executable (present, of course, under /usr/bin both as gimp-2.0 and @gimp)

I don't think it's looking for the gimp executable. It is looking for gimptool-2.0 which is not part of the standard gimp RPM package. You will need to install the gimp-devel package if you want to compile things for gimp-2.0. This also holds true for compiling gimp-perl of course.

Sven

Sven,
I don't think so.
having a look at the config.log I've found:

configure:2079: test -s conftest.o configure:2082: $? = 0
configure:2100: result: none needed
configure:2118: cc -c -g -O2 conftest.c >&5 conftest.c:2: error: parse error before "me" configure:2121: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2269: checking for gimptool-2.0 configure:2287: found /usr/bin/gimptool-2.0 configure:2300: result: /usr/bin/gimptool-2.0 configure:2308: checking for GIMP - version >= 2.0.0 configure:2411: cc -o conftest -g -O2 -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include conftest.c -L/usr/lib -lgimpui-2.0 -lgimpwidgets-2.0 -lgimp-2.0 -lgimpcolor-2.0 -lgimpmath-2.0 -lgimpbase-2.0 -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 >&5
/usr/bin/ld: cannot find -lgtk-x11-2.0 collect2: ld returned 1 exit status
configure:2414: $? = 1
configure: program exited with status 1

Any help?????

Vittorio

Dave Neary
2004-07-07 18:28:14 UTC (almost 20 years ago)

Gimp 2.0.2 and perl plug-ins

Hi,

Quoting Vittorio :

Vittorio writes:

-lgimpmath-2.0 -lgimpbase-2.0 -Wl,--export-dynamic -lgtk-x11-2.0

Sven, I cannot find in any place in my box any file named lgtk-x11-2.0

The -l means "load the library called..." the l is not part of the filename. You should look for a file called libgtk+-x11-2.0.so.

Cheers, Dave.

Vittorio
2004-07-07 19:53:18 UTC (almost 20 years ago)

Gimp 2.0.2 and perl plug-ins

On Tuesday 06 July 2004 18:26, Sven Neumann wrote:

Hi,

Vittorio writes:

configure:2269: checking for gimptool-2.0 configure:2287: found /usr/bin/gimptool-2.0 configure:2300: result: /usr/bin/gimptool-2.0

OK, so you have gimptool-2.0.

BTW, why the heck doesn't gimp-perl use pkg-config? Looks like it's using an outdated gimp-2.0.m4 script. Well, that is nothing that you should worry about. I just mention it in case that Seth listens.

configure:2308: checking for GIMP - version >= 2.0.0 configure:2411: cc -o conftest -g -O2 -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include conftest.c -L/usr/lib -lgimpui-2.0 -lgimpwidgets-2.0 -lgimp-2.0 -lgimpcolor-2.0 -lgimpmath-2.0 -lgimpbase-2.0 -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 >&5 /usr/bin/ld: cannot find -lgtk-x11-2.0

Looks like gimptool-2.0 returns reasonable linker flags but the linker fails to find the gtk+ library at the specified location. Where is it installed on your box? Not in /usr/lib?

Sven

Sven, I cannot find in any place in my box any file named lgtk-x11-2.0

I'm somewhat puzzled and don't know what to do next.

Vittorio