Re: [Gimp-user] Dependency (GTK/Glib) compile probs
On Tue, Sep 21, 2004 at 04:20:54AM +, Eric Pierce wrote: > This is probably insanely simple. > > I'm trying to compile 2.1.5, so I had to update glib (2.4.6) on my system which I > did with '--enable-shared' config flag. All went well. > > Then, gtk 2.4.9 configured (with --enable-shared) fine, but during 'make' it exists > out looking for /opt/gnome/lib/libgobject-2.0.la which glib placed here: > /usr/local/lib/libgobject-2.0.la > > What config option do I need to tell gtk where libgobject-2.0.la is now? > i think running ldconfig fixes this. > I know this is really a question for GTK's mailing list, but I don't feel like > budging from the cozy comform of the gimp list. > others have suggested that you make sure about your pkg-config stuff. there is a script, available on www.gimp.org that sets this for you: http://www.gimp.org/source/howtos/gimpenv with the console you are doing the building with, type "source gimpenv" and all the bothersome paths get set. carol ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Dependency (GTK/Glib) compile probs
Hi, Quoting Eric Pierce <[EMAIL PROTECTED]>: > Then, gtk 2.4.9 configured (with --enable-shared) fine, but during 'make' it > exists out looking for /opt/gnome/lib/libgobject-2.0.la which glib placed > here: /usr/local/lib/libgobject-2.0.la Try running ldconfig, and making sure that the pkgconfig on your path is finding the right glib-2.0.pc file (have a look at the output of pkgconfig --libs glib-2.0), then check your PKG_CONFIG_PATH environment variable. It looks like you'll need to re-run configure anyway... Cheers, Dave. -- Dave Neary Lyon, France ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Dependency (GTK/Glib) compile probs
Hi, Eric Pierce <[EMAIL PROTECTED]> writes: > This is probably insanely simple. > > I'm trying to compile 2.1.5, so I had to update glib (2.4.6) on my > system which I did with '--enable-shared' config flag. All went > well. > > Then, gtk 2.4.9 configured (with --enable-shared) fine, but during > 'make' it exists out looking for /opt/gnome/lib/libgobject-2.0.la > which glib placed here: /usr/local/lib/libgobject-2.0.la > > What config option do I need to tell gtk where libgobject-2.0.la is > now? You did make sure that pkg-config picks up the right version? BTW, --enable-shared is the default, you don't need to specify it explicitely. Sven ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] Dependency (GTK/Glib) compile probs
This is probably insanely simple. I'm trying to compile 2.1.5, so I had to update glib (2.4.6) on my system which I did with '--enable-shared' config flag. All went well. Then, gtk 2.4.9 configured (with --enable-shared) fine, but during 'make' it exists out looking for /opt/gnome/lib/libgobject-2.0.la which glib placed here: /usr/local/lib/libgobject-2.0.la What config option do I need to tell gtk where libgobject-2.0.la is now? I know this is really a question for GTK's mailing list, but I don't feel like budging from the cozy comform of the gimp list. Any help appreciated! Eric Pierce ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user