LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices



Reply
 
Search this Thread
Old 01-13-2013, 02:45 PM   #1
res44
LQ Newbie
 
Registered: Jan 2011
Posts: 12

Rep: Reputation: 1
How to Maintain Slackware with Applications that are Built Locally?


Hi,

When installing applications on Slackware that must be built locally because no *.tgz packages are available, is it better or even possible to somehow use makepkg to first build the application, then wrap it into a package, and then install the package with installpkg?

It would probably be very hard to do this especially when cmake is involved, but is this the recommended procedure? I use something called Wt-Toolkit which uses cmake to install, which usually doesn't work completely, then I do all kinds of special hacks to get a successful build, and by that time I have no idea about how to uninstall what I have done and upgrades become very hard.

Is there a better way?
 
Old 01-13-2013, 04:25 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,619

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
Make a slackbuild script for that package, so it's easier for you to maintain
 
Old 01-13-2013, 04:31 PM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,119

Rep: Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818
That depends. If you have source (say, a configure-make-make install), you could use src2pkg to create an installable/upgradeable Slackware package; you can download src2pkg from http://distro.ibiblio.org/amigolinux/download/src2pkg/.

You can (probably) find ready-to-build packages at SlackBuilds.org: slackbuilds.org.

You can create your own SlackBuilds; see how at SlackBuilds.org.

Hope this helps some.
 
Old 01-13-2013, 04:55 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,650
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
In addition to what is already posted here, in difficult cases slacktrack may be the tool of choice to build packages for Slackware.
 
Old 01-13-2013, 06:00 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,379

Rep: Reputation: Disabled
Even though it is for Slackware 12, you could probably still use the wt.SlackBuild which is included on this page: http://redmine.webtoolkit.eu/project...t_on_Slackware

Eric
 
Old 01-16-2013, 09:18 PM   #6
res44
LQ Newbie
 
Registered: Jan 2011
Posts: 12

Original Poster
Rep: Reputation: 1
Thanks for all responses.

I am glad to know about slackbuilds.org and I may try the wt.slackbuild.

Thanks.
 
  


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
How Linux applications are built? dor Programming 7 03-31-2010 04:47 AM
Program to easily maintain hardware and applications? UbrInKid Linux - Newbie 2 11-28-2009 09:01 AM
Installing applications locally Master_9 Linux - Newbie 5 11-06-2009 01:34 PM
Will RPM play nice with locally built packages? alanhr Linux - General 5 10-20-2008 06:27 AM
built kernel locally...need to install to a remote machine. how? ARCHIGAMER Linux - General 1 04-10-2005 03:52 PM


All times are GMT -5. The time now is 10:27 PM.

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