Guest vdozer Posted April 13, 2005 Report Share Posted April 13, 2005 i am a complete retard... i cant get this dam glib 2.6.4 installed i compiled from source and everything went ok it installed to /usr/local/lib but after "make install" it did not work, gtk can't find it and i can use glib 2.6.1 rpm since there are dependenices or something can someone give me a really simple step by step on how to install GLIB then GTK??? i am sooo exhaustsed from this thing... thanks since pkg-config coulndt find it i put the .pc files into /usr/lib/pkconfig and then gtk kicked back this checking for GLIB - version >= 2.5.7... *** 'pkg-config --modversion glib-2.0' returned 2.6.4, but GLIB (2.4.6) *** 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.5.7 or better is required. The latest version of *** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed *** but not in the same location as pkg-config add the location of the file *** glib-2.0.pc to the environment variable PKG_CONFIG_PATH. [moved from Software by spinynorman - welcome aboard :)] Quote Link to comment Share on other sites More sharing options...
iphitus Posted April 13, 2005 Report Share Posted April 13, 2005 Why are you compiling GLIB from source? GLIB would already be installed on your system. Quote Link to comment Share on other sites More sharing options...
Guest vdozer Posted April 13, 2005 Report Share Posted April 13, 2005 but it Ethereal needs version 2.6.0 + i dunno what is up i ahve mandrake 10.1 too but i guess glib versions is not up to date HELP! Why are you compiling GLIB from source? GLIB would already be installed on your system. <{POST_SNAPBACK}> Quote Link to comment Share on other sites More sharing options...
iphitus Posted April 13, 2005 Report Share Posted April 13, 2005 The best thing you can do, is follow my FAQ at http://www.mandrakeusers.org/index.php?showtopic=10600 It will tell you how to install programs properly, the mandrake way. As a user, you should never need to compile a program on mandrake, unless its an extremely obscure one. The first think you need to do from that FAQ is to setup your mandrake sources. http://www.mandrakeusers.org/easyurpmi Go there, pick some mirrors close to you, then put the commands it gives you, into the command line, as the root user. After that, you can 'urpmi ethereal' or go into rpmdrake and click on ethereal there. This wil automagically download, and install ethereal and everything it needs for you. Good luck, have fun. Post back if it doesnt go to plan Quote Link to comment Share on other sites More sharing options...
domtar Posted April 13, 2005 Report Share Posted April 13, 2005 Why are you compiling GLIB from source? GLIB would already be installed on your system. <{POST_SNAPBACK}> some people like to have fun and learn Gtk can't find glib because /usr/local/lib is not in /etc/ld.so.conf by default. You have to add it and run ldconfig from the commandline. Just make sure you put the right path to glib in /usr/local there. This is how you can install different versions of dependencies to get the app you want, which is sometimes necessary if you play around a lot. You can also tell the app or lib you are compiling where these other apps and libs are. Check out ./configure --help /etc/ld.so.conf include ld.so.conf.d/*.conf /usr/lib/qt3/lib /usr/X11R6/lib /usr/local/lib Quote Link to comment Share on other sites More sharing options...
domtar Posted April 13, 2005 Report Share Posted April 13, 2005 forgot to tell you, if you haven't figured it out yet, that to avoid this, if you want to overwrite your current glib, you compile with ./configure --prefix=/usr so that the app or lib will install to /usr/lib instead of /usr/local/lib. /usr/local is the default for tarballs. Quote Link to comment Share on other sites More sharing options...
Guest vdozer Posted April 14, 2005 Report Share Posted April 14, 2005 THANKS!!!! i didnt know about easy RPM really good stuff, compling from source is a pain in the asss, this is defenitly way easier!!!!!!!!!!!!!!! THANKS again hey for ldconfig, i did that before but it didnt read it, do u have to be in the /etc directory for it to update... it never reports any error so i tohught u can run it anywhere.. thanks The best thing you can do, is follow my FAQ at http://www.mandrakeusers.org/index.php?showtopic=10600 It will tell you how to install programs properly, the mandrake way. As a user, you should never need to compile a program on mandrake, unless its an extremely obscure one. The first think you need to do from that FAQ is to setup your mandrake sources. http://www.mandrakeusers.org/easyurpmi Go there, pick some mirrors close to you, then put the commands it gives you, into the command line, as the root user. After that, you can 'urpmi ethereal' or go into rpmdrake and click on ethereal there. This wil automagically download, and install ethereal and everything it needs for you. Good luck, have fun. Post back if it doesnt go to plan <{POST_SNAPBACK}> Quote Link to comment Share on other sites More sharing options...
Guest vdozer Posted April 14, 2005 Report Share Posted April 14, 2005 BTW, how do u know what packages/applications are available??? ?thanks Quote Link to comment Share on other sites More sharing options...
adamw Posted April 14, 2005 Report Share Posted April 14, 2005 vdozer: the graphical package manager, rpmdrake, has lots of options for accessing lists of available packages and doing searches. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.