I am using SUSE 8.2 and I often get error messages like this when
attempting to install rpm packages:
"checking for pthread_create in -lpthread... yes
checking for pthread_create in -lc_r... no>
checking for glib-config... no>
checking for GLIB - version >= 1.2.10... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: glib could not be found
Bad exit status from /var/tmp/rpm-tmp.6510 (%prep)
linux:/home/chris/downloads # rpm -q glib
glib-1.2.10-372"
I don't know where glib is and I haven't been able to find it. And if I
did know where it was, I don't know how to indicate that in a command
line.
--
Chris Grainer
I am using SUSE 8.2 and I often get error messages like this when attempting to install rpm packages: I don't know where glib is and I haven't been able to find it. And if I did know where it was, I don't know how to indicate that in a command line.
Install glib-devel then try again -- James Ogley, Webmaster, Rubber Turnip james@rubberturnip.org.uk http://www.rubberturnip.org.uk Jabber: riggwelter@myjabber.net Using Free Software since 1994, running GNU/Linux (SuSE 8.2). GNOME updates for SuSE: http://www.usr-local-bin.org
On Thu, 2003-05-08 at 01:18, James Ogley wrote:
I am using SUSE 8.2 and I often get error messages like this when attempting to install rpm packages: I don't know where glib is and I haven't been able to find it. And if I did know where it was, I don't know how to indicate that in a command line.
Install glib-devel then try again -- James Ogley, Webmaster, Rubber Turnip james@rubberturnip.org.uk http://www.rubberturnip.org.uk Jabber: riggwelter@myjabber.net Using Free Software since 1994, running GNU/Linux (SuSE 8.2)
Tried, but now I have dependency issues. I've been trying to resolve a
lot of them too:
"error: failed dependencies:
pkgconfig >= 0.8 is needed by glib-devel-1.3.15-1
glib = 1.3.15 is needed by glib-devel-1.3.15-1
libglib-1.3.so.15 is needed by glib-devel-1.3.15-1
libgobject-1.3.so.15 is needed by glib-devel-1.3.15-1"
I probably need to find these files now, but I keep running into
deadends with this approach. These files probably depend on other files
which I don't have and so on.
I like linux a lot, but from a newbie's point of view, it's been a hell
of a struggle just to get a few basic programs outside the distrubition
(and some within) to run. But I'm not going back.
--
Chris Grainer
On Thu, 2003-05-08 at 02:12, Chris Grainer wrote:
I probably need to find these files now, but I keep running into deadends with this approach. These files probably depend on other files which I don't have and so on.
Sorry, I didn't really look at the file names. I just need the latest
version of glib to run this. But I have had a lot of problems with file
chasing regardless.
--
Chris Grainer
On Thu, 2003-05-08 at 01:18
Chris Grainer wrote:
I am using SUSE 8.2 and I often get error messages like this when attempting to install rpm packages: I don't know where glib is and I haven't been able to find it. And if I did know where it was, I don't know how to indicate that in a command line
.James Ogley wrote:
Install glib-devel then try again
Almost there, I think, installed glib-1.2.10-ximian.6.i386 and glib-devel-1.2.10-ximian.6.i386. Ran "rpm -i gnpan-0.13.4-0.src.rpm". And pkg-config was asked for. Installed pkgconfig-0.15.0tar.gz, "ran -i gnpan again" and got this: checking for bind_textdomain_codeset... yes checking for pkg-config... /usr/local/bin/pkg-config checking for glib-2.0 >= 2.0.4 gobject-2.0 >= 2.0.4 gthread-2.0 >= 2.0.4... Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found configure: error: Library requirements (glib-2.0 >= 2.0.4 gobject-2.0 >= 2.0.4 gthread-2.0 >= 2.0.4) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. Bad exit status from /var/tmp/rpm-tmp.40711 (%build)" I thought I needed to get a version of glib 2.0+, but after downloading and trying to install glib2-2.2.1-1, I get this: "linux:/home/chris/downloads # rpm -Uvh glib2-2.2.1-1.i386.rpm package glib2-2.2.1-18 (which is newer than glib2-2.2.1-1) is already installed" I am really at a loss as what to do next.
-- James Ogley, Webmaster, Rubber Turnip james@rubberturnip.org.uk http://www.rubberturnip.org.uk Jabber: riggwelter@myjabber.net Using Free Software since 1994, running GNU/Linux (SuSE 8.2). GNOME updates for SuSE: http://www.usr-local-bin.org -- Chris Grainer
Why not just use KPackage to do this ? Worked for me installing amsn on 8.0 ? Or perhaps I'm out to lunch on this one.. Lee On Thursday 08 May 2003 04:29, Chris Grainer wrote:
On Thu, 2003-05-08 at 01:18
Chris Grainer wrote:
I am using SUSE 8.2 and I often get error messages like this when attempting to install rpm packages: I don't know where glib is and I haven't been able to find it. And if I did know where it was, I don't know how to indicate that in a command line
.James Ogley wrote:
Install glib-devel then try again
Almost there, I think, installed glib-1.2.10-ximian.6.i386 and glib-devel-1.2.10-ximian.6.i386. Ran "rpm -i gnpan-0.13.4-0.src.rpm". And pkg-config was asked for. Installed pkgconfig-0.15.0tar.gz, "ran -i gnpan again" and got this:
checking for bind_textdomain_codeset... yes checking for pkg-config... /usr/local/bin/pkg-config checking for glib-2.0 >= 2.0.4 gobject-2.0 >= 2.0.4 gthread-2.0 >= 2.0.4... Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found
configure: error: Library requirements (glib-2.0 >= 2.0.4 gobject-2.0 >= 2.0.4 gthread-2.0 >= 2.0.4) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. Bad exit status from /var/tmp/rpm-tmp.40711 (%build)"
I thought I needed to get a version of glib 2.0+, but after downloading and trying to install glib2-2.2.1-1, I get this:
"linux:/home/chris/downloads # rpm -Uvh glib2-2.2.1-1.i386.rpm package glib2-2.2.1-18 (which is newer than glib2-2.2.1-1) is already installed"
I am really at a loss as what to do next.
-- James Ogley, Webmaster, Rubber Turnip james@rubberturnip.org.uk http://www.rubberturnip.org.uk Jabber: riggwelter@myjabber.net Using Free Software since 1994, running GNU/Linux (SuSE 8.2). GNOME updates for SuSE: http://www.usr-local-bin.org
On Thu, 2003-05-08 at 03:58, lee wrote:
Why not just use KPackage to do this ? Worked for me installing amsn on 8.0 ? Or perhaps I'm out to lunch on this one..
Lee
I don't know if I even have KPackage:
"linux:/home/chris/downloads # KPackage
-bash: KPackage: command not found
linux:~ # rpm -q KPackage
package KPackage is not installed
--
Chris Grainer
It's part of KDE..have to be root for it to work as I recall..then again, I am on 8.0..so you may very well be correct.. Lee On Thursday 08 May 2003 05:01, Chris Grainer wrote:
On Thu, 2003-05-08 at 03:58, lee wrote:
Why not just use KPackage to do this ? Worked for me installing amsn on 8.0 ? Or perhaps I'm out to lunch on this one..
Lee
I don't know if I even have KPackage:
"linux:/home/chris/downloads # KPackage -bash: KPackage: command not found
linux:~ # rpm -q KPackage package KPackage is not installed
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 08 May 2003 04:01, Chris Grainer wrote:
On Thu, 2003-05-08 at 03:58, lee wrote:
Why not just use KPackage to do this ? Worked for me installing amsn on 8.0 ? Or perhaps I'm out to lunch on this one..
Lee
I don't know if I even have KPackage:
"linux:/home/chris/downloads # KPackage -bash: KPackage: command not found
linux:~ # rpm -q KPackage package KPackage is not installed
-- Chris Grainer
linux:/home/chris/downloads # kpackage -bash: kpackage: command not found
You have kpackage. Start it up the same way in a konsole, but don't use any capital letters. It's also in the menu (at least the KDE menu, heh) System->Configuration->KPackage . Like Anders said, you don't rpm -i an .src.rpm, with a src.rpm, in a konsole you need to do this (as root)... rpm -rebuild foo.src.rpm , then after waiting for it to do its thing, at the end you'll see something like 'wrote /usr/src/packages/RPMS/i386/foo.rpm' , you can then do cp /usr/src/packages/RPMS/i386/foo.rpm /home/you, or just go to the directory it's at and do rpm -i (in a konsole) or open konqueror and click on it and YaST will install it. Often times, it's easiest to get all the .rpm's you'll need for the app, put them all in an empty directory, and then type rpm -i *.rpm (while in that directory of course) and IIRR, it will install what needs to be installed in the order it needs it. John - -- A butterfly is: Pretty,soft,harmless...and useless, just like M$N. My Penguin eats butterflies. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE+unO/H5oDXyLKXKQRAoYpAJ9fpB+pGlDGFx7jwjNcjfab+tgL+wCgvQ1d H9iGVIklLYT5cgF5K95Fn4s= =RVZD -----END PGP SIGNATURE-----
On Thursday 08 May 2003 17:11, John wrote:
Like Anders said, you don't rpm -i an .src.rpm, with a src.rpm, in a konsole you need to do this (as root)... rpm -rebuild foo.src.rpm , then
Objection! that's not what I said. You can very well do rpm -i on a src.rpm, it just doesn't mean that you're "installint the rpm", it just means that the source, patches (if any) and spec file are copied to the /usr/src/packages tree, where you can fiddle with it, possibly creating a modified rpm. All I said was that you didn't have to do it over again every time you install a dependency --rebuild is of course another option, but then you get an identical rpm to the one SuSE provides, which usually isn't what you want if you're messing with the source
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 08 May 2003 10:13, Anders Johansson wrote:
On Thursday 08 May 2003 17:11, John wrote:
Like Anders said, you don't rpm -i an .src.rpm, with a src.rpm, in a konsole you need to do this (as root)... rpm -rebuild foo.src.rpm , then
Objection! that's not what I said. You can very well do rpm -i on a src.rpm, it just doesn't mean that you're "installint the rpm", it just means that the source, patches (if any) and spec file are copied to the /usr/src/packages tree, where you can fiddle with it, possibly creating a modified rpm.
All I said was that you didn't have to do it over again every time you install a dependency
--rebuild is of course another option, but then you get an identical rpm to the one SuSE provides, which usually isn't what you want if you're messing with the source
Okay, okay! No need to bite my head off. I just read it wrong I guess, and all I was trying to do was add my small piece of copper to the 'help', it isn't like I accused you of being an axe murderer or something. As for you Fergus, I can't remember if I chose all of KDE or not. Usually I go for picking all the things I want, instead of letting those 'packaged' selections lump a bunch of stuff onto my hdd that I don't want or use, heh. I thought for sure though that kpackage would be a part of kde no matter what one did. Strange. Oh well, at least everything's been answered...I think. John - -- A butterfly is: Pretty,soft,harmless...and useless, just like M$N. My Penguin eats butterflies. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE+u1v1H5oDXyLKXKQRArfdAJ9F/ih20OY8BPwEpJre5TNlI/1uGQCfQEOC qHWj32IgQCXTlwzYw9VLbAM= =mBUC -----END PGP SIGNATURE-----
On Thursday 08 May 2003 16:11, John wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thursday 08 May 2003 04:01, Chris Grainer wrote:
On Thu, 2003-05-08 at 03:58, lee wrote:
Why not just use KPackage to do this ? Worked for me installing amsn on 8.0 ? Or perhaps I'm out to lunch on this one..
Lee
I don't know if I even have KPackage:
"linux:/home/chris/downloads # KPackage -bash: KPackage: command not found
linux:~ # rpm -q KPackage package KPackage is not installed
-- Chris Grainer
linux:/home/chris/downloads # kpackage -bash: kpackage: command not found
You have kpackage. Start it up the same way in a konsole, but don't use any capital letters. It's also in the menu (at least the KDE menu, heh)
Small point, perhaps, but actually, I don't have it - and I pretty much accepted the default software selection, apart from adding in the odd thing. I don't mind not having it, because I don't want it at the minute ... but it does seem quite possible for Chris not to have it on his system after accepting defaults. Maybe you selected the 'all of kde' option? However, it shouldn't take him many minutes to put it on there. Cheers Fergus
System->Configuration->KPackage . Like Anders said, you don't rpm -i an .src.rpm, with a src.rpm, in a konsole you need to do this (as root)... rpm -rebuild foo.src.rpm , then after waiting for it to do its thing, at the end you'll see something like 'wrote /usr/src/packages/RPMS/i386/foo.rpm' , you can then do cp /usr/src/packages/RPMS/i386/foo.rpm /home/you, or just go to the directory it's at and do rpm -i (in a konsole) or open konqueror and click on it and YaST will install it. Often times, it's easiest to get all the .rpm's you'll need for the app, put them all in an empty directory, and then type rpm -i *.rpm (while in that directory of course) and IIRR, it will install what needs to be installed in the order it needs it.
John - -- A butterfly is: Pretty,soft,harmless...and useless, just like M$N. My Penguin eats butterflies. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
iD8DBQE+unO/H5oDXyLKXKQRAoYpAJ9fpB+pGlDGFx7jwjNcjfab+tgL+wCgvQ1d H9iGVIklLYT5cgF5K95Fn4s= =RVZD -----END PGP SIGNATURE-----
-- Fergus Wilde Chetham's Library Long Millgate Manchester M3 1SB Tel: +44 161 834 7961 Fax: +44 161 839 5797 http://www.chethams.org.uk
On Thursday 08 May 2003 10:29, Chris Grainer wrote:
On Thu, 2003-05-08 at 01:18
Chris Grainer wrote:
I am using SUSE 8.2 and I often get error messages like this when attempting to install rpm packages: I don't know where glib is and I haven't been able to find it. And if I did know where it was, I don't know how to indicate that in a command line
.James Ogley wrote:
Install glib-devel then try again
Almost there, I think, installed glib-1.2.10-ximian.6.i386 and glib-devel-1.2.10-ximian.6.i386. Ran "rpm -i gnpan-0.13.4-0.src.rpm". And pkg-config was asked for. Installed pkgconfig-0.15.0tar.gz, "ran -i gnpan again" and got this:
Where are you getting ximian packages for 8.2? I didn't think they had started releasing packages for 8.2 yet. Second, you don't get any messages like that when you install a src.rpm, those are compile errors. And you don't have to reinstall the src.rpm every time you install a dependency.
No package 'glib-2.0' found
"linux:/home/chris/downloads # rpm -Uvh glib2-2.2.1-1.i386.rpm package glib2-2.2.1-18 (which is newer than glib2-2.2.1-1) is already installed"
glib2-devel is needed. If you're going to compile a program that needs package foo to run, you need foo-devel to compile it.
On Thu, 2003-05-08 at 07:32, Anders Johansson wrote:
On Thursday 08 May 2003 10:29, Chris Grainer wrote:
On Thu, 2003-05-08 at 01:18
Chris Grainer wrote:
Almost there, I think, installed glib-1.2.10-ximian.6.i386 and glib-devel-1.2.10-ximian.6.i386. Ran "rpm -i gnpan-0.13.4-0.src.rpm". And pkg-config was asked for. Installed pkgconfig-0.15.0tar.gz, "ran -i gnpan again" and got this:
Where are you getting ximian packages for 8.2? I didn't think they had started releasing packages for 8.2 yet.
Got them at rpmfind.net. But it didn't specifically say it was for 8.2.
It said for i386.
--
Chris Grainer
participants (6)
-
Anders Johansson
-
Chris Grainer
-
Fergus Wilde
-
James Ogley
-
John
-
lee