LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-24-2009, 06:15 AM   #1
Toods
Member
 
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.

Bill.
 
Old 03-24-2009, 12:58 PM   #2
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current, OpenBSD
Posts: 449

Rep: Reputation: 41
I don't know, probably simpler to use a vm?
 
Old 03-24-2009, 01:06 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,262

Rep: Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660
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
piete
Member
 
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.
 
  


Reply


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 09:05 AM.

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