LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Compiling Packages for Ubuntu on Slackware (http://www.linuxquestions.org/questions/slackware-14/compiling-packages-for-ubuntu-on-slackware-714022/)

Toods 03-24-2009 05:15 AM

Compiling Packages for Ubuntu on Slackware
 
I build my own Firefox packages on my Slackware 12.1 installations, but I would like to build Firefox 3 for my Daughter's laptop which is running the original (not-updated) installation of Ubuntu Gutsy.

I know I will have to make some of the compiler flags more 'generic', but I know little about the compatibility of versions of library packages on the two installations.

For example, Slackware 12.1 has GCC 4.2.3 which I think is a bit more recent than the one on 'Gutsy'. Will this be a problem and are there other library versions that would make the Firefox not run on the Ubuntu installation?.

Thanks for any advice.

Bill.

MannyNix 03-24-2009 11:58 AM

I don't know, probably simpler to use a vm?

knudfl 03-24-2009 12:06 PM

I'd say no. Slackware 12.1 has 'glibc-2.7',
Ubuntu Gutsy has the older 'glibc-2.6'.

If you want to compile for another Linux,
the host OS must be older than the target,
so to say. ( Or absolute identical.)
.....

piete 03-24-2009 12:28 PM

As suggested, imho the smartest method would be to run a VM or chroot environment for compiling in. Have a poke around about statically compiling firefox; that may be enough.

The actual package build itself should be doable regardless of the OS you're using, it's just the compilation that could get tricky.

Let us know what the outcome was!

- Piete.


All times are GMT -5. The time now is 12:56 AM.