Slackware This Forum is for the discussion of Slackware Linux.
|
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-26-2010, 11:51 AM
|
#1
|
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,357
|
SlackBuild submission error: PRGNAM is ambiguous
Hello
On trying to submit my first SlackBuild:
Code:
PRGNAM is ambiguous.
There was something wrong with your .info file. It needs to be in the correct format.
Please check the file and try again.
Here's the contents of yad-0.5.2.info:
Code:
PRGNAM="yad"
VERSION="0.5.2"
HOMEPAGE="http://code.google.com/p/yad/"
DOWNLOAD="http://code.google.com/p/yad/downloads/detail?name=yad-0.5.2.tar.xz&can=2&q="
MD5SUM="184c6476a79c6f456ca1f7f18127aa83"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Charles"
EMAIL="<hidden>"
APPROVED=""
Any ideas?
Best
Charles
|
|
|
|
10-26-2010, 12:20 PM
|
#2
|
|
Member
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403
Rep:
|
Try renaming it yad.info. That is the correct format, but I'm not sure that this is the error that an incorrect name would produce.
|
|
|
1 members found this post helpful.
|
10-26-2010, 12:30 PM
|
#3
|
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,357
Original Poster
|
Quote:
Originally Posted by brixtoncalling
Try renaming it yad.info. That is the correct format, but I'm not sure that this is the error that an incorrect name would produce.
|
Thanks but I originally had it as yad.info and got error " Could not find /tmp/www/yad-0.5.2/yad-0.5.2.info".
|
|
|
|
10-26-2010, 12:41 PM
|
#4
|
|
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 1,933
|
I think
- the file you submit should be yad.tar.gz
- the folder that you tar czf should be named yad
- the name of the slackbuild should be yad.SlackBuild
- the name of the info file should be yad.info
without the $VERSION: that should be a variable defined in the yad.SlackBuild and in the yad.info file, but should be possible also to override it at build time passing VERSION=1.2.3 to the SlackBuild when launching it.
Last edited by ponce; 10-26-2010 at 12:44 PM.
|
|
|
1 members found this post helpful.
|
10-26-2010, 12:44 PM
|
#5
|
|
Member
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403
Rep:
|
When you submit the Slackbuild, the .tar.gz file shouldn't contain the version number. You will submit yad.tar.gz with the following files in it:
Code:
README
yad.SlackBuild
yad.info
slack-desc
I'm guessing if you submitted yad-0.5.2.tar.gz, the Slackbuild website understood the version number to be part of the program name.
Ponce beat me to it! I hate that! 
Last edited by brixtoncalling; 10-26-2010 at 12:48 PM.
|
|
|
1 members found this post helpful.
|
10-26-2010, 07:46 PM
|
#6
|
|
Member
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 277
Rep:
|
Quote:
Originally Posted by catkin
Code:
PRGNAM="yad"
VERSION="0.5.2"
HOMEPAGE="http://code.google.com/p/yad/"
DOWNLOAD="http://code.google.com/p/yad/downloads/detail?name=yad-0.5.2.tar.xz&can=2&q="
MD5SUM="184c6476a79c6f456ca1f7f18127aa83"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Charles"
EMAIL="<hidden>"
APPROVED=""
|
You should also change the download link to
http://yad.googlecode.com/files/yad-0.5.2.tar.xz
|
|
|
|
10-27-2010, 03:09 AM
|
#7
|
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,357
Original Poster
|
Quote:
Originally Posted by larryhaja
|
That's tidier; unfortunately I overlooked this suggestion when changing the build and submitting. A corrected re-submission is not allowed. Have mailed the mailing list.
|
|
|
|
10-27-2010, 03:16 AM
|
#8
|
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,357
Original Poster
|
Thanks to all for suggestions and for being patient with my failure to understand simple instructions or inspect samples. It's very nice -- a warm feeling -- to have such excellent support from our worldwide community
Success:
Code:
Thank you, your SlackBuild archive was successfully uploaded and is pending approval.
Slightly in my own defence I was basing the yad-0.5.2.tar.gz name on SlackBuilds thunar-archive-plugin-0.2.4.tar.bz2 and xarchiver-0.5.2.tar.bz2, erroneously thinking they were more helpful names, especially as there is a bugfix in this build so it cannot be re-used simply by running with a different $VERSION.
|
|
|
|
10-27-2010, 10:52 AM
|
#9
|
|
Member
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403
Rep:
|
Quote:
Originally Posted by catkin
Thanks to all for suggestions and for being patient with my failure to understand simple instructions or inspect samples. It's very nice -- a warm feeling -- to have such excellent support from our worldwide community.
|
Cheers. Keep those SlackBuilds coming 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:47 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|