Mailinglist Archive: opensuse (3336 mails)

< Previous Next >
Re: [SLE] Trouble installing src.rpm
  • From: "Joe Morris (NTM)" <Joe_Morris@xxxxxxx>
  • Date: Wed, 07 Dec 2005 08:19:51 +0800
  • Message-id: <43962AA7.90204@xxxxxxx>
Susemail wrote:
> In this case it didn't install in these directories or anywhere else according
> to locate and manual inspection.
>
Did you run rpm -i /home/myhome/bin/MySQL-5.0.16-0.src.rpm as root?
Only root can install in those directories.
> In any case should'nt ' rpm -i /home/myhome/bin/MySQL-5.0.16-0.src.rpm' have
> built and installed the rpm with dependencies?
>
No. Try rpmbuild --rebuild MySQL-5.0.16-0.src.rpm from
/home/yourhome/bin directory as root. If it worked (which I doubt as
what you are trying to do seems to be a stretch of your experience
level), you would find your binary rpms in /usr/src/packages/RPMS/<arch>
(meaning whatever architecture your machine is, i.e.i686, i586, etc.).
Resolving the dependencies will probably be a trial and error process
(depending on the src.rpm). You should look for already built SuSE rpms
for your version if available. Try http://rpm.pbone.net for starters.
OR, try one of the SuSE Enterprise packages from the mysql website.

--
Joe Morris
Registered Linux user 231871






< Previous Next >