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

Gimp 1.2.4 and "Inner Bevel" plug-in

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.

8 of 8 messages available
Toggle history

Please log in to manage your subscriptions.

Gimp 1.2.4 and "Inner Bevel" plug-in Tom Williams 25 May 23:55
  Gimp 1.2.4 and "Inner Bevel" plug-in Sven Neumann 26 May 00:45
Gimp 1.2.4 and "Inner Bevel" plug-in Tom Williams 26 May 00:04
  Gimp 1.2.4 and "Inner Bevel" plug-in Daniel Carrera 26 May 00:11
  Gimp 1.2.4 and "Inner Bevel" plug-in Daniel Carrera 26 May 00:17
Gimp 1.2.4 and "Inner Bevel" plug-in Tom Williams 26 May 01:20
  Gimp 1.2.4 and "Inner Bevel" plug-in Daniel Carrera 26 May 01:27
Gimp 1.2.4 and "Inner Bevel" plug-in Tom Williams 26 May 01:37
Tom Williams
2003-05-25 23:55:02 UTC (almost 21 years ago)

Gimp 1.2.4 and "Inner Bevel" plug-in

Hi! Ok, I've upgraded (from source) to Gimp 1.2.4 on Linux and the build went smoothly. When I try to use the "Inner Bevel" plugin (/Xtns/Render/Inner Bevel), I get an error dialog indicating the "Inner Bevel" plugin crashed and might have messed up Gimp's internal state.

Any idea on how I determine what the actual error is? Any idea on what might be wrong?

Thanks...

Peace...

Tom

Tom Williams
2003-05-26 00:04:59 UTC (almost 21 years ago)

Gimp 1.2.4 and "Inner Bevel" plug-in

Daniel Carrera wrote:

Try running gimp from the command line. Maybe the plugin sends a more meaningful error to stdout.

Thanks for the quick reply. I ran the "innerbevel" plugin from the command line and it complained about not being able to find "Gimp.pm" in the perl @INC search path.

So, now I'm trying to see where the @INC search path is specified (hopefully in some file in the filesystem) so I can adjust it accordingly.

Any ideas on how to get @INC updated or must I rebuild Perl? I'm using Perl 5.8.0.

Thanks!

Peace...

Tom

Daniel Carrera
2003-05-26 00:11:06 UTC (almost 21 years ago)

Gimp 1.2.4 and "Inner Bevel" plug-in

You don't have to rebuild Perl.

The first thing we need to know is whether you actually have Gimp.pm or not. Type the following commands on a terminal:

$ locate Gimp.pm # find out where Gimp.pm is. $ perl -e 'print @INC, "\n"' # find what's in @INC.

Tell me what these commands output and we'll go from there. I suspect that you just don't have Gimp.pm and you need to install it. While you run those commands I'll try to find out where you can download Gimp.pm from.

Daniel.

On Sun, May 25, 2003 at 03:04:59PM -0700, Tom Williams wrote:

Daniel Carrera wrote:

Try running gimp from the command line. Maybe the plugin sends a more meaningful error to stdout.

Thanks for the quick reply. I ran the "innerbevel" plugin from the command line and it complained about not being able to find "Gimp.pm" in the perl @INC search path.

So, now I'm trying to see where the @INC search path is specified (hopefully in some file in the filesystem) so I can adjust it accordingly.

Any ideas on how to get @INC updated or must I rebuild Perl? I'm using Perl 5.8.0.

Thanks!

Peace...

Tom

Daniel Carrera
2003-05-26 00:17:27 UTC (almost 21 years ago)

Gimp 1.2.4 and "Inner Bevel" plug-in

Hi,

Assuming that you don't have Gimp.pm, this is what you should do. Download Perl-Gimp from here:

http://search.cpan.org/author/MLEHMANN/Gimp-1.211/

Perl-Gimp depends on Perl-Gtk which is here:

http://search.cpan.org/author/LUPUS/Gtk-Perl-0.7008/

So you'll need to install Perl-Gtk first.

If I remember correctly, installation is very smooth for both. To install each just untar the files, cd into the directory and type:

perl Makefile.PL make
make install # as root.

In my experience, compiling Perl extensions from source works very well.

I hope this helps. Daniel.

On Sun, May 25, 2003 at 03:04:59PM -0700, Tom Williams wrote:

Daniel Carrera wrote:

Try running gimp from the command line. Maybe the plugin sends a more meaningful error to stdout.

Thanks for the quick reply. I ran the "innerbevel" plugin from the command line and it complained about not being able to find "Gimp.pm" in the perl @INC search path.

So, now I'm trying to see where the @INC search path is specified (hopefully in some file in the filesystem) so I can adjust it accordingly.

Any ideas on how to get @INC updated or must I rebuild Perl? I'm using Perl 5.8.0.

Thanks!

Peace...

Tom

Sven Neumann
2003-05-26 00:45:33 UTC (almost 21 years ago)

Gimp 1.2.4 and "Inner Bevel" plug-in

Hi,

Tom Williams writes:

Hi! Ok, I've upgraded (from source) to Gimp 1.2.4 on Linux and the build went smoothly. When I try to use the "Inner Bevel" plugin (/Xtns/Render/Inner Bevel), I get an error dialog indicating the "Inner Bevel" plugin crashed and might have messed up Gimp's internal state.

Any idea on how I determine what the actual error is? Any idea on what might be wrong?

Inner Bevel is a gimp-perl script. You should check if your gimp-perl build sent smooth. Is the script actually installed by the updated gimp-1.2 or are you perhaps running an older version?

Sven

Tom Williams
2003-05-26 01:20:57 UTC (almost 21 years ago)

Gimp 1.2.4 and "Inner Bevel" plug-in

Daniel Carrera wrote:

You don't have to rebuild Perl.

The first thing we need to know is whether you actually have Gimp.pm or not. Type the following commands on a terminal:

$ locate Gimp.pm # find out where Gimp.pm is. $ perl -e 'print @INC, "\n"' # find what's in @INC.

Tell me what these commands output and we'll go from there. I suspect that you just don't have Gimp.pm and you need to install it. While you run those commands I'll try to find out where you can download Gimp.pm from.

Daniel.

Thanks for the info.

bash-2.05$ locate Gimp.pm /usr/lib/perl5/site_perl/5.8.0/i686-linux/Gimp.pm /usr/lib/perl5/site_perl/i386-linux/Gimp.pm bash-2.05$ perl -e 'print @INC, "\n"' /usr/lib/perl5/5.8.0/i686-linux-thread-multi/usr/lib/perl5/5.8.0/usr/lib/perl5/site_perl/5.8.0/i686-linux-thread-multi/usr/lib/perl5/site_perl/5.8.0/usr/lib/perl5/site_perl.

bash-2.05$

So, do I need to re-install Gimp.pm or can I adjust the @INC path that perl uses? I'm currently re-building perl 5.8.0 and have added the /usr/lib/perl5/5.8.0/i686-linux directory to the @INC path that gets set at compile time. My build is still running so I can stop it if I don't need to finish it. :)

Peace...

Tom

Daniel Carrera
2003-05-26 01:27:38 UTC (almost 21 years ago)

Gimp 1.2.4 and "Inner Bevel" plug-in

I have an idea. Don't stop the build until you know that it works. Try this:

alias perl='perl -I/usr/lib/perl5/site_perl/i386-linux/'

See if that makes the script work. If it does, just add that line to your ~/.bashrc file.

Daniel.

On Sun, May 25, 2003 at 04:20:57PM -0700, Tom Williams wrote:

Thanks for the info.

bash-2.05$ locate Gimp.pm /usr/lib/perl5/site_perl/5.8.0/i686-linux/Gimp.pm /usr/lib/perl5/site_perl/i386-linux/Gimp.pm bash-2.05$ perl -e 'print @INC, "\n"' /usr/lib/perl5/5.8.0/i686-linux-thread-multi/usr/lib/perl5/5.8.0/usr/lib/perl5/site_perl/5.8.0/i686-linux-thread-multi/usr/lib/perl5/site_perl/5.8.0/usr/lib/perl5/site_perl.

bash-2.05$

So, do I need to re-install Gimp.pm or can I adjust the @INC path that perl uses? I'm currently re-building perl 5.8.0 and have added the /usr/lib/perl5/5.8.0/i686-linux directory to the @INC path that gets set at compile time. My build is still running so I can stop it if I don't need to finish it. :)

Peace...

Tom

Tom Williams
2003-05-26 01:37:03 UTC (almost 21 years ago)

Gimp 1.2.4 and "Inner Bevel" plug-in

Daniel Carrera wrote:

I have an idea. Don't stop the build until you know that it works. Try this:

alias perl='perl -I/usr/lib/perl5/site_perl/i386-linux/'

See if that makes the script work. If it does, just add that line to your ~/.bashrc file.

Daniel.

Well, that sort of worked. Thanks...

---------------------------START---------------------------------

bash-2.05$ gimp & [1] 12421
bash-2.05$ Can't locate Gimp.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i686-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/lib/gimp/1.2/plug-ins/image_tile line 32. BEGIN failed--compilation aborted at /usr/lib/gimp/1.2/plug-ins/image_tile line 32.

LibGimp-WARNING **: gimp: wire_read: unexpected EOF gimp: Script-Fu Error while executing (load "/home/tom/.gimp-1.2/scripts/textpath2.scm") ERROR: unbound variable (errobj together)

gimp: Script-Fu Error while executing (load "/home/tom/.gimp-1.2/scripts/textpath1.scm") ERROR: unbound variable (errobj together)

[1]+ Done gimp bash-2.05$ perl /usr/lib/gimp/1.2/plug-ins/innerbevel Can't load '/usr/lib/perl5/site_perl/5.8.0/i686-linux//auto/Gimp/Gimp.so' for module Gimp: /usr/lib/perl5/site_perl/5.8.0/i686-linux//auto/Gimp/Gimp.so: undefined symbol: PL_markstack_ptr at /usr/lib/perl5/5.8.0/i686-linux-thread-multi/DynaLoader.pm line 229. at /usr/lib/perl5/5.8.0/i686-linux-thread-multi/DynaLoader.pm line 22 BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/i686-linux//Gimp.pm line 22. Compilation failed in require at /usr/lib/gimp/1.2/plug-ins/innerbevel line 16. BEGIN failed--compilation aborted at /usr/lib/gimp/1.2/plug-ins/innerbevel line 16. bash-2.05$ alias
alias perl='perl -I/usr/lib/perl5/site_perl/5.8.0/i686-linux/' bash-2.05$

------------------------------END-----------------------------------------------------

I'll see how my rebuild goes. :)

Thanks!

Peace...

Tom

On Sun, May 25, 2003 at 04:20:57PM -0700, Tom Williams wrote:

Thanks for the info.

bash-2.05$ locate Gimp.pm /usr/lib/perl5/site_perl/5.8.0/i686-linux/Gimp.pm /usr/lib/perl5/site_perl/i386-linux/Gimp.pm bash-2.05$ perl -e 'print @INC, "\n"' /usr/lib/perl5/5.8.0/i686-linux-thread-multi/usr/lib/perl5/5.8.0/usr/lib/perl5/site_perl/5.8.0/i686-linux-thread-multi/usr/lib/perl5/site_perl/5.8.0/usr/lib/perl5/site_perl.

bash-2.05$

So, do I need to re-install Gimp.pm or can I adjust the @INC path that perl uses? I'm currently re-building perl 5.8.0 and have added the /usr/lib/perl5/5.8.0/i686-linux directory to the @INC path that gets set at compile time. My build is still running so I can stop it if I don't need to finish it. :)

Peace...

Tom

--
Daniel Carrera | OpenPGP fingerprint: Graduate TA, Math Dept | 9B32 660B 0557 7D7D 5892 0036 D591 4D05 2938 1B7E UMD (301) 405-5137 | http://www.math.umd.edu/~dcarrera/pgp.html