LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 06-13-2004, 07:55 PM   #1
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
Question Checkinstall and descriptions


I'm starting out with a new Slack install on my laptop, and I learned about the checkinstall program. I installed that first, and then used it to make a couple of programs (aterm and gkrellm). Everything seemed to work in the process, except when I went into pkgtool, the description that I entered in the checkinstall process wasn't on the screen. On the second install, I used that --newslack option that is supposed to fix descriptions for new versions of Slack, but that didn't do anything either. On the remove menu in the pkgtool utility, the name of the package appears on the left, but nothing is next to it on the right. Any ideas as to why this is happening? It's not a huge deal, but it would be nice to fix for the future.

Also, with the gkrellm install, I got a message telling me the install process put some files in the build directory, and it suggested that I not include these in the package. I went along with that default, but I was wondering what those files might be and why I don't want to include them in the package.

Thanks,
Johnathan
 
Old 06-14-2004, 04:18 AM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
If you include these non-needed files in your packages you will get some link files in your / directory that point nowhere (things that you don't want) so you did good with default don't include them.

For description, checkinstall use its description syntax which is little different than official slackware one, checkinstall description appears when you use installpkg tool. You can do a checkinstall package with an offical slackware description syntax but it will be a little tedious as you may need to changes things in the install script for the package.
 
Old 06-14-2004, 12:34 PM   #3
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
Ok. I'll leave it alone if it's doing what it's supposed to do, but I just wanted to make sure those descriptions were going somewhere. I'm still curious about why a program would install files to its build directory and how those would create links pointing to nowhere, but I suppose that's not important if I know I'm always supposed to go along with the default.
 
Old 06-14-2004, 12:42 PM   #4
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
I asked myself the same question and already did a post here about that but no answers
 
Old 06-14-2004, 01:18 PM   #5
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Original Poster
Rep: Reputation: 30
OK
 
Old 06-14-2004, 02:22 PM   #6
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 51
I am currently experimenting with checkinstall as well.

As far as the descriptions go, did you make a file called description-pak?
It's described in the checkinstall docs.

In it you put the description according to the following syntax:

......|-----handy-ruler------------------------------------------------------|
bind: bind version (DNS server and utilities)
bind:
bind: The named daemon and support utilities such as dig, host
bind: and nslookup. Sample configuration files for running a
bind: simple caching nameserver are included. Documentation
bind: for advanced setup can be found in /usr/doc/bind-9.x.x/.
bind:
bind:
bind: Package created by YOUR NAME HERE
bind:
bind:

of course you replace 'bind' with the package name, and modify the text
accordingly, (and delete the handy ruler after you finish editing so
that you know the text strings are not too long).
Hint: on the first line - in this example , 'bind version',
replace all of 'bind version' with 0.4.2 or whatever, else the text is hard to read in pkgtool.
keep the short description in brackets, this is probably the most useful bit.

there is some good info (where I got this) here:
http://www.linuxpackages.net/howto.p...erfect+Package

I have a question now for you:
Is it possible to create the package with checkinstall without actually installing it?
I saw somewhere a post that gave an option for the checkinstallrc file
that did this, but I never got it to work.

tobyl

edit: changed file name to 'description-pak'

Last edited by tobyl; 06-14-2004 at 02:35 PM.
 
Old 06-14-2004, 04:14 PM   #7
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
I modified my version of checkinstall to not install package automatically...

[edit]
...But I discover that my modifications let make install, install file anyway I will look deeper at checkinstall to do a lighter version (with no rpm etc)

Last edited by keefaz; 06-14-2004 at 05:04 PM.
 
  


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
YaST descriptions... jsheffie Suse/Novell 3 11-08-2005 11:19 PM
Descriptions of source packages at mentors.debian.net? ernobe Debian 0 12-13-2004 06:56 PM
how to set descriptions for files served by Apache servnov Linux - Newbie 2 11-12-2004 08:35 AM
List of System Services and their descriptions demerson3 Linux - Newbie 1 09-12-2004 03:27 AM
application for file comments/descriptions Serena Linux - Software 1 05-01-2002 01:05 PM


All times are GMT -5. The time now is 09:40 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