Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-17-2005, 01:45 AM
|
#1
|
LQ Newbie
Registered: Mar 2005
Posts: 22
Rep:
|
Help; can't install atk-1.9.0 for gnomad, glib problem
OK, i'm ultimately trying to install gnomad to get my zen mp3 player to work, but i need to install this atk-1.9.0 along the way. problem is 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.
i'm using suse 9.2, so i go into yast2 and see that glib is at version 1.2.10-589, and glib2 is at version 2.4.6. i've installed glib from .tar.gz over and over, which is version 2.6.4, but this program just won't pick it up. what's going on? is it getting glib and glib2 confused?? please help!!
karsten
|
|
|
04-17-2005, 01:57 AM
|
#2
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
Re: Help; can't install atk-1.9.0 for gnomad, glib problem
Quote:
Originally posted by avidwriter
OK, i'm ultimately trying to install gnomad to get my zen mp3 player to work, but i need to install this atk-1.9.0 along the way. problem is 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.
i'm using suse 9.2, so i go into yast2 and see that glib is at version 1.2.10-589, and glib2 is at version 2.4.6. i've installed glib from .tar.gz over and over, which is version 2.6.4, but this program just won't pick it up. what's going on? is it getting glib and glib2 confused?? please help!!
karsten
|
you are installing glib 2 in parallel with the glib that came with your system, this will not work unless you know how to force the system to ignore one or the other both at compile time and at runtime. ( note that glib-1.x and glib-2.x are two completely different libraries, if you have glib2 installed it will not satisfy a program that wants glib-1.x)
so if you really want to do this:
first remove the glib that came with your suse system( and the one you have been installing from source - go back to the source directory and do "make uninstall"), then rebuild glib-2.6.x with "./configure --prefix=/opt/gnome ( double check on this, but i'm pretty sure suse installs all of the gnome libs in /opt/gnome), make, and either make install ( not recommended) or make a rpm and install it ( recommended, if you don't know how to do this, google for checkinstall, to use it run "checkinstall" instead of "make install". there are two reasons for this, one is it make upgrade/removal of the new package much easier, two is it will upgrade the rpm database (make install will not do this for you, if you try to install an rpm later that depends on the glib you installed from source, it will fail telling you that glib-2.x is not installed)).
next, do atk the same way.
then pango, BUT when ./configure --prefix=/opt/gnome is done, MAKE SURE xft is listed as a backend to be built ( configure will give a summary of backends to be built at the end). if it is not, post back and we'll fix that.
then finall do gtk the same way as glib and atk
don't forget to get libnjb from cvs prior to going ahead with gnomad ( note that my experience is it works good until you ugrade the firmware to one of the beta versions ( I have a zen micro, your results may vary))
finally, programs you can *usually* get away with doing "./configure,make, make install" but alot of times that is not sufficient, you need to set things up certain ways if you expect them to work ( always do ./configure --help first - you're only really concerned with the --enable-xxx or --disable-xxx options, sometimes a --with-xxxxx or --with-xxxx-prefix)
|
|
|
04-17-2005, 02:08 AM
|
#3
|
LQ Newbie
Registered: Mar 2005
Posts: 22
Original Poster
Rep:
|
hi thanks a ton but when you say uninstall glib that came with my suse system do you mean glib version 1.2.10 or glib2 2.4.6?? either one says it's gonna break like half the applications installed on my computer i'm not a pro at thsi and am scared
|
|
|
04-17-2005, 02:31 AM
|
#4
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
just the 2.x version, when you install glib-2.6 you will be upgrading the glib-2.4 so your apps will still work ( worst case scenario, things break and you have to get your install cd's/dvd out and reinstall the glib-2.4 rpm again).
note that you want to build the new glib first, then uninstall the older one ( the 2.x), then immediately install the new one.
|
|
|
04-17-2005, 02:34 AM
|
#5
|
LQ Newbie
Registered: Mar 2005
Posts: 22
Original Poster
Rep:
|
k i built the 2.6.4 glib with checkinstall (yay!) but it won't install saying that glib2devel requires 2.4.6-, whereas this is 2.6.4-1 or something. arg!! it wont let me do ok continue anyways
Last edited by avidwriter; 04-17-2005 at 02:46 AM.
|
|
|
04-17-2005, 02:39 AM
|
#6
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
rpm is a complex program ( see "man rpm" for details, there are tons of options) but basically:
rpm -Uvh <rpm name> --force
|
|
|
04-17-2005, 02:40 AM
|
#7
|
LQ Newbie
Registered: Mar 2005
Posts: 22
Original Poster
Rep:
|
see above i edited it, i think it's cause i was making the rpm wiht name of glib and not glib2.. changed it now it will break glib2devel b/c glib2devl needs 2.4.6- and i'm trying to install 2.6.4...if i remove glib2devel and it's 5 referringpackages will i be able to reinstall them with this new version of glib2?
thanks..
karsten
Last edited by avidwriter; 04-17-2005 at 02:45 AM.
|
|
|
04-17-2005, 02:54 AM
|
#8
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
rpm distro's split their library packages - one part contains the actual libraries ( glib2-2.4.x-ixxx) and the other contains the rest of the package ( like header files, config scripts, pkg-config scripts, etc... these are needed to compile against the library and are called -devel packages). when you install from source, you get all of the -devel stuff, it's not split. it's safe to remove the -devel package.
|
|
|
04-17-2005, 03:11 AM
|
#9
|
LQ Newbie
Registered: Mar 2005
Posts: 22
Original Poster
Rep:
|
i give up. i've gotten down to installing gtk+- because gnomad said it couldn't find gtk+-2.0 but the checkinstall won't work on it. it gives
make install-data-hook
make[4]: Entering directory `/120gig/downloads/drivers/zen/gtk+-2.6.7/gtk+-2.6.7/modules/input'
/bin/sh ../../mkinstalldirs /usr/local/etc/gtk-2.0
../../gtk/gtk-query-immodules-2.0 > /usr/local/etc/gtk-2.0/gtk.immodules
Cannot load module /usr/local/lib/gtk-2.0/2.4.0/immodules/im-xim.so: /usr/local/lib/gtk-2.0/2.4.0/immodules/im-xim.so: cannot open shared object file: No such file or directory
/usr/local/lib/gtk-2.0/2.4.0/immodules/im-xim.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.4.0/immodules/im-xim.so: cannot open shared object file: No such file or directory
Cannot load module /usr/local/lib/gtk-2.0/2.4.0/immodules/im-am-et.so: /usr/local/lib/gtk-2.0/2.4.0/immodules/im-am-et.so: cannot open shared object file: No such file or directory
/usr/local/lib/gtk-2.0/2.4.0/immodules/im-am-et.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.4.0/immodules/im-am-et.so: cannot open shared object file: No such file or directory
Cannot load module /usr/local/lib/gtk-2.0/2.4.0/immodules/im-cedilla.so: /usr/local/lib/gtk-2.0/2.4.0/immodules/im-cedilla.so: cannot open shared object file: No such file or directory
/usr/local/lib/gtk-2.0/2.4.0/immodules/im-cedilla.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.4.0/immodules/im-cedilla.so: cannot open shared object file: No such file or directory
Cannot load module /usr/local/lib/gtk-2.0/2.4.0/immodules/im-cyrillic-translit.so: /usr/local/lib/gtk-2.0/2.4.0/immodules/im-cyrillic-translit.so: cannot open shared object file: No such file or directory
/usr/local/lib/gtk-2.0/2.4.0/immodules/im-cyrillic-translit.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.4.0/immodules/im-cyrillic-translit.so: cannot open shared object file: No such file or directory
Cannot load module /usr/local/lib/gtk-2.0/2.4.0/immodules/im-inuktitut.so: /usr/local/lib/gtk-2.0/2.4.0/immodules/im-inuktitut.so: cannot open shared object file: No such file or directory
/usr/local/lib/gtk-2.0/2.4.0/immodules/im-inuktitut.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.4.0/immodules/im-inuktitut.so: cannot open shared object file: No such file or directory
Cannot load module /usr/local/lib/gtk-2.0/2.4.0/immodules/im-ipa.so: /usr/local/lib/gtk-2.0/2.4.0/immodules/im-ipa.so: cannot open shared object file: No such file or directory
/usr/local/lib/gtk-2.0/2.4.0/immodules/im-ipa.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.4.0/immodules/im-ipa.so: cannot open shared object file: No such file or directory
Cannot load module /usr/local/lib/gtk-2.0/2.4.0/immodules/im-thai-broken.so: /usr/local/lib/gtk-2.0/2.4.0/immodules/im-thai-broken.so: cannot open shared object file: No such file or directory
/usr/local/lib/gtk-2.0/2.4.0/immodules/im-thai-broken.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.4.0/immodules/im-thai-broken.so: cannot open shared object file: No such file or directory
Cannot load module /usr/local/lib/gtk-2.0/2.4.0/immodules/im-ti-er.so: /usr/local/lib/gtk-2.0/2.4.0/immodules/im-ti-er.so: cannot open shared object file: No such file or directory
/usr/local/lib/gtk-2.0/2.4.0/immodules/im-ti-er.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.4.0/immodules/im-ti-er.so: cannot open shared object file: No such file or directory
Cannot load module /usr/local/lib/gtk-2.0/2.4.0/immodules/im-ti-et.so: /usr/local/lib/gtk-2.0/2.4.0/immodules/im-ti-et.so: cannot open shared object file: No such file or directory
/usr/local/lib/gtk-2.0/2.4.0/immodules/im-ti-et.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.4.0/immodules/im-ti-et.so: cannot open shared object file: No such file or directory
Cannot load module /usr/local/lib/gtk-2.0/2.4.0/immodules/im-viqr.so: /usr/local/lib/gtk-2.0/2.4.0/immodules/im-viqr.so: cannot open shared object file: No such file or directory
/usr/local/lib/gtk-2.0/2.4.0/immodules/im-viqr.so does not export GTK+ IM module API: /usr/local/lib/gtk-2.0/2.4.0/immodules/im-viqr.so: cannot open shared object file: No such file or directory
make[4]: *** [install-data-hook] Error 1
make[4]: Leaving directory `/120gig/downloads/drivers/zen/gtk+-2.6.7/gtk+-2.6.7/modules/input'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory `/120gig/downloads/drivers/zen/gtk+-2.6.7/gtk+-2.6.7/modules/input'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/120gig/downloads/drivers/zen/gtk+-2.6.7/gtk+-2.6.7/modules/input'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/120gig/downloads/drivers/zen/gtk+-2.6.7/gtk+-2.6.7/modules'
make: *** [install-recursive] Error 1
**** Installation failed. Aborting package creation.
so now what?
|
|
|
04-17-2005, 03:17 AM
|
#10
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
what's with the /usr/local in the output, what are you passing to ./configure?
also, does "make install" work correctly ( if you do this method, be sure to keep that source directory around.)
|
|
|
04-17-2005, 03:34 AM
|
#11
|
LQ Newbie
Registered: Mar 2005
Posts: 22
Original Poster
Rep:
|
yeah i don't know.. i was skipping the libtiff and libjpeg if that matters. i was doing the --prefix=/opt/gnome stuff for this too. should it be just ./configure?
i went back and added tiff via above methods, but jpeg didn't work for some reason, so i'm skipping it for now..
trying just ./configure and will build rpm to see if it works.. it's late i'm so sorry but thanks for your help youre awesome
Last edited by avidwriter; 04-17-2005 at 03:38 AM.
|
|
|
04-17-2005, 03:39 AM
|
#12
|
LQ Newbie
Registered: Mar 2005
Posts: 22
Original Poster
Rep:
|
the checkinstall on gtk+- is asking:
make install-exec-hook
make[5]: Entering directory `/120gig/downloads/drivers/zen/gtk+-2.6.7/gtk+-2.6.7/gdk'
/bin/sh ../sanitize-la.sh /usr/local/lib/libgdk-x11-2.0.la
mv: overwrite `/usr/local/lib/libgdk-x11-2.0.la', overriding mode 0755?
what should i answer?
i tried no and it ultimately gave the same /usr/local error. funny thing is it's referencing all that 2.4.0 stuff. in yast2 it shows gtk2 @ version 2.4.9-10. i don't see why gnomad can't see this version as being installed??
Last edited by avidwriter; 04-17-2005 at 03:45 AM.
|
|
|
04-17-2005, 03:43 AM
|
#13
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
have you installed gtk doing ./configure before? shouldn't be anything in /usr/local ( suse puts it all in /opt/gnome, most other distro's in /usr/) you should be alright
|
|
|
04-17-2005, 09:58 AM
|
#14
|
LQ Newbie
Registered: Mar 2005
Posts: 22
Original Poster
Rep:
|
i don't remember how i installed gtk. it shows up in yast2 though so i'm thinking it must have been done through there? is that why gnomad doesn't see it is because it was done through yast?
i uninstalled it and broke like 30 packages and am trying that checkintsall of it but it keeps giving that error about the /usr/local nonsense. and the 2.4 version stuff? (?)
should i just get a rpm version and try that? would gnomad see it?
|
|
|
04-17-2005, 08:19 PM
|
#15
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
gnomad will find it as long as everything is set up correctly ( your PATHS have to be correct, which is why we were installing to /opt/gnome - everything there will be properly set up, as opposed to /usr/local where you will have to do things manually to set them up.)
|
|
|
All times are GMT -5. The time now is 04:56 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|