LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-14-2009, 03:56 AM   #1
gomerpyle
LQ Newbie
 
Registered: Sep 2009
Distribution: Slackware 13.0 64-bit, Slackware 12.2 32-bit
Posts: 18

Rep: Reputation: 0
Question I miss checkinstall


As much as src2pkg and makepkg have their uses (btw am I the only one who found makepkg is broken in Slack 13 64 bit?) I really miss checkinstall.

Checkinstall gave you the flexibility to configure with all kinds of options and then do make when you have the configuration options like you want. Then you compile and when you're done you su to root and creat the package and install it. But it has been broken somewhere during Slackware 12.

I can't use src2pkg unless I have very simple configuration (no way to get ./configure --help output and try a few different ways) and makepkg can be a pain because you have to create the dir structure you want and then move everything to some temporary place after you built it.

So now I am just using make install because these other methods are so unsatisfactory. I lose the ability to keep track of what I have (I do it manually now) and worse I lose the ability to yank a package in one shot.

What are you guys using now to make packages? Will checkinstall ever be fixed?

Thanks,

Gomer
 
Old 09-14-2009, 04:05 AM   #2
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,364

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Hi gomerpyle,

Quote:
Originally Posted by gomerpyle View Post
What are you guys using now to make packages?
I use my own slackbuilds scripts, the page that started me:

http://www.slackwiki.org/Writing_A_SlackBuild_Script

Andrew
 
Old 09-14-2009, 04:09 AM   #3
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Most stuff I need has already had a SlackBuild written for it at http://www.slackbuilds.org.
 
Old 09-14-2009, 04:10 AM   #4
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,882

Rep: Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988Reputation: 4988
Quote:
Originally Posted by gomerpyle View Post
btw am I the only one who found makepkg is broken in Slack 13 64 bit?)
Perhaps if you told us how you think it is broken someone could confirm/refute. I've built packages with it here on my Slack64 13.0 install and it appears to have worked so far.
 
Old 09-14-2009, 04:10 AM   #5
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Rep: Reputation: 34
I miss it too,
I just install it anyway and sometimes package creation still works.
I try to use sbopkg more and just hope everything I need is available there
 
Old 09-14-2009, 04:16 AM   #6
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,670

Rep: Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369Reputation: 1369
You guys know that the src2pkg package also includes "trackinstall"? it works exactly like checkinstall

./configure --you-options
make
trackinstall -i='make install'


Package is made for you.
 
Old 09-14-2009, 04:20 AM   #7
gomerpyle
LQ Newbie
 
Registered: Sep 2009
Distribution: Slackware 13.0 64-bit, Slackware 12.2 32-bit
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by andrew.46 View Post
Hi gomerpyle,



I use my own slackbuilds scripts, the page that started me:

http://www.slackwiki.org/Writing_A_SlackBuild_Script

Andrew
Hi Andrew,

Thanks for the link. I will check it.
 
Old 09-14-2009, 04:21 AM   #8
gomerpyle
LQ Newbie
 
Registered: Sep 2009
Distribution: Slackware 13.0 64-bit, Slackware 12.2 32-bit
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pwc101 View Post
Most stuff I need has already had a SlackBuild written for it at http://www.slackbuilds.org.
I don't like to rely on these packages. Sometimes it helps when you have really wierd piece of software. I prefer to install all addons to /usr/local or /opt. Thanks.
 
Old 09-14-2009, 05:02 AM   #9
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Also, if you use the -Q option with src2pkg, it will start a separate terminal which shows the output of './configure --help' while pausing in the main terminal to let you enter the options you want -you can paste from the terminal with the --help output.
 
Old 09-14-2009, 05:06 AM   #10
trhodes
LQ Newbie
 
Registered: Sep 2009
Posts: 17

Rep: Reputation: 1
Seeing configure --help is pretty important to me, too, so here's what I do:
Code:
src2pkg -VV -c="./configure --help" $TARBALL
Also,
Code:
src2pkg -p="$YOUR_PREFIX_OF_USR_LOCAL $TARBALL
will install to /usr/local (a preference I share).

Src2pkg can automate almost anything you do when installing packages.
One issue I have been stumped with was failing to install some packages with really old install scripts that have a different name than install.sh. IIRC, it was CMU sphinx that I was installing. That was with a much older version of src2pkg; it has been improving a lot lately. I never put serious effort into working around the setup script issue, and I'd be willing to bet it can be done with src2pkg. I later found a program tarball that I actually prefer (cvoicecontrol) that builds without problem and default settings with src2pkg.

EDIT: the man himself beat me to it , and showed a much better way to do interactive packages and see configure --help output. See previous post.

Last edited by trhodes; 09-14-2009 at 05:13 AM. Reason: outshined
 
Old 09-14-2009, 05:46 AM   #11
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
Quote:
Originally Posted by gomerpyle View Post
I don't like to rely on these packages. Sometimes it helps when you have really wierd piece of software. I prefer to install all addons to /usr/local or /opt. Thanks.
A slackbuild isn't a package. It's source code compiled on your computer using an automated, configurable script. The result is a package optimized for your system which is logged in the package database and is removable as a single package.
 
Old 09-14-2009, 07:05 AM   #12
gomerpyle
LQ Newbie
 
Registered: Sep 2009
Distribution: Slackware 13.0 64-bit, Slackware 12.2 32-bit
Posts: 18

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by Daedra View Post
You guys know that the src2pkg package also includes "trackinstall"? it works exactly like checkinstall

./configure --you-options
make
trackinstall -i='make install'


Package is made for you.
Wow you just made a friend! I wonder why gnashley didn't mention it to me when I was asking about this...anyway I already made a few packages while Linuxquestions.org was unreachable. It works great, thanks Gnashley and Daedra!
 
Old 09-14-2009, 07:08 AM   #13
gomerpyle
LQ Newbie
 
Registered: Sep 2009
Distribution: Slackware 13.0 64-bit, Slackware 12.2 32-bit
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mdg View Post
A slackbuild isn't a package. It's source code compiled on your computer using an automated, configurable script. The result is a package optimized for your system which is logged in the package database and is removable as a single package.
I understand its a script but it's not that helpful unless you're doing something like openorifice.org or other weird apps that don't install normally to standard locations.

It doesn't optimize the package it creates either.
 
Old 09-14-2009, 07:09 AM   #14
gomerpyle
LQ Newbie
 
Registered: Sep 2009
Distribution: Slackware 13.0 64-bit, Slackware 12.2 32-bit
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by trhodes View Post
Seeing configure --help is pretty important to me, too, so here's what I do:
Code:
src2pkg -VV -c="./configure --help" $TARBALL
Also,
Code:
src2pkg -p="$YOUR_PREFIX_OF_USR_LOCAL $TARBALL
will install to /usr/local (a preference I share).

Src2pkg can automate almost anything you do when installing packages.
One issue I have been stumped with was failing to install some packages with really old install scripts that have a different name than install.sh. IIRC, it was CMU sphinx that I was installing. That was with a much older version of src2pkg; it has been improving a lot lately. I never put serious effort into working around the setup script issue, and I'd be willing to bet it can be done with src2pkg. I later found a program tarball that I actually prefer (cvoicecontrol) that builds without problem and default settings with src2pkg.

EDIT: the man himself beat me to it , and showed a much better way to do interactive packages and see configure --help output. See previous post.
Thanks. I know how to pass the prefix and other options, but it's an iterative process to first see the output of configure --help and then to start trying to get the thing configured like you want. I like trackinstall, so far it's exactly what I need.
 
Old 09-14-2009, 07:25 AM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
About Slackbuild scripts :

Another 2,200 are available from Slacky.eu

http://www.slacky.eu/
 
  


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
Miss me?!? SlowCoder General 8 09-16-2009 09:19 PM
Did I miss something....... druuna General 11 09-05-2008 06:56 AM
What am I going to miss? WesM SUSE / openSUSE 1 03-28-2007 08:10 PM
I miss gv tantotea Fedora 6 06-21-2005 03:31 AM
I miss my .exe... Shabung Linux - Software 16 01-13-2004 04:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:56 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
Open Source Consulting | Domain Registration