On Tuesday 06 December 2005 14:19, Joe Morris (NTM) wrote:
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?
Yes. I always run rpm as root to install.
Only root can install in those directories.
Anders says this is not true on a default system and he's almost always right.
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.
Thanks, I will.
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