[SOLVED] GTK+ 3.0.x upgrade fails under compilation (Slackware 13.38 64-bit)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
GTK+ 3.0.x upgrade fails under compilation (Slackware 13.38 64-bit)
Hi,
I try to compile the newest version of GTK+ (3.0.12). I followed the guide from http://developer.gnome.org/gtk3/stab...-building.html. I have tried to compile all version from 3.0.x to 3.0.12, however the result gives same error.
I have also compiled the current versions of GLib, atk, pango, gdk-pixbuf but without any problem (I first removed all the old ones via pkgtool).
Now, to the error I get from compiling GTK+ 3.0.x is:
Code:
/bin/grep: /usr/lib64/libgobject-2.0.la: No such file or directory
/bin/sed: can't read /lib64/libgobject-2.0.la: No such file or directory
libtool: link: '/usr/lib64/libgobject-2.0.la' is not a valid libtool archive
...
make: *** [all] error 2
Any clue on what my problem is?
*EDIT: And of course, I use Slackware 13.37 and NOT 13.38 ...
*EDIT2: And yes, I have libgobject installed...
Last edited by Bindestreck; 08-10-2011 at 10:21 AM.
Ah, I think the problem is that my *.la -file is not located at /usr/lib64/, but in /opt/gtk/lib. But I thought it would find it when I configured with:
./configure --prefix=/opt/gtk
Shouldnt "make" then install it under that direction? However, where can I change so make look into /opt/gtk/lib when searching for libgobject.-2.0.la file? Sorry, but Im a bit noobish about compiling programs...
Last edited by Bindestreck; 08-10-2011 at 10:30 AM.
you should have no problems installing it in /usr, as it's made to live beside gtk+2, it does not substitute it (just a few gtk apps support +3 at the moment).
ah, two hints come to mind.
maybe can help:
- setting LD_LIBRARY_PATH, LDFLAGS and --libdir when you run gtk+3 configure;
- installing libraries (glib2 and the others too) in $PREFIX/lib$LIBDIRSUFFIX can be more portable.
I installed the dependencies for GTK+ on /usr. I copied all /usr/lib/pkgconfig/*.pc to /usr/local/lib/pkgconfig and /usr/lib64/pkgconfig. I then added /usr/local/lib/ and /usr/lib/ to PKG_CONFIG_PATH permanently through /etc/profile.
I then did a default ./configure and then make, however, same problem occured with same error!
Ok, I became more dirty and sick of this and then copied all *.la -files from /usr/lib to /usr/lib64. And also added all libraries to my ld.so.conf:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.