Newbie questions
Bill Fink
mol-general@lists.maconlinux.org
Fri, 27 Aug 2004 04:04:35 -0400
Hi Steve,
On Thu, 26 Aug 2004, Steve Roy wrote:
> On Aug 26, 2004, at 9:35 AM, Steve Roy wrote:
>
> > This link explains why 'yum update' doesn't work and so I copied the
> > yum.conf file it recommends and ran 'yum update' again. This time it
> > worked, but somehow when it was done the command 'rpm -i
> > mol-kmods-0.9.70-3.ppc.rpm' appeared in the terminal. It failed
> > because it couldn't find mol-kmods-0.9.70-3.ppc.rpm, which the MOL
> > download page says doesn't exist because it has to be compiled (see 2.
> > above).
> >
> > So now I was wondering what to do. Reading the instructions for the
> > next step in the googled link above, it said that after running 'yum
> > update' the 2.4.22-2g kernel should be in the /boot directory. So I
> > looked but it's not there. What do I do?
> >
> > In addition, the instructions said I have to edit yaboot.conf to
> > include the new kernel. I did that to get ahead, but then I have to
> > run 'ybin -v' and when I try I get "command not found", which is
> > rather weird. What's going on?
>
> OK I got through all this, thanks to the suggestion of Roger, by
> logging in as root. I was able to do 'yum update' without any errors,
> and then to do 'ybin -v' to update the bootstrap partition. I rebooted,
> and now I'm running 2.4.22-2g. Great.
>
> So I tried 'startmol -X' again and still no joy:
> /usr/lib/mol/0.9.70/bin/mol: error while loading shared libraries:
> libasound.so.2: cannot open shared object file: No such file or
> directory
>
> I tried 'startmol -a -X' but the same thing occurred, with additional
> messages like:
> WARNING: A root-only flag was ignored
>
> Now I'm not sure what to do. I think I should recompile the MOL kernel
> modules. But the MOL user guide (which mentions it's obsolete
> information) says that the symlink /lib/modules/2.4.22-2g/build is used
> to find the kernel headers, and this symlink points to
> /usr/src/linux-2.4.22-2g, which doesn't exist on my machine. The only
> directory in /usr/src is rpm. Is it because I didn't do a src install
> of YDL? I did a workstation install.
yum install kernel-source
> Nevertheless, I figured maybe it's just because the MOL user guide
> instructions are obsolete, so I downloaded mol-kmods-0.9.70.src.rpm,
> but I'm supposed to do a 'rpm --rebuild' on it, and I get:
> --rebuild: unknown option
rpmbuild --rebuild mol-kmods-0.9.70.src.rpm
> What do I do doc?
>
> Steve
-Bill