ghostview "can't find gs"

Peter B pb at ludd.luth.se
Mon May 19 05:38:56 PDT 2003


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

pb at 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 at 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 at wave /home/pb/tmp/tin/tin-1.4.7/src #which gs
/usr/local/bin/gs
pb at 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 at wave /home/pb/tmp/tin/tin-1.4.7/src #which gs
/usr/local/bin/gs
pb at wave /home/pb/tmp/tin/tin-1.4.7/src #sh
# which gs
/usr/local/bin/gs
# which which
/usr/bin/which


More information about the freebsd-ports mailing list