MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
(Possibly bad form to reply to yourself, but I've got an update)
I did a search of Linuxquestions, and found a thread about installing kernel source. It pointed me to kernel.org, and I've now downloaded linux 2.4.21 tar.gz
So, before I do something incredibly newbie-silly, I would like someone to confirm that I'm on the right track? (Fingers crossed...)
It's strange that you can't find kernel-source if you had all 3 install CDs. Are you certain you spelled kernel correctly? Lots of folks type kernal instead.
root@tinwhistle /usr/src # urpmi kernel-
The following packages contain kernel-: kernel-alert ksymoops kernel-source kernel-2.4.19.35mdk kernel-linus2.4 kernel-BOOT-2.4.19.16mdk kernel-doc-pdf kernel-smp-2.4.19.16mdk kernel-2.4.19.16mdk kernel-doc kernel-doc-ps kernel-BOOT-2.4.19.35mdk kernel-enterprise-2.4.19.16mdk kernel-enterprise-2.4.19.35mdk kernel-smp-2.4.19.35mdk kernel-secure-2.4.19.16mdk kernel-doc-html kernel-headers pcmcia-cs kernel-linus2.2 kernel-secure-2.4.19.35mdk
root@tinwhistle /usr/src # urpmi kernal-
no package named kernal-
You should be able to find it somewhere on the Mandrake ftp mirrors and download it if need be.
If this is a fresh install, it might pay you to do a new install choosing the expert method where you check the packages and make sure you install the developmental packages and kernel developmental packages.
It might work. Mandrake does use a customized kernel, however, so I like to stick to their stuff. Here is what I have in my Mandrake /usr/src directory.
root@tinwhistle /usr/src # ls -al
total 16
drwxr-xr-x 4 root root 4096 Aug 12 23:44 ./
drwxr-xr-x 16 root root 4096 Aug 12 14:31 ../
lrwxrwxrwx 1 root root 18 Aug 12 23:44 linux -> linux-2.4.19-35mdk/
drwxr-xr-x 18 root root 4096 Aug 12 23:43 linux-2.4.19-35mdk/
drwxr-xr-x 7 root root 4096 Aug 12 09:34 RPM/
Was source code downloaded? Was it unzipped and extracted? Did you cd to the directory needed? Was the README read? Was the INSTALL read? Was the first step in the INSTALL to command ./configure?
Last edited by fancypiper; 02-03-2004 at 10:57 PM.
Originally posted by fancypiper
[B]I have some questions.
Was [b]source code downloaded? Was it unzipped and extracted? Did you cd to the directory needed? Was the README read? Was the INSTALL read? Was the first step in the INSTALL to command ./configure?
Thanx for fast reply,
i downloaded chkrootkit.tar.gz and then I did :
grinder@linuxbox grinder]$ tar xzvf chkrootkit.tar.gz
and cd in that directory and read README where :
5. Installation
---------------
To compile the C programs type:
# make sense
After that it is ready to use and you can simply type:
# ./chkrootkit
But I was trying do that way someone recommended in another threat.
YES I did as non-root user $./configure , and this happened:
grinder@linuxbox chkrootkit-0.43]$ ./configure
bash: ./configure: No such file or directory
Looks Like I'm missing some "lc" at this time.Last time it was gcc.Not bad
Could you pls help me with this? I'm working on another things here at MDK ,few of them I can't have done. I always give up for few days or weeks and go back trying it again and again.If not succesfull trying another.Not easy.
its very weird that MDK can't find the kernel source or gcc whit urpmi, but i have those problem before whit MDK 9.1 did you people, know if in the source urpmi file it points to the mandrake 3 CD source? if urpmi list doesn't have it in his source it would never find them obviously, before trying urpmi, i sincerely suggest that you check if the 3 CD source are in the urpmi list go to K-Configurations-packages or something like that, go to the point where mandy give you the options mandrake updates, mandrake source software, etc. I think the source install files is the one called mandrake source software or mandrake packages softwares, you have to open it, i will turn on a nice GUI and will show you, what Mandrake have in his source file list to search for packages, if the list of the 3 CD aren't there is impossible that mandy look for packages that it supposed to be in the install CD, you could added the CD to the list or you could, search in each CD the packages you need, open a console, an as root do cd mnt/cdrom then ls to see the packages of the cd, go to the one named Mandrake, then RPMS where mandy put is rpm packages and there search for the one you need example kernel-source and gcc in one of the 3 CD is, when you find it just do rpm -Uhv package-named.rpm as root and voila there it is.
Originally posted by little_ball its very weird that MDK can't find the kernel source or gcc whit urpmi, but i have those problem before whit MDK 9.1 did you people, know if in the source urpmi file it points to the mandrake 3 CD source? if urpmi list doesn't have it in his source it would never find them obviously, before trying urpmi, i sincerely suggest that you check if the 3 CD source are in the urpmi list go to K-Configurations-packages or something like that, go to the point where mandy give you the options mandrake updates, mandrake source software, etc. I think the source install files is the one called mandrake source software or mandrake packages softwares, you have to open it, i will turn on a nice GUI and will show you, what Mandrake have in his source file list to search for packages, if the list of the 3 CD aren't there is impossible that mandy look for packages that it supposed to be in the install CD, you could added the CD to the list or you could, search in each CD the packages you need, open a console, an as root do cd mnt/cdrom then ls to see the packages of the cd, go to the one named Mandrake, then RPMS where mandy put is rpm packages and there search for the one you need example kernel-source and gcc in one of the 3 CD is, when you find it just do rpm -Uhv package-named.rpm as root and voila there it is.
So you mean I need install kernel-source or newer gcc from MDK cds manually?
And yes I found "Software source manager" and started it and then it showed all 3 cds and update.
I'll have to look for this -lc library somewhere,but my friends got problems with his box so I can't do that now,but I'll be back in about 3 hours if you still be here
look, you should check the config.log of the program for look why it gives you the error, what are you missing. I don't know what library does linux means when he says -lc, it could be associated whit any executable that you don't have but i don't know wich one. or you are missing the library -lc or their are in different PATH that ./configure can't find.
Last edited by little_ball; 02-07-2004 at 04:56 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.