View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-24-2009, 06:15 AM   #1
Registered: Dec 2005
Location: UK
Distribution: Slackware 12.1
Posts: 249

Rep: Reputation: 32
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.

Old 03-24-2009, 12:58 PM   #2
Registered: Dec 2005
Location: ~
Distribution: Slackware -current, OpenBSD
Posts: 450

Rep: Reputation: 42
I don't know, probably simpler to use a vm?
Old 03-24-2009, 01:06 PM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 15,918

Rep: Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026
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.)

Last edited by knudfl; 03-24-2009 at 01:08 PM.
Old 03-24-2009, 01:28 PM   #4
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu packages in slackware adityavpratap Slackware 16 02-14-2007 05:32 PM
Identifying "non-native" Slackware-packages in /var/log/packages Yalla-One Slackware 8 07-06-2006 07:57 AM
compiling X packages skyyfox Linux - Software 1 12-19-2005 08:46 PM
compiling non .tgz packages in slackware rajorshi Slackware 5 06-26-2003 12:20 AM
Compiling only certain packages JHuizingh Linux - General 1 09-10-2001 12:16 PM

All times are GMT -5. The time now is 04:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration