Re: [nylug-talk] Re: GIMP How to configure????



Yes this is a SuSE distro.

When I do which gtk-config it returns /usr/local/bin Should I do a which gtk-conf --libs --cflags?

I must say eventhough this has been a frustrating experience, I've learned alot. I'm sure this will help me in the future dealings with my system. I think it's good to "know my box," how it works and the file structure.

I was thinking of removing all references to gtk and starting over. Is this a good idea? Should I untar the gtk+-1.2.10.tar.gz file in /usr/local and run ./configure from there?

Thanks again for all the help and patience
Joe

Brooklyn Linux Solutions <ruben mrbrklyn com> wrote:
> -config>>

You are right.  His config file can't seem to find the libraries.
usr/bin/gtk-config --libs
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl
-lXi -lXext -lX11 -lm


Do a which gtk-config and see the output of gtk-conf --libs --cflags

Your setup seems to be inherently confused.  Is this SuSe?  They set things
up differently and they don't install the development system, which can be
a big problem.


Ruiben


, which is the script to
provide the compile time options. This issue is where gtk is as a
heirarchy, in this case /usr/local.

--dave

> 
> Try a which gtk_config.
> 
> Export the path if it is changed.
> 
> Ruben
> 
> >
> 
> > Thanks for all the help sooooo far, I'm also there.
> > 
> > I have two files named gtk-config, one located in /usr/local/bin the
other is in /home/joev/stuff/gtk+-1.2.10 (this is where I dowloaded the
.tar.gz file). I've pointed the PATH to both locations:
> > 
> > root joev:/home/joev > export PATH=$PATH:/usr/local/bin
> > root joev:/home/joev > which gtk-config
> > /usr/local/bin/gtk-config
> > root joev:/home/joev > locate gtk-config
> > /home/joev/stuff/gtk+-1.2.10/docs/gtk-config.1
> > /home/joev/stuff/gtk+-1.2.10/docs/gtk-config.1.in
> > /home/joev/stuff/gtk+-1.2.10/docs/gtk-config.txt
> > /home/joev/stuff/gtk+-1.2.10/gtk-config
> > /home/joev/stuff/gtk+-1.2.10/gtk-config.in
> > /usr/local/bin/gtk-config
> > /usr/local/man/man1/gtk-config.1
> > root joev:/home/joev > export PATH=/usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin:/home/joev/stuff/gtk+-1.2.10
> > root joev:/home/joev > which gtk-config
> > /home/joev/stuff/gtk+-1.2.10/gtk-config
> > 
> > and the result is still the same:
> > 
> > checking for GTK - version >= 1.2.8... no
> > *** The gtk-config script installed by GTK could not be found
> > *** If GTK was installed in PREFIX, make sure PREFIX/bin is in
> > *** your path, or set the GTK_CONFIG environment variable to the
> > *** full path to gtk-config.
> > configure: error: Test for GTK failed. See the file 'INSTALL' for help.

> > 
> > What am I doing wrong??
> > 
> > Thanks Again
> > Joe
> > 
> 


-- 
Brooklyn Linux Solutions
http://www.mrbrklyn.com
http://www.brooklynonline.com

1-718-382-5752





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