On Mon, 30 Jul 2001 07:33:46 -0400 Jerry McBride <[EMAIL PROTECTED]>
wrote:

> On Mon, 30 Jul 2001 07:15:55 -0400 Jerry McBride <[EMAIL PROTECTED]>
> wrote:
> 
> > On Mon, 30 Jul 2001 16:57:37 +0800 Linuxism Chang <[EMAIL PROTECTED]>
> wrote:
> > 
> > > I downloaded the 2.4.7 kernel, rpm -e all 2.4.2 stuffs, make 
> > > menuconfig, make mrproper, make dep... ding.. got the attached
> error:
> > > 
> > > 
> > 
> > 
> > "/usr/include/limits.h"...
> > 
> > You haven't installed the glibc-devel stuff... It's on the cdrom. To
> help you
> > track down missing headers and stuff, you can visit the RPM REPOSITORY
> at:
> > http://www.rpmfind.net/linux/RPM/ and do a serach for the missing
> component.
> > When you figure out what package the missing file is from, install
> that
> > package
> > from your Caldera Open Linux install cd...
> > 
> 
> I just had a thought... You should automate your kernel compile porcess
> too...
> Here's a script I use to get the job done, while I'm out doing more
> resourceful
> things like... getting coffee and a donut... :') 
> 
> Modify it to suit your fancy...
> 
> #!/bin/bash
> 
> cd /usr/src/linux
> 
> if make mrproper        &&\
>    make xconfig         &&\
>    make dep             &&\
>    make clean           &&\
>    make bzImage         &&\
>    make modules         &&\
>    make modules_install
> then
>    cp -f /usr/src/linux/arch/i386/boot/bzImage /boot/newkernel
>    /sbin/lilo
> else echo "**** kernel compile failed! ****"
> fi
> 

It would also be a good idea (tm) to add to the script the renaming of the
/lib/modules/releasename directory (to avoid problems with mixed modules)
and reversing the action if the script fails.
 

-- 
Collins Richey
Denver Area
Gentoo_rc5 XFCE
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users

Reply via email to