SlackwareThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In this case there is no difference. I still get the same error message.
I planned to upgrade to the latest build but I've looked through the slack ChangeLog and there have not been any important changes which may refer to my problem applied. So probably problem has no connection with my build.
gzip 1.3.12
Copyright (C) 2007 Free Software Foundation, Inc.
Copyright (C) 1993 Jean-loup Gailly.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
It's weird... I think it's these lines that echo the error message(in /sbin/makepkg):
Code:
163 # Make sure external compression utility is available:
164 case $EXTENSION in
165 'tgz' | 'tar.gz' )
166 if ! which gzip 1> /dev/null 2> /dev/null ; then
167 echo "ERROR: gzip compression utility not found in \$PATH."
168 exit 3
169 fi
170 ;;
I think it could only fail on not founding gzip executable. But you have.... Please attach the output of `which gzip` in root.
Last edited by grissiom; 06-14-2009 at 05:08 AM.
Reason: typo
Lets suppose I've installed some lib in /tmp/some_lib.
Now, from /some_lib directory I type
Code:
makekpg ../some_lib.tgz
and I get an error : "gzip compression utility not found in $PATH".
I'm not sure this is related to your problem but it seems like what you are suggesting is a recursion problem.
From you example, you are telling it to make a package from it's parent directory. In effect then you are telling it to create a package that will contain the package you want to create.
Try cd out of the directory and then create the package.
I've used many of the slackbuild scripts and with -12.2 and with the -currents (32 and 64) and haven't had any problems like you are discussing.
makepkg should be ran as root. You don't say how you ran makepkg, and /bin is not in a user's path. See this thread I was involved in when learning to use makepkg. Maybe something in there may help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.