Hi Luggers,
It all started after I started to upgrade my kernel from 2.2 to 2.4.2 as philip suggested, i untarred the 2.4.1 kernel but was unable to add the patch. While applying the 2.4.2 patch, it gave me an error :
patch unexpectedly ends in middle of line unexpected end of line in patch.
I continued to make menuconfig. and got the following error:
rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts/lxdialog all make[1]: Entering directory `/usr/src/linux-2.4.1/scripts/lxdialog'
Unable to find the Ncurses libraries.
You must have Ncurses installed in order to use 'make menuconfig'
make[1]: Leaving directory `/usr/src/linux-2.4.1/scripts/lxdialog'
i already have it installed. i.e ncurses3-1.9.9e-11.i386.rpm and ncurses-5.0-11.i386.rpm
Then i downloaded gcc-2.96-54 which gave me an rpm error saying major numbers <=3 are supported. So i am upgrading rpm to 4.0.1-0.6x and it is giving me an error failed dependencies libdb-3.1.so is meeded.
Am i going in circles. Is there a simpler way. Please advise.
Noel
_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
hello! I've just upgraded my kernel from 2.2.14 to 2.4.5 - thought u might benefit from my experience I downloaded the following stuff from kernel.org : 1)the kernel tar.gz file (i had trouble with the bz2 file - somehow it didnt have the scripts and Documentation directories!) 2)binutils 3)modutils <-- this is for loading modules and all those utilities 4)egcs 1.1.2 <-- the Changes files for kernel 2.4 explicitly mentions, nay, insists that you use egcs 1.1.2 (gcc 2.91.66) i installed this into usr/local/bin and while building the kernel, changed the compiler parameter in the Makefile to point to this gcc, instead of my regular one. 5)e2fsprogs
after doing all this, the kernel compilation.installation was a breeze..i could boot into the new kernel with no probs..
ah yes...i do have one particular doubt - the $PATH on my system lists /usr/local/bin before /usr/bin, but still the gcc in the latter gets executed from the prompt...howzzat?
regards, kishor
----- Original Message ----- From: "noel seq" noelseq@hotmail.com To: linuxers@mm.ilug-bom.org.in Sent: Thursday, June 28, 2001 10:48 AM Subject: [ILUG-BOM] unable to make menuconfig
Hi Luggers,
It all started after I started to upgrade my kernel from 2.2 to 2.4.2 as philip suggested, i untarred the 2.4.1 kernel but was unable to add the patch. While applying the 2.4.2 patch, it gave me an error :
patch unexpectedly ends in middle of line unexpected end of line in patch.
I continued to make menuconfig. and got the following error:
rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts/lxdialog all make[1]: Entering directory `/usr/src/linux-2.4.1/scripts/lxdialog'
Unable to find the Ncurses libraries.
You must have Ncurses installed in order to use 'make menuconfig'
make[1]: Leaving directory `/usr/src/linux-2.4.1/scripts/lxdialog'
i already have it installed. i.e ncurses3-1.9.9e-11.i386.rpm and ncurses-5.0-11.i386.rpm
Then i downloaded gcc-2.96-54 which gave me an rpm error saying major numbers <=3 are supported. So i am upgrading rpm to 4.0.1-0.6x and it is giving me an error failed dependencies libdb-3.1.so is meeded.
Am i going in circles. Is there a simpler way. Please advise.
Noel
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Richard Stallman's Public Lecture 5pm 17th July, at TIFR. Linuxers mailing list Linuxers@mm.ilug-bom.org.in http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
On Thu, 28 Jun 2001, noel seq wrote:
Hi Luggers,
It all started after I started to upgrade my kernel from 2.2 to 2.4.2 as philip suggested, i untarred the 2.4.1 kernel but was unable to add the patch. While applying the 2.4.2 patch, it gave me an error :
patch unexpectedly ends in middle of line unexpected end of line in patch.
There could be 2 things. Either your patch file has not downloaded completely or else you are not able to patch the patch file. To check out whether you could download the complete file, check the file size of the downloaded file with the one from where you downloaded. Alternatively, you can check file integrity with
$ bunzip2 -t <file name>
If the file is proper then I suggest you use the patch scripts that is available with the kernel source. Copy your patch file in the top level kernel source directory (though I don't think it is necessary). Change to that directory and run;
$ ./scripts/patch-kernel <path to patch file>
The path in above case would be your current directory so you can just give a '.' and thats it. It will find the patch file (in any format, whether bz2 or gzip) and apply it. I had proble using patch command and found running this scrip more easy. No errors.
[Snip]
Then i downloaded gcc-2.96-54 which gave me an rpm error saying major numbers <=3 are supported. So i am upgrading rpm to 4.0.1-0.6x and it is giving me an error failed dependencies libdb-3.1.so is meeded.
Am i going in circles. Is there a simpler way. Please advise.
I am using rpm-3.0.5-7 and I have no problem whatsoever with it. It is compatible with the new versions of rpm. AND it gets installed with the old rpm that you would be having.
Regards,
Rajen.
On Thu, 28 Jun 2001, noel seq wrote:
I continued to make menuconfig. and got the following error: rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts/lxdialog all make[1]: Entering directory `/usr/src/linux-2.4.1/scripts/lxdialog'
Unable to find the Ncurses libraries. You must have Ncurses installed in order to use 'make menuconfig'
make[1]: Leaving directory `/usr/src/linux-2.4.1/scripts/lxdialog'
i already have it installed. i.e ncurses3-1.9.9e-11.i386.rpm and ncurses-5.0-11.i386.rpm
You need to have ncurses-devel-5.0-11.i386.rpm installed. Hope this helps.
Chrisil.