Proper way to replace Glib; need to build GTK3.0 for Anjuta 3.0
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Proper way to replace Glib; need to build GTK3.0 for Anjuta 3.0
Hi all. I've gone about as far as I can with this without trashing my system. I'm running Mint 10 LXDE with XFCE.
Ultimate objective: Install latest Anjuta 3.0 from source (not yet in repos)
Anjuta ./configure reported a need for updated packages, such as GTK 3.0, Glib, Gio, etc.
I downloaded GTK 3.0 and 'config' reported a need for an updated Glib. So I downloaded that and have installed it successfully (no prefixes; from home dir.)
But now GTK config is stating that it has found two versions of Glib, which I guess makes sense since I made no attempt to replace the old one.
So, what is/was the proper way to replace the old Glib so there is only one version, or, is that a bad idea? Will some software still be dependent on the old Glib, or do the devs make the libraries backward compatible? Where do I go from here?
Quote:
checking for GLIB - version >= 2.28.0...
*** 'pkg-config --modversion glib-2.0' returned 2.28.6, but GLIB (2.26.1)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLIB 2.28.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/.
You are facing an uphill battle. You do need to remove the newer version of glib.
Your best bet would be to use the GNOME Jhbuild tool to build a gtk-3.0 enviornment at an alternate prefix ( either in your home directory or somewhere in /opt, such as /opt/gnome )
So, what is/was the proper way to replace the old Glib so there is only one version, or, is that a bad idea? Will some software still be dependent on the old Glib, or do the devs make the libraries backward compatible? Where do I go from here?
Normally, installing a new version removes the old version. Are you sure one isn't 32-bit and the other 64-bit?
I'd try removing the old version - if the removal software doesn't object, it's not likely to break anything. If there's an objection, I'd definitely reconsider.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.