Re: Installing FractalExplorer - Problems & Solutions




Jeff Trefftzs <trefftzs@mindy.tcsn.net> writes:

> Installing the FractalExplorer plug-in to gimp-0.99 posed
> problems because the code, as downloaded, would neither compile nor
> run. 

Hmmm, GIMP-1.0 was released the better part of a year ago.
So you are talking about rather out-of-date code.

> My system:  RedHat Linux 5.1.
> 
> While rummaging through the gimp plug-ins registry I discovered the
> Fractal Chaos Explorer plug-in, and thought "Wow!, I've got to have
> this!"  So, I tracked it down and downloaded it.

> 		      Problem #1 - glibconfig.h

[...] 

> 		    Problem #2: Missing libraries

[...]

You wouldn't have these problems at all if the Makefiles
used gtk-config (see docs/gtk-config). But wait, the GIMP 
includes the very cool gimptool script for compiling plugins...

Generally, you can just compile a plugin with

 gimptool plugin.c


> 		  Problem #3: gtk_tooltips_set_tips
> 
> This one was fun.  Undefined function gtk_tooltips_set_tips found in
> several places.  I began by checking the on-line documentation for
> gtk.  No mention of this function nor anything like it.  Tried the
> documentation at http://www.gimp.org, same result.  Tried DejaNews,
> searching for gtk_tooltips_set_tips, and finally got a lot of hits,
> but initialy, not a lot of help.  (This problem apparently cropped up
> in the ControlPanel as well as the gimp).  There were messages in a
> variety of languages:  I recognized English, German, Finnish, Chinese,
> and Italian.  My breakthrough came from the post by Andrea in Italian,
> where he pointed out that the gtk_tooltips_set_tips had been replaced
> in the later version of the library, that the new function was called
> 
> 			 gtk_tooltips_set_tip
> 
> (no final "s), and that it took one more parameter, NULL.  So, I went
> into the source and tweaked all the instances of the call to
> gtk_tooltips_set_tips.  (One in Dialogs.h, and five more in
> FractalExplorer.c).  At last, a clean compile!

Again, this is a very old change. If you look in the GTK+ ChangeLogs 
you'd find a mention of this. But I think you should expect
trying to compile code written before the first public releases
of GTK+ and the GIMP to be a bit of an excercise in archeology.

                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]