Subject: "/bin/zcat: No such file or directory" using Linux
To: None <pkgsrc-users@netbsd.org>
From: Joel CARNAT <joel@carnat.net>
List: pkgsrc-users
Date: 06/19/2006 14:00:48
--xHFwDpU9dbj6ez1V
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline

Hi,

I have a slackware (10.2) running on NetBSD/Xen where I install as much
as possible using pkgsrc. I have installed archivers/gzip (gzip-1.2.4b),
removed the slackware package and now starting to replace tar with
archivers/gtar.

I am building packages to easily install on prod servers but it looks
like the pkgsrc system has recorded the old zcat location:
########################################################################
You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
===> Required installed package gettext-tools>=0.14.5:
gettext-tools-0.14.5 found
/home/cvs/pkgsrc/archivers/gtar-base/../../mk/scripts/extract: line 248:
/bin/zcat: No such file or directory
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
*** Error code 1
########################################################################

I do have a useable zcat binary:
########################################################################
# which zcat
 /usr/pkg/bin/zcat
#  zcat -v
zcat: compressed data not read from a terminal. Use -f to force
decompression.
For help, type: zcat -h
########################################################################

When building "databases/mysql5-server", I get the same "zcat not found"
error. What's the way to "reset" zcat location setting and use my pkgsrc
zcat binary ?

TIA,
	Jo


--xHFwDpU9dbj6ez1V
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFElpHw0/VH7L7F7Y4RAjCPAJ4l7XjNHk06KgBlTxem+Gy/kA+FeQCdFoap
c0J8r+0q9t3BS0d7UrKGy8o=
=qihi
-----END PGP SIGNATURE-----

--xHFwDpU9dbj6ez1V--