MLUG: Re: [UUG/MLUG] Compile problems
Re: [UUG/MLUG] Compile problems
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ryan Gaul wrote:
> 
> Does anyone else have trouble getting gtk based programs to compile?  I
> have had a hell of a time trying to compile several programs that
> require gtk.  I have gtk 1.20 installed, which is the level called for,
> but when the configure script runs, the gtk-config test fails.  I've
> uninstalled and reinstalled gtk.  I've also tried running the configure
> script with the --disable-gtktest switch.  Then the makefiles are
> written just fine, but the program doesn't compile, it looks for
> gnome.h, which I assumed was part of gtk, but does not exist on my
> system, even though gnome and the gimp are installed and run without any
> hassle.  I assume, then that gnome.h is supposed to get made by the
> configure script, and disabling the gtk-test breaks the configure
> script.  Any suggestions.  This is not life and death, since I'm only
> trying to compile gnomeicu, but I've had this same  trouble over and
> over again with several different programs and it's getting frustrating.
> 
> Ryan Gaul

Hear is a suggestion.  I installed gtk using the ports on FreeBSD,
so maybe it is slightly different with you.  But I found that the
gtk-config program was actually called gtk12-config.  (I guess this
is in case you have both gtk 1.1 and gtk 1.2 installed.)  The easiest
way to get around this is to create a link:

ln -s /whereveritis/gtk12-config /someplaceforbins/gtk-config

that is, if this is your problem.  (If you are using tcsh type
gtk control-D - if you are using bash, type gtk TAB TAB TAB - this
will tell you all the programs you have installed that begin with
gtk.)
-- 

Stephen Montgomery-Smith              EMAIL:PROTECTED
307 Math Science Building             EMAIL:PROTECTED
Department of Mathematics             EMAIL:PROTECTED
University of Missouri-Columbia
Columbia, MO 65211
USA

Phone (573) 882 4540
Fax   (573) 882 1869

http://math.missouri.edu/~stephen