Hello, I am new to Linux. I am running SUSE 9.0 personal. I want to install some source RPMs. So, I downloaded two of them from ftp://ftp.suse.com/pub/suse/i386/9.0/suse/src When I tried (having su'ed to root) rpmbuild --rebuild ./aide-0.9-189.src.rpm it returns installing ./aide-0.9-189.src.rpm error: ./aide-0.9-189.src.rpm cannot be installed When I tried rpmbuild --rebuild ./ethereal-0.9.114-86.src.rpm I eventually get 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 environment variable to the *** full path to gtk-config. checking for glib-config... no checking for GLIB - version >= 1.2.0... 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 distribution not found. error: Bad exit status from /var/tmp/rpm-tmp.98608 (%build) I checked using YAST, and both glib and gtk are installed, but I could locate neither lib-config nor using a find command. How should one go about installing source RPMs? I have never installed one before. John ________________________________________________________________________ BT Yahoo! Broadband - Free modem offer, sign up online today and save £80 http://btyahoo.yahoo.co.uk
Hello, I am new to Linux. I am running SUSE 9.0 personal. I want to install some source RPMs. So, I downloaded two of them from ftp://ftp.suse.com/pub/suse/i386/9.0/suse/src
When I tried (having su'ed to root)
rpmbuild --rebuild ./aide-0.9-189.src.rpm
it returns installing ./aide-0.9-189.src.rpm error: ./aide-0.9-189.src.rpm cannot be installed
not sure about that one.. were there errors about dependencies?
When I tried rpmbuild --rebuild ./ethereal-0.9.114-86.src.rpm
I eventually get
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 environment variable to the *** full path to gtk-config. checking for glib-config... no checking for GLIB - version >= 1.2.0... 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 distribution not found. error: Bad exit status from /var/tmp/rpm-tmp.98608 (%build)
I checked using YAST, and both glib and gtk are installed, but I could locate neither lib-config nor using a find command.
you're missing the -devel packages for glib and gtk. the gtk and glib packages only contain the libraries themselves so binaries can run using them. in order to compile a program that uses them, you'll need the matching -devel packages which include the headers and the -config scripts (as well as extra documentation, usually). i'm kind of surprised that it didn't complain about missing dependencies.
How should one go about installing source RPMs?
I have never installed one before.
out of curiosity, is there a reason you're installing from the source rpm instead of a precompiled one? -- trey
--- Trey Gruel <drathos-suse@nightmoose.net> wrote: >
Hello, I am new to Linux. I am running SUSE 9.0 personal. I want to install some source RPMs. So, I downloaded two of them from ftp://ftp.suse.com/pub/suse/i386/9.0/suse/src
When I tried (having su'ed to root)
rpmbuild --rebuild ./aide-0.9-189.src.rpm
it returns installing ./aide-0.9-189.src.rpm error: ./aide-0.9-189.src.rpm cannot be installed
not sure about that one.. were there errors about dependencies?
I'm not sure what that means.
When I tried rpmbuild --rebuild ./ethereal-0.9.114-86.src.rpm
I eventually get
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 environment variable to the *** full path to gtk-config. checking for glib-config... no checking for GLIB - version >= 1.2.0... 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 distribution not found. error: Bad exit status from /var/tmp/rpm-tmp.98608 (%build)
I checked using YAST, and both glib and gtk are installed, but I could locate neither lib-config nor using a find command.
you're missing the -devel packages for glib and gtk. the gtk and glib packages only contain the libraries themselves so binaries can run using them. in order to compile a program that uses them, you'll need the matching -devel packages which include the headers and the -config scripts (as well as extra documentation, usually).
i'm kind of surprised that it didn't complain about missing dependencies.
How should one go about installing source RPMs?
I have never installed one before.
out of curiosity, is there a reason you're installing from the source rpm instead of a precompiled one?
I thought that these would install easier. I had already tried to install the aide tarball without success. Where would I get a precompiled one? John
-- trey
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
________________________________________________________________________ BT Yahoo! Broadband - Free modem offer, sign up online today and save £80 http://btyahoo.yahoo.co.uk
On Thu, 29 Jan 2004, John Ryan wrote:
--- Trey Gruel <drathos-suse@nightmoose.net> wrote: >
How should one go about installing source RPMs?
I have never installed one before.
out of curiosity, is there a reason you're installing from the source rpm instead of a precompiled one?
I thought that these would install easier. I had already tried to install the aide tarball without success.
if available, the easiest way to install something is from a precompiled rpm (or deb, but that's not relevant to suse). the only downside is that the version supplied by the distro (suse, in this case) is usually a bit behind. on rpm based systems, my preferred priority for installing a package is rpm then src.rpm and finally tarball.
Where would I get a precompiled one?
you were close when you got the src.rpm ftp://ftp.suse.com/pub/suse/i386/9.0/suse/i586/ the rpms in the i586 directory are all precompiled, so just install with rpm. you might also want to look into using the yast package manager for doing installations (other people will have to give tips for that as i've never actually used it). -- trey
participants (2)
-
John Ryan
-
Trey Gruel