Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2003 14:38:51 +0200 (MEST)
From:      Peter B <pb@ludd.luth.se>
To:        ports@FreeBSD.org
Subject:   ghostview "can't find gs"
Message-ID:  <200305191238.h4JCcpF28156@brother.ludd.luth.se>

next in thread | raw e-mail | index | archive | help

Seems like detection of 'gs' (ghostscript) is broken.
     /Peter

pb@wave /home/pb/tmp/tin/tin-1.4.7/src #pkg_add ghostview-1.5.tgz 
I can't find ghostscript (gs) in your search path.
Please install your favorite version of ghostscript,
otherwise this program is useless.
pb@wave /home/pb/tmp/tin/tin-1.4.7/src #gs 
GNU Ghostscript 7.05 (2002-04-22)
Copyright (C) 2002 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GS>^C
pb@wave /home/pb/tmp/tin/tin-1.4.7/src #which gs
/usr/local/bin/gs
pb@wave /home/pb/tmp/tin/tin-1.4.7/src #tar -xOzvpf ghostview-1.5.tgz +INSTALL | m
+INSTALL
#!/bin/sh
if [ "$2" != "POST-INSTALL" ]; then
  exit 0
fi
if ! which gs >/dev/null; then
  echo "I can't find ghostscript (gs) in your search path."
  echo "Please install your favorite version of ghostscript,"
  echo "otherwise this program is useless."
fi
pb@wave /home/pb/tmp/tin/tin-1.4.7/src #which gs
/usr/local/bin/gs
pb@wave /home/pb/tmp/tin/tin-1.4.7/src #sh
# which gs
/usr/local/bin/gs
# which which
/usr/bin/which



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305191238.h4JCcpF28156>