-   Linux - Newbie (
-   -   Build Custom Packages (

rlbewick 12-23-2008 07:37 PM

Build Custom Packages
I would like to build packages for Mandriva 2008 from source... Firefox, Thunderbird and Open Office. How exactly would I do this? Should I remove the Mandriva packages first?


tmerriam 12-24-2008 05:18 PM

The source code for the packages should be on the install disc or on their server. Included with them, there will probably be a script for building or compiling the packages. Use those as a starting point, as they should provide almost all of the functionality you want.

EmrldDrgn 12-24-2008 06:33 PM

I suggest you take a look at the BLFS book online - it contains instructions to build all three of the packages you mentioned, although maybe not at their most current release, and things may have to be tweaked for your distro, since BLFS assumes an LFS system. Still, they should be useful as a starting point.

That's version 6.3 (the newest complete version), but you may want to see if there's another version on the Linux From Scratch site.

tmerriam 12-25-2008 06:39 PM

The development pages on the wiki look helpful. Find the source RPMs and figure out how to build those.

Why exactly do you want to recompile those packages? Optimization? Those packages take a long time to compile. If you just want to make a change to the way it was built, I would very strongly recommend recompiling the source RPMs. Seriously, so much of your work is already done for you. Unless you want to build your own packages (programs not available in RPM), trying to learn the complete build process is a lot of unnecessary work.

All times are GMT -5. The time now is 12:01 PM.