Re: [Gimp-user] Gimp 2.0.2 and perl plug-ins

2004-07-07 Thread Dave Neary

Hi,

Quoting Vittorio <[EMAIL PROTECTED]>:

> > Vittorio <[EMAIL PROTECTED]> 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.

-- 
Dave Neary
Lyon, France
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Gimp 2.0.2 and perl plug-ins

2004-07-07 Thread Vittorio
On Tuesday 06 July 2004 18:26, Sven Neumann wrote:
> Hi,
>
> Vittorio <[EMAIL PROTECTED]> 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
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Gimp 2.0.2 and perl plug-ins

2004-07-06 Thread Sven Neumann
Hi,

Vittorio <[EMAIL PROTECTED]> 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
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Gimp 2.0.2 and perl plug-ins

2004-07-06 Thread Vittorio
On Tuesday 06 July 2004 13:45, Sven Neumann wrote:
> Hi,
>
> [EMAIL PROTECTED] 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
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Gimp 2.0.2 and perl plug-ins

2004-07-06 Thread Sven Neumann
Hi,

[EMAIL PROTECTED] 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
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] Gimp 2.0.2 and perl plug-ins

2004-07-06 Thread v . demartino2
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

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user