|
From: Petergozz <go...@ar...> - 2001-02-27 05:47:05
|
cro...@li... wrote: > > Send Cronosii-users mailing list submissions to > cro...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.sourceforge.net/lists/listinfo/cronosii-users > or, via email, send a message with subject or body 'help' to > cro...@li... > > You can reach the person managing the list at > cro...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Cronosii-users digest..." > > Today's Topics: > > 1. gtk+ configure error (chronos) > 2. Re: gtk+ configure error (Pablo =?iso-8859-1?Q?Fern=E1ndez?= Navarro) > 3. configuration errors (chronos) > 4. gnome print configure error message (chronos) > > --__--__-- > > Message: 1 > From: chronos <ch...@in...> > Reply-To: ch...@in... > To: cro...@li... > Date: Sun, 25 Feb 2001 14:49:14 -0500 > Subject: [Cronosii-users] gtk+ configure error > > Hi, > Had a question when running the ./configure under cronosII it says > gtk+-config not found. Okay so I downloaded and installed glib for > starters and then downloaded and proceeded to install gtk+ and it gives > me the following error message: checking for GLIB - version >= 1.2.0 > ***glib-config --version returned 1.2.8 but GLIB 1.2.7 was found. > if glib-config was correct then it is best to remove the old version of > glib This is the best method. i.e. Unistall the old glib. GLIB / GDK (in GTK) are the rock on which you build your gnome / gtk install. Download your new glib and gtk packages. ls -lah them to make sure they are correct. then:::::: For an RPM based install: run the following.. 1. rpm -q glib rpms spits back "glib-version" (if it says glib refers to multiple packages (OUCH) you best uninstall ALL of them.) 2:NOW AS ROOT / SU : rpm -e --nodeps glib (you have the new one waiting -don't you?} 3:then: rpm -Uvh glib-ver. (you need to be in the same directory or give a full path.) 4: run the linker if you must on your system: /sbin/ldconfig 5: query your new glib like so: rpm - q glib. It should show your new glib-version. (if not do : rpm --rebuilddb and wait for some time as it regenerates a new data base) 6: Check the glib-conf function by running. (normal user very OK now) glib-config --version should return : The Major: Minor: Micro version numbers e.g. 1.2.8 to find out where that function lives (and thereby where rpm installed glib) type which glib-config Typically on rpm installs this will be /usr/bin/glib-config so your glibs are installed as /usr/lib/libglib* (the /sbin/ldconfig command takes care of the linking between the different versions of libraries by putting symbolic links between each stepup in version -in this case the number of links will be very shallow as you have uninstalled the original version.){there is a great utility called symlinks try "man symlinks" for fixing untidy links) You should now have no problem upgrading the rest of GTK+ and Cronos (or gnome) for RPM based installs use rpm -Uvh and it will automatically fix the old gtk for you. > you may be able to fix the error by modifying the ld library path > enviornment variable or by editing /etc/ld.so.conf > make sure you have run ld config if that is required on your system > if glib-config was wrong set the enviornment variable glib-config to ONLY DO THAT AS A LAST RESORT. > point to the correct copy of glib-config and remove file config.cache > > Now then I have glib-config version 1.2.8 installed it is in > /usr/local/bin/glib-config v1.2.8 > So how do I remove the older version ? Also where would it be ? If it's still there after doing the above it probably means you (or your system) has written over the original rpm with a tar ball install (or another type of rpm ) at some point. try rpm -V package No output = good. See above but the most likely spot is /usr/bin/glib-config. (not there? try # locate glib-config but be aware that locate usually only updates its data base once a day) > > The other problem is I think that glib-1.2.7-3mdk.src.rpm is there > somewhere, so then how would I remove it ? rpm -e --nodeps package. > > In /etc/ld.so.conf this is all that is in the file - /usr/lib > /usr/x11r6/lib /usr/i486-linux-libc5/lib /usr/lib so Im not to sure > what they mean to edit this file. add /user/local/lib as a new line to the end of the file especially if you are using tarball installs as these default to /usr/local/ as an install prefix. Please see Pablos Response to this mail as well it is rather less verbose than this. > Suggustions would be greatly appreciated. > thank you, chronos > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.4 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > owGbwMvMwCR4qefftFRF3XbG01xJLHrpBelWExM+dLixMAgyMbCxMoF4DFycAjBl > gl0Ms5g6xKteGCvq3r9VkyhZzmZx0//ySob50Wpd+xqemKZlOOZOfbyg/F6Z3Rxb > AA== > =tKnY > -----END PGP SIGNATURE----- > > --__--__-- > > Message: 2 > Date: Mon, 26 Feb 2001 02:46:04 -0300 > From: Pablo =?iso-8859-1?Q?Fern=E1ndez?= Navarro <cro...@us...> > To: cro...@li... > Subject: Re: [Cronosii-users] gtk+ configure error > > Hi > > You have a pretty common problem, you have two glib installed, probably 1.2.7 at /usr > and 1.2.8 at /usr/local > On Sun, 25 Feb 2001 14:49:14 -0500, chronos <ch...@in...> wrote: > > Hi, > > Had a question when running the ./configure under cronosII it says > > gtk+-config not found. Okay so I downloaded and installed glib for > > starters and then downloaded and proceeded to install gtk+ and it gives > > me the following error message: checking for GLIB - version >= 1.2.0 > > ***glib-config --version returned 1.2.8 but GLIB 1.2.7 was found. > > if glib-config was correct then it is best to remove the old version of > > glib > > you may be able to fix the error by modifying the ld library path > > enviornment variable or by editing /etc/ld.so.conf > > make sure you have run ld config if that is required on your system > > if glib-config was wrong set the enviornment variable glib-config to > > point to the correct copy of glib-config and remove file config.cache > > > > Now then I have glib-config version 1.2.8 installed it is in > > /usr/local/bin/glib-config v1.2.8 > > So how do I remove the older version ? Also where would it be ? > You should just do > rpm -e --nodeps glib > rpm -e --nodeps glib-devel (don't worry if this returns an error) > > How did you installed the 1.2.8 version? RPM? > Then you should do: > rpm -q glib > if this gives you a non error message (it doesn't tell you that there's no such a package) > you should do again > rpm -e --nodeps glib > rpm -e --nodeps glib-devel > > and now reinstall glib > > if you build from source you should do make uninstall > and then make install > > Before procceding to reinstall (tarball or rpm) the 1.2.8 you should check that glib-config > is an unknown command, if it isn't then you still have another copie around your system... > > > > > The other problem is I think that glib-1.2.7-3mdk.src.rpm is there > > somewhere, so then how would I remove it ? > > > > In /etc/ld.so.conf this is all that is in the file - /usr/lib > > /usr/x11r6/lib /usr/i486-linux-libc5/lib /usr/lib so Im not to sure > > what they mean to edit this file. > > Suggustions would be greatly appreciated. > > thank you, chronos > > Well, hope this helped you, Pablo. > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.0.4 (GNU/Linux) > > Comment: For info see http://www.gnupg.org > > > > owGbwMvMwCR4qefftFRF3XbG01xJLHrpBelWExM+dLixMAgyMbCxMoF4DFycAjBl > > gl0Ms5g6xKteGCvq3r9VkyhZzmZx0//ySob50Wpd+xqemKZlOOZOfbyg/F6Z3Rxb > > AA== > > =tKnY > > -----END PGP SIGNATURE----- > > > > _______________________________________________ > > Cronosii-users mailing list > > Cro...@li... > > http://lists.sourceforge.net/lists/listinfo/cronosii-users > > --__--__-- > > Message: 3 > From: chronos <ch...@in...> > Reply-To: ch...@in... > To: cro...@li... > Date: Mon, 26 Feb 2001 12:12:03 -0500 > Subject: [Cronosii-users] configuration errors > > Hi all, > When running the ./configure on cronosII this is the error message I get - > > checking for gnome-config... no > couldnt find gnome > checking for gnome-config... no > checking for gnome-print-version >=0.20.0... no > the gnome-config script installed by gnome-libs could not be found > if gnome-print was installed in PREFIX make sure PREFIX/bin is in your > path or set the gnome_config enviornment variable to the full path to > gnome-config > > checking for gtk-config... no > checking for gtk-version >=1.2.0... no > the gtk-config script installed by GTK could not be found > if GTK was installed in PREFIX make sure PREFIX/bin is in your path or > set the gtk_config enviornment variable to the full path to gtk_config You probably have a tar ball install of at least gnome-libs you may need to update your PATH like so: #echo $PATH #should show : /bin/:/usr/bin:/X11r6/bin/: as so on. e.g.[pete@localhost pete]$ echo $PATH /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/X11R6/bin:/home/pete/bin (oops I have X11R6 twice -no problem) is the Path / to / your / install/ there ? i.e.INSTALL-PREFIX/bin The default PATH (for tarball /autoconf and friends) is :/usr/local/. (you can change that to almost anything try ./configure --help before building) Before you add this (or anything)to the start of your path variable ask yourself is there anything else under that directory that I don't want your system to find before the defaults. The PATH variable is searched in the sequence you tell it. so it will load the first example of a binary it finds without giving you a warning that another version exists. You may change your PATH variable at the command line , in your .bashrc file or better in your .bash_profile file.(sytem wide stuff probably varies between distributions but /etc/profile and /etc/bashrc are good places to look...be carefull) COMMAND LINE EXAMPLE: [pete@localhost pete]$ echo $PATH /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/X11R6/bin:/home/pete/bin [pete@localhost pete]$ PATH=$PATH:/new/path/bin [pete@localhost pete]$ export PATH [pete@localhost pete]$ echo $PATH /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/X11R6/bin:/home/pete/bin:/new/path/bin > > Now then the interesting thing is I have GTK+ 1.2.0 installed from the > tar file from the gnome website and the install went just fine. I also > have glib 1.2.7 installed as well from the tar file from the gnome > website. So Im not sure why it doesnt see the gtk files. Im at a loss > here, suggustions ? See The Path stuff above your system finds the first example of gtk-config it sights this does not mean that an application won't find the old libraries as it will have been configured to those. So old rpm installs may only look for stuff under /usr/ and miss /usr/local. You can use ldd (man ld)to find out. Like this : [pete@localhost pete]$ ldd /usr/bin/cronos libpthread.so.0 => /lib/libpthread.so.0 (0x40020000) libgthread-1.2.so.0 => /usr/lib/libgthread-1.2.so.0 (0x40036000) libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x40039000) libgnomeui.so.32 => /usr/lib/libgnomeui.so.32 (0x4005e000) libart_lgpl.so.2 => /usr/lib/libart_lgpl.so.2 (0x40134000) libgdk_imlib.so.1 => /usr/lib/libgdk_imlib.so.1 (0x40143000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40167000) <snip> YOUR install SHOULD NOT LOOK EXACTLY LIKE THE ABOVE IT ILL DEPEND ON YOUR CURRENT LIBRARIES. NOTE;/ WARNING. Please be aware that writing over your rpm installed files will cause rpm all sorts of grief.(and therefore YOU) It is only wise to build your own rpms of glib and gtk. These tarballs include spec files and you can build your own by rpm -ta gtk-version-tar.gz..... (rpm --help + man rpm) Sorry for being so verbose Pete > Thank you, chronos > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.4 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > owGbwMvMwCR4qefftFRF3XbG01xJLHrpBelWExM+dLixMAgyMbCxMoF4DFycAjBl > gl0Ms5g6xKteGCvq3r9VkyhZzmZx0//ySob50Wpd+xqemKZlOOZOfbyg/F6Z3Rxb > AA== > =tKnY > -----END PGP SIGNATURE----- > > --__--__-- > > Message: 4 > From: chronos <ch...@in...> > Reply-To: ch...@in... > To: cro...@li... > Date: Mon, 26 Feb 2001 12:24:49 -0500 > Subject: [Cronosii-users] gnome print configure error message > > Hi all, > Im trying to install the cronosii email program and it requires > gnome-print and this is the error message I get when running ./configure > for gnome-print > > checking for gnome-config... no > checking for gnomeConf.sh file in /usr/local/lib... not found > configure error: could not find the gnomeConf.sh file that is generated > by gnome-libs install > > Now then I have the gnome-print tar file and got it from the gnome > website and I also have glib or gnome libs v.1.2.7 installed and the > install of glibs went fine. When I goto /usr/local/lib/gnomeConf.sh there > is a folder there but it is empty. So do I need to copy some files to > that folder or create some sort of link ? Really would like to get this > solved so I can use the program, it looks really cool. > Thank you, chronos > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.4 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > owGbwMvMwCR4qefftFRF3XbG01xJLHrpBelWExM+dLixMAgyMbCxMoF4DFycAjBl > gl0Ms5g6xKteGCvq3r9VkyhZzmZx0//ySob50Wpd+xqemKZlOOZOfbyg/F6Z3Rxb > AA== > =tKnY > -----END PGP SIGNATURE----- > > --__--__-- > > _______________________________________________ > Cronosii-users mailing list > Cro...@li... > http://lists.sourceforge.net/lists/listinfo/cronosii-users > > End of Cronosii-users Digest |