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.
In recent versions of Mandrakelinux, the source code is not included in the three installation CD images. It is however available on the Mandrakelinux mirrors.
To locate a Mandrakelinux mirror near you, go to the Mandrakelinux WEB site, click the [Download] link at the top of the page, click the [Download] link at the top of the next page, click the Mandrakelinux 10.1/i586 link (second link under Want to download Mandrakelinux?. Scroll down to the part of the mirror list for your Nation, and select a mirror near you.
Navigate up one level in the mirror's directory tree from ~/Mandrakelinux/official/10.1/i586 to ~/Mandrakelinux/official/10.1/ then navigate to ~/Mandrakelinux/official/10.1/SRPMS.
There will be three subdirectories under the SRPMS directory, main, contrib, and jpackage, which contain the source RPM files for Mandrakelinux 10.1 (Official)
Is the source code installed by default on Mandrake 10?
No.
Quote:
If not, how would I get it on there?
I responded to another thread with information on getting the Mandrakelinux source code here
Quote:
If I recompile it, will it nullify all the changes I've done up to this point?
Not likely, but why would you recompile all the Mandrakelinux source code? The source code is made available to you so you can customize any specific package(s) to meet your individual needs, or to fix a bug you have found. Unless you have very special requirements, the results may not be worth the effort.
If you want a system built from source, you may wish to try Gentoo Linux. But be prepared for a multiple day build session from initial base system install to finished full blown Linux OS. I am a Mandrakelinux user myself, but if I felt the need to compile a Linux OS from source, I would use Gentoo because it is designed for that purpose.
Mandralelinux is designed to be installed from binary RPM packages, so you may run into any number of issues just trying to get the order of compilation correct. Compiling from source on a binary-centric distribution is the best way I know to become fully conversant with all the difficulties software dependencies can present.
Mandrakelinux provides urpmi to handle dependencies for binary RPM packages, but I do not know if it will do this for source packages. You may well be on your own there.
i want to upgrade my 9.2 kernel 2.4.22-10 to the latest 2.4.28 , i didn't find it in RPm package for mandrake 9.2 (the only update for 9.2 is 2.4.22.37), this mean i should patch the kernel , can u tell me from which patch i should start ? & is there any software requirement (dependencies specifically with 2.4.28)
thanks
a slightly easier method than downloading .src rpm's.......
go to Easy URPMI or, if that's unavailable, here's an Alternate Site. as was mentioned, you need to set up a "main" source to get the kernel source. also, it's a good idea to set up plf, contrib, & jpackage sources. stay away from "cooker" stuff, because that's testing/beta apps & tends to be very unstable. follow the instructions on either site to add sources.
after your sources are set up, to get the kernel-source, do the following......
first, determine what kernel you are currently running if you don't know that already. you'll need a source that matches your kernel. to find out your current kernel version, in a terminal as root do......
Code:
uname -a
note the kernel version. to get the source, you can either.....
use Mandrake Control Center->software management->install & type kernel in the search box. select the kernel-source that matches your kernel, install it, reboot.
or.........
in terminal as root, type........
Code:
urpmi kernel-source
if more than one kernel-source exists, it will let you select from a list. again, choose the source that matches your kernel. if it finds only one source, it will auto install it. again, reboot.
I'm trying to install a vpn software (poptop) and find that certain components are necessary that say the have to be installed from source. I guess I'm a little confused.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.