Jump to content

Missing rpm-build [solved]


rauhka
 Share

Recommended Posts

Hi guys - I just installed Mandrake 10.1 (from APC Coverdisk ISOs - if that means anything to anyone) and am attempting to get a mail server up and running. During this I was installing Courier-IMAP and during the ./configure it has asked me to rpmbuild as a local user the source rather than compile direct.

 

No problems I think, hit google for some info and of we go - only to discover that rpmbuild doesn't seem to be present on my build, on any of install disks. The man pages are installed but no application!

 

A bit more googling shows up at least on other person with the same problem and everyone just said "go and download it". However I'll be buggered if I can find anywhere to download it! I found rpmbuilder, an x app, but it won't build as a local user only as root.

 

Isn't rpmbuild a fairly basic (core) component of the rpm software? How could I have ended up with rpm but not rpmbuild after the install?

 

I've tried urpmi to find it (no luck), rpmfind (no luck), basic locating on disk stuff (whereis), upgrading rpm to 4.2.3 but no luck. Any pointers here as I'm going to pull out what little hair I have left soon?!

Edited by rauhka
Link to comment
Share on other sites

< root /home/omar > urpmf rpmbuild

rpm:/usr/lib/librpmbuild-4.2.so

rpm:/usr/share/man/ja/man8/rpmbuild.8.bz2

rpm:/usr/share/man/man8/rpmbuild.8.bz2

rpm:/usr/share/man/pl/man8/rpmbuild.8.bz2

rpm-build:/usr/bin/rpmbuild

rpm-build:/usr/share/man/man8/rpmbuild.8.bz2

rpm-devel:/usr/include/rpm/rpmbuild.h

rpm-devel:/usr/lib/librpmbuild.a

rpm-devel:/usr/lib/librpmbuild.la

rpm-devel:/usr/lib/librpmbuild.so

man-pages-pl:/usr/share/man/pl/man8/rpmbuild.8.bz2

rpm-rebuilder:/etc/bash_completion.d/rpmbuildupdate

rpm-rebuilder:/usr/bin/rpmbuildupdate

Link to comment
Share on other sites

Not really sure what that reply means Steve.. but heres my output from the same...

 

urpmf rpmbuild

rpm:/usr/lib/librpmbuild-4.2.so

rpm:/usr/share/man/ja/man8/rpmbuild.8.bz2

rpm:/usr/share/man/man8/rpmbuild.8.bz2

rpm:/usr/share/man/pl/man8/rpmbuild.8.bz2

Note: since no media searched uses hdlists, urpmf was unable to return any result

You may want to use --name to search for package names.

 

 

Whats that all mean?

Link to comment
Share on other sites

Guest anon

I am sure you have rpmbuild installed, you can check another way by simply typing:

whereis rpmbuild

But i don't think you can use it as a user.

Link to comment
Share on other sites

OK - solved it.

 

I've download and attempted to install rpm-build-4.2.3-9mdk.i586.rpm (as I updated my rpm to 4.2.3 in my previous efforts). When I attempt to install this I get

 

[root@hostname doug]# rpm -Uv rpm-build-4.2.3-9mdk.i586.rpm

autoconf is needed by rpm-build-4.2.3-9mdk

automake is needed by rpm-build-4.2.3-9mdk

multiarch-utils >= 1.0.8 is needed by rpm-build-4.2.3-9mdk

spec-helper is needed by rpm-build-4.2.3-9mdk

 

So I used easyrpm and added a new media

urpmi.addmedia main ftp://mandrake.contactel.cz/Mandrakelinux...i586/media/main with media_info/hdlist.cz

 

Then could acutally urpmi -y for the above packges. Although I had to download multiarch-utils from http://rpmfind.net//linux/RPM/cooker/10.2/...mdk.noarch.html

(possible because I didn't add new updates as suggested by easurpm?)

 

Now let see if I can get courier-imap to install! :)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...