Welcome to the most active Linux Forum on the web.
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, 05: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, 11:58 AM   #2
Registered: Dec 2005
Location: ~
Distribution: Slackware -current, OpenBSD
Posts: 451

Rep: Reputation: 42
I don't know, probably simpler to use a vm?
Old 03-24-2009, 12:06 PM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,705

Rep: Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294
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 12:08 PM.
Old 03-24-2009, 12: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 04:32 PM
Identifying "non-native" Slackware-packages in /var/log/packages Yalla-One Slackware 8 07-06-2006 06:57 AM
compiling X packages skyyfox Linux - Software 1 12-19-2005 07:46 PM
compiling non .tgz packages in slackware rajorshi Slackware 5 06-25-2003 11:20 PM
Compiling only certain packages JHuizingh Linux - General 1 09-10-2001 11:16 AM > Forums > Linux Forums > Linux - Distributions > Slackware

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

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