LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-24-2005, 02:52 PM   #1
Rognon
Member
 
Registered: Dec 2003
Distribution: Arch
Posts: 64

Rep: Reputation: 15
package creation problem


Hi there,
I'm trying to make tgz packages but I'm having a weird problem : the package description does not show up. I've followed the instructions on linuxpackages.net but the description wont show up in pkgtool, at installation time and in /var/log/packages. I've even tried to do an "explodepkg" on an official package and re-making it with "makepkg". It doesn't work either.

Thanks for your help,
Rognon
 
Old 03-24-2005, 03:29 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
does the description appear when you do an installpkg on an official (non-exploded) slackware package??
 
Old 03-24-2005, 04:20 PM   #3
Rognon
Member
 
Registered: Dec 2003
Distribution: Arch
Posts: 64

Original Poster
Rep: Reputation: 15
Yes it does. Pkgtool also shows the description for all packages... except for the ones I make...
 
Old 03-24-2005, 06:01 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
hmmm... okay, please post one of your build scripts so we can take a look at it...

make sure you include the slack-desc in your post...
 
Old 03-25-2005, 10:08 AM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Make sure your slack-desc file has sexactly 11 lines with the pkg name, a colon and a blank space, at least. Also make sure that the first part of the external package name is the same as the pkg name in the slack-desc file.
 
Old 03-25-2005, 12:20 PM   #6
Rognon
Member
 
Registered: Dec 2003
Distribution: Arch
Posts: 64

Original Poster
Rep: Reputation: 15
Quote:
Also make sure that the first part of the external package name is the same as the pkg name in the slack-desc file.
That fixed it !
Thanks.
 
Old 03-25-2005, 12:27 PM   #7
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally posted by Rognon
I've even tried to do an "explodepkg" on an official package and re-making it with "makepkg". It doesn't work either.
does this work for you now??

cuz if it's an official package the slack-desc would be spec compliant and the issue would probably be unrelated to your personal package's slack-desc issue...


Last edited by win32sux; 03-25-2005 at 02:03 PM.
 
Old 03-28-2005, 04:45 PM   #8
Rognon
Member
 
Registered: Dec 2003
Distribution: Arch
Posts: 64

Original Poster
Rep: Reputation: 15
Yeah it's working now. The official package that I re-compressed and that didn't worked was named test.tgz
 
Old 03-28-2005, 04:56 PM   #9
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
yeah, the name in slack-desc and the package name's first segment need to match in order to comply with the "slackpack spec"...

anyways, i'm glad everything is working well for you now...

let us know if you have any other questions about package creation...

good luck...
 
  


Reply



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
code creation problem echo_max Linux - Software 2 09-03-2005 02:16 AM
initrd creation problem loadlinux Red Hat 1 06-02-2005 02:09 PM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 07:05 PM
Creation of Linux Install Package irfanhab Programming 2 09-17-2004 06:02 AM
PHP Package creation failure datadriven Slackware 4 12-31-2003 07:31 PM

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

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