LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-11-2010, 11:36 PM   #1
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Rep: Reputation: 30
Question How to use compile a file, build a package without messing up library


Dear all,
I want to build a package from source using src2pkg, but I don't know how to avoid library miss match.

Suppose I have Firefox 3.5.2 on Slackware 13.0 64 and I want to upgrade it to 3.6.2. Last time when I venturesomely installed Firefox-3.6.2-current into my Slackware 13.0, I got library miss match. Thus, instead of upgrading the whole packages to current (which is impractical and cumbersome), I want to build 3.6.2 from source.

How can I do this? Is there any guideline how to use src2pkg? Or should I rather use makepkg? Do I need to create a Makefile?

regards,
ethereal1m

Last edited by ethereal1m; 04-11-2010 at 11:45 PM.
 
Old 04-11-2010, 11:57 PM   #2
modprob
Member
 
Registered: Jul 2009
Location: Montreal
Distribution: Slackware
Posts: 35

Rep: Reputation: 17
There are some licensing issue around building firefox from source. But for any other open source application, i suggest you search the build script on slackbuild.

Also, you might find this thread useful.
 
Old 04-12-2010, 12:17 AM   #3
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Original Poster
Rep: Reputation: 30
so, you are saying that in order to upgrade to the latest firefox, I need to upgrade the whole Slackware packages?
 
Old 04-12-2010, 12:30 AM   #4
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
Let me first say I'm not very familiar with Slackware. Now, I would not try to build Firefox from source if I were you. Building it will most likely create far more problems for you than updating the packages required to install the latest version of Firefox. If you don't mind my asking, why do you want version 3.6? Is version 3.5 giving problems? Have you read the Changelog for the new version? Is it really worth it or would it be better for you to wait for a newer Slackware release? Or is this just something you want to do for learning or fun? Just wondering and curious.
 
Old 04-12-2010, 01:22 AM   #5
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Original Poster
Rep: Reputation: 30
I need 3.6 since there's a bug in Firefox 3.5.2 on Slackware 64 regarding to javascript enabled Firebug (it crashes Firefox). At the end I need Firebug, which requires Firefox 3.6.2. Do you have a suggestion how to achieve it in simplest way?

Last edited by ethereal1m; 04-12-2010 at 01:23 AM.
 
Old 04-12-2010, 02:05 AM   #6
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
Quote:
Originally Posted by ethereal1m View Post
I need 3.6 since there's a bug in Firefox 3.5.2 on Slackware 64 regarding to javascript enabled Firebug (it crashes Firefox). At the end I need Firebug, which requires Firefox 3.6.2. Do you have a suggestion how to achieve it in simplest way?
If you are asking me no, I'm sorry I don't. Perhaps someone else can tell you. Good luck.
 
Old 04-12-2010, 02:52 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,915
Blog Entries: 51

Rep: Reputation: Disabled
The "official" package for FF 3.6.3 is available, see the ChangeLog:
Quote:
Mon Apr 5 03:06:19 UTC 2010
patches/packages/mozilla-firefox-3.6.3-x86_64-1_slack13.0.txz: Upgraded.
This fixes some security issues.
For more information, see:
http://www.mozilla.org/security/know...firefox36.html
(* Security fix *)
Use slackpkg to get updates. Uncomment your nearest mirror in /etc/slackpkg/mirrors, then run, as root:
Code:
slackpkg update
slackpkg upgrade-all
 
1 members found this post helpful.
Old 04-12-2010, 02:04 PM   #8
ethereal1m
Member
 
Registered: Jan 2010
Distribution: slackware 13.0 64
Posts: 259

Original Poster
Rep: Reputation: 30
Thumbs up

Hi Brian,
good stuff!
 
  


Reply

Tags
src2pkg


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
Problem in compile library file command "make" reallynewbie2009 Linux - Newbie 4 09-14-2009 10:04 AM
How to compile file with 4 library file? ikasafitri Linux - Newbie 2 05-12-2009 03:17 AM
Problem with package library (no Package: header etc) robertri Ubuntu 0 10-09-2007 03:02 PM
Why Is K3B Package Messing With me? Tux-O-Matic Linux - Software 5 09-28-2006 05:31 PM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 04:20 AM


All times are GMT -5. The time now is 05:51 AM.

Main Menu
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