On Mon, Sep 11, 2000 at 05:20:13PM +0200, Raphael Quinet <[EMAIL PROTECTED]> wrote:
> of June), because all Perl scripts crashed with a dynamic linking
> error (missing symbol) due to the changes in libgimp.

This had been caused by the upgrade to the newer API, not by changes in
the header files (or at leats not the usual changes ;)

> the new version over the old one.  Do you know if the bug was fixed
> between 1.1.24 and 1.1.25?

no, it was fixed a much longer time ago. Look at the compiler switches (here
I get):

gcc -c -I/localvol2/cvs/gnome/gimp/plug-ins/perl -I../../..
-I/localvol2/cvs/gnome/gimp/plug-ins/perl/../.. -I/usr/app/lib/glib/include
-I/usr/app/include -I/usr/app/lib/glib/include -I/usr/app/include
-I/usr/X11R6/include -I/usr/app/include -DGTK_DISABLE_COMPAT_H
-I/usr/app/lib/perl5/PDL/Core -g -Os -g -pipe -mpentium -mcpu=pentium
-I/usr/local/include -I/usr/app/include -fstrict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Os -funroll-all-loops -mpentium
-DVERSION=\"1.201\" -DXS_VERSION=\"1.201\" -fpic -I/usr/app/lib/perl5/CORE
-Ddatadir="\"/usr/app/share\"" -DHAVE_PDL=1  Lib.c

the second -I points directly to topdir. A common mistake is to configure
plug-ins/perl seperately, in which case the perl module will assume
a standalone build, which makes it seem work, but with the described

> bugs, but I currently do not understand what problems the libgimpi.a
> hacks are trying to solve.  Is there any reason for that or is it just
> because it worked once and nobody dared touching it later?

I think the problem is getting the overall dependency right with automake.
the hack doesn't seem to be necessary on linux, but maybe on some other
systems(?) and was therefore never taken out.

> Well, it's a pity to break one of the two options, but I think that it
> is better to get the compilation inside the Gimp tree working properly
> even if it means that the upgrade would be a bit more difficult.

Well, there was only a single outstanding issue with the Makefile.PL, but
the new way has the definite advantage that I am no longer directly liable
for it ;->

      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       [EMAIL PROTECTED] |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |

Reply via email to