On jeudi, nov 14, 2002, at 17:18 Europe/Paris, Matt Richardson wrote:

Hi Martin,
I added the missing piece manually and it worked perfectly, the Gimp is up and running. I appreciate the effort you put into finding the cause of the problem. My next question is how did you figure out the problem? I have a really vague idea of how it could be done, but being a *nix newbie I'd like to know how a seasoned user went about doing it. If it's too much trouble, I understand.
OK, here is the story. (Well, it involves a lot of stumbling around in the fog, so I may not remember all the details).

I am keeping a lot of build logs around. In the case at hand, I didn't have one, so I ran a fink rebuild gimp and directed the output to a file. I also told fink to keep the build directory which otherwise is removed at the end of a successful build.( KeepBuildDir: yes in fink.conf.) It worked OK. Then I compared the output to the snippet you (or someone else) had given on the list. I saw that I had an extra -lgnomesupport in there.

Earlier, I had already found that libgnomesupport seems to be the only library on 10.1 that defines the missing symbol, and that libgtkxmhtml has this symbol, too, but marked as undefined. Therefore a lonely "-lgtkxmhtml" for you and a pair of "-lgtkxmhtml -lgnomesupport" for me would explain the situation.

So I did a grep gtkxmhtml through the whole /sw/src/gimp-1.2.3-9 directory. This showed among others a line
/sw/src/gimp-1.2.3-9/gimp-1.2.3/configure: GTKXMHTML_LIBS=`$GNOME_CONFIG --libs gtkxmhtml`
Or maybe I did a "grep lgtkxmhtml -r /sw/bin" first, which came up with the line in /sw/bin/gnome-config looking suspiciously like the collection of linker directives in the bad linker line with the fatal error.

So it was pretty clear that gimp's configure script got its linker line from gnome-config, and your gnome-config and mine must have worked differently. "dpkg -S gnome-config" showed that this is part of the gnome-libs package, and "fink list gnome-libs" showed that I didn't have the latest version. So I did a "fink rebuild gnome-libs", and indeed the new gnome-config had lost its "-lgnomesupport". Now I should have tried to find out why this was so, but I decided, as interesting as it was, I had spent enough time with this mystery.
Plus, it's a non-issue on OSX 10.2.

So I did a final "fink rebuild gimp", which now gave me the same error that you had seen, wrote the message to the list, and went to bed.

"Elementary, dear Watson".

--
Martin






-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners


Reply via email to