[SOLVED] How to use compile a file, build a package without messing up library
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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.
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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.