LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Build Custom Packages (http://www.linuxquestions.org/questions/linux-newbie-8/build-custom-packages-692621/)

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?

Thanks

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.

http://www.linuxfromscratch.org/blfs...3/BLFS-6.3.pdf

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

http://wiki.mandriva.com/en/Developm...to/LSB_Package

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 07:59 PM.