htdig: compile Errors


Stefan Graef (graef@lsil.com)
Tue, 25 Nov 1997 17:22:20 -0800


Hi All

I am a new subscriber to this mailing list and have a problem compiling
the htfuzzy part of the distribution. I get the following Error Message.
I don't have a clue where I should strart digging for a problem.
It looks to me like there is something wrong in my gcc and/or c++
intallation. It is not able to execute the collect2 task.
I have not a clue what this means. If anybody out there can help me
on this I would really appreceate it.
CIAO

                Stefan
....
...
c++ -c -g -O -DDEFAULT_CONFIG_FILE=\"/lsi/home/graef/WWW/apache_1.2b6/search/htdig-3.0.2/conf/htdig.conf\" -I../htlib -I../htcommon -I../include -I../rx-1.0/rx Fuzzy.cc
c++ -c -g -O -DDEFAULT_CONFIG_FILE=\"/lsi/home/graef/WWW/apache_1.2b6/search/htdig-3.0.2/conf/htdig.conf\" -I../htlib -I../htcommon -I../include -I../rx-1.0/rx Metaphone.cc
c++ -c -g -O -DDEFAULT_CONFIG_FILE=\"/lsi/home/graef/WWW/apache_1.2b6/search/htdig-3.0.2/conf/htdig.conf\" -I../htlib -I../htcommon -I../include -I../rx-1.0/rx Soundex.cc
c++ -c -g -O -DDEFAULT_CONFIG_FILE=\"/lsi/home/graef/WWW/apache_1.2b6/search/htdig-3.0.2/conf/htdig.conf\" -I../htlib -I../htcommon -I../include -I../rx-1.0/rx SuffixEntry.cc
c++ -c -g -O -DDEFAULT_CONFIG_FILE=\"/lsi/home/graef/WWW/apache_1.2b6/search/htdig-3.0.2/conf/htdig.conf\" -I../htlib -I../htcommon -I../include -I../rx-1.0/rx Synonym.cc
c++ -c -g -O -DDEFAULT_CONFIG_FILE=\"/lsi/home/graef/WWW/apache_1.2b6/search/htdig-3.0.2/conf/htdig.conf\" -I../htlib -I../htcommon -I../include -I../rx-1.0/rx htfuzzy.cc
c++ -o htfuzzy -L../htlib -L../htcommon -L../gdbm-1.7.3 -L../rx-1.0/rx Endings.o EndingsDB.o Exact.o Fuzzy.o Metaphone.o Soundex.o SuffixEntry.o Synonym.o htfuzzy.o -lcommon -lht -lgdbm -lrx -lnsl
collect2: executing gcc: Permission denied
*** Error code 1
make: Fatal error: Command failed for target `htfuzzy'
Current working directory /auto/lsi/home/graef/WWW/apache_1.2b6/search/htdig-3.0.2/htfuzzy
*** Error code 1
make: Fatal error: Command failed for target `all'
eg51w89 112: which gcc
     *** Setting DISPLAY to eg51w88:0.0 ***
/usr/local/bin/gcc
eg51w89 113: ll /usr/local/bin/gcc
-rwxr-xr-x 3 root 155648 Nov 17 1994 /usr/local/bin/gcc

         ```
        (o o)
+---oOO--(_)--OOo-----------------------+
| Stefan Graef 1501 McCarthy Blvd. |
| Design Engineer Milpitas, CA, 95035 |
| |
| Int. DC Engineering Support |
| http://contact |
| _____ Tel 408.433.8634 |
| LSI|LOGIC| FAX 408.433.4561 |
| | | Page 408.485.3424 |
| |_____| Email graef@lsil.com|
+---------------------------------------+
       0oo oo0

##
## CONFIG
##
## This file is part of ht://Dig
##

#
# Please modify the variables below to reflect your preferences.
#

#
# DEST
#
# This specifies the root of the directory tree to be used by ht://Dig
#
DEST= /lsi/home/graef/WWW/apache_1.2b6/search/htdig

#
# BIN_DIR
# Set this macro to where you want the binaries to be installed.
#
BIN_DIR= $(DEST)/bin

#
# CONFIG_DIR
# This is the directory that contains ht://Dig configuration files
#
CONFIG_DIR= $(DEST)/conf

#
# COMMON_DIR
# This is the directory for files that can be shared between different
# databases.
#
COMMON_DIR= $(DEST)/common

#
# DATABASE_DIR
# The default directory where the search databases will reside.
#
DATABASE_DIR= $(DEST)/db

#
# DEFAULT_CONFIG_FILE
# This macro defines where the various programs will look for a configuration
# file.
#
DEFAULT_CONFIG_FILE= $(CONFIG_DIR)/htdig.conf

#
# CGIBIN_DIR
# The directory where your HTTP server looks for CGI programs. This is where
# htsearch will get installed.
#
CGIBIN_DIR= /lsi/home/graef/WWW/apache_1.2b6/cgi-bin

#
# IMAGE_DIR
# Define this to be a place that can be accessed by your web server. This is
# where a couple of images will be placed.
#
IMAGE_DIR= /lsi/home/graef/WWW/apache_1.2b6/htdocs/htdig

#
# IMAGE_URL_PREFIX
# This is the URL to prefix the images placed in IMAGE_DIR.
#
IMAGE_URL_PREFIX= /htdig

#
# SEARCH_DIR
# Set this to the absolute path where you want the sample search form to
# be installed.
#
SEARCH_DIR= /lsi/home/graef/WWW/apache_1.2b6/search/htdig

#
# SEARCH_FORM
# Set this to the name you want to give to the search form. This form
# will be located in the SEARCH_DIR directory.
#
SEARCH_FORM= htsearch.html

#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host eg51w89:
#
# configure
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.

ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
for ac_option
do
  case "$ac_option" in
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    echo "running ${CONFIG_SHELL-/bin/sh} configure --no-create --no-recursion"
    exec ${CONFIG_SHELL-/bin/sh} configure --no-create --no-recursion ;;
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    echo "./config.status generated by autoconf version 2.7"
    exit 0 ;;
  -help | --help | --hel | --he | --h)
    echo "$ac_cs_usage"; exit 0 ;;
  *) echo "$ac_cs_usage"; exit 1 ;;
  esac
done

ac_given_srcdir=.

trap 'rm -fr makedp htlib/Makefile htmerge/Makefile htcommon/Makefile htdig/Makefile Makefile.config Makefile htsearch/Makefile htnotify/Makefile htfuzzy/Makefile include/htconfig.h conftest*; exit 1' 1 2 15

# Protect against being on the right side of a sed subst in config.status.
sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
 s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
/^[ ]*VPATH[ ]*=[^:]*$/d

s%@CFLAGS@%-g -O%g
s%@CPPFLAGS@%%g
s%@CXXFLAGS@%-g -O%g
s%@DEFS@%-DHAVE_CONFIG_H%g
s%@LDFLAGS@%%g
s%@LIBS@% -lnsl%g
s%@exec_prefix@%${prefix}%g
s%@prefix@%/usr/local%g
s%@program_transform_name@%s,x,x,%g
s%@bindir@%${exec_prefix}/bin%g
s%@sbindir@%${exec_prefix}/sbin%g
s%@libexecdir@%${exec_prefix}/libexec%g
s%@datadir@%${prefix}/share%g
s%@sysconfdir@%${prefix}/etc%g
s%@sharedstatedir@%${prefix}/com%g
s%@localstatedir@%${prefix}/var%g
s%@libdir@%${exec_prefix}/lib%g
s%@includedir@%${prefix}/include%g
s%@oldincludedir@%/usr/include%g
s%@infodir@%${prefix}/info%g
s%@mandir@%${prefix}/man%g
s%@HTDIG_VERSION@%3.0.2%g
s%@CXX@%c++%g
s%@CC@%gcc%g
s%@RANLIB@%ranlib%g
s%@AR@%/usr/bin/ar%g
s%@SHELL@%/bin/csh%g
s%@SED@%/usr/bin/sed%g
s%@SORT@%/usr/bin/sort%g
s%@TAR@%tar%g
s%@CXXCPP@%c++ -E%g
s%@HTDIG_TOP@%/auto/lsi/home/graef/WWW/apache_1.2b6/search/htdig-3.0.2%g
s%@GDBM_DIR@%gdbm-1.7.3%g
s%@RX_DIR@%rx-1.0%g

CEOF

CONFIG_FILES=${CONFIG_FILES-"makedp htlib/Makefile htmerge/Makefile htcommon/Makefile htdig/Makefile Makefile.config Makefile htsearch/Makefile htnotify/Makefile htfuzzy/Makefile"}
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  # Support "outfile[:infile]", defaulting infile="outfile.in".
  case "$ac_file" in
  *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  *) ac_file_in="${ac_file}.in" ;;
  esac

  # Adjust relative srcdir, etc. for subdirectories.

  # Remove last slash and all that follows it. Not all systems have dirname.
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    # The file is in a subdirectory.
    test ! -d "$ac_dir" && mkdir "$ac_dir"
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
    # A "../" for each directory in $ac_dir_suffix.
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  else
    ac_dir_suffix= ac_dots=
  fi

  case "$ac_given_srcdir" in
  .) srcdir=.
      if test -z "$ac_dots"; then top_srcdir=.
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  *) # Relative path.
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
  esac

  echo creating "$ac_file"
  rm -f "$ac_file"
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  case "$ac_file" in
  *Makefile*) ac_comsub="1i\\
# $configure_input" ;;
  *) ac_comsub= ;;
  esac
  sed -e "$ac_comsub
s%@configure_input@%$configure_input%g
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
fi; done
rm -f conftest.subs

# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
# NAME is the cpp macro being defined and VALUE is the value it is being given.
#
# ac_d sets the value in "#define NAME VALUE" lines.
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
ac_dC='\3'
ac_dD='%g'
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
ac_uB='\([ ]\)%\1#\2define\3'
ac_uC=' '
ac_uD='\4%g'
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
ac_eB='$%\1#\2define\3'
ac_eC=' '
ac_eD='%g'

CONFIG_HEADERS=${CONFIG_HEADERS-"include/htconfig.h"}
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  # Support "outfile[:infile]", defaulting infile="outfile.in".
  case "$ac_file" in
  *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  *) ac_file_in="${ac_file}.in" ;;
  esac

  echo creating $ac_file

  rm -f conftest.frag conftest.in conftest.out
  cp $ac_given_srcdir/$ac_file_in conftest.in

  cat > conftest.frag <<CEOF
${ac_dA}HTDIG_VERSION${ac_dB}HTDIG_VERSION${ac_dC}"3.0.2"${ac_dD}
${ac_uA}HTDIG_VERSION${ac_uB}HTDIG_VERSION${ac_uC}"3.0.2"${ac_uD}
${ac_eA}HTDIG_VERSION${ac_eB}HTDIG_VERSION${ac_eC}"3.0.2"${ac_eD}
${ac_dA}HAVE_SYS_TIME_H${ac_dB}HAVE_SYS_TIME_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_SYS_TIME_H${ac_uB}HAVE_SYS_TIME_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_SYS_TIME_H${ac_eB}HAVE_SYS_TIME_H${ac_eC}1${ac_eD}
${ac_dA}HAVE_FCNTL_H${ac_dB}HAVE_FCNTL_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_FCNTL_H${ac_uB}HAVE_FCNTL_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_FCNTL_H${ac_eB}HAVE_FCNTL_H${ac_eC}1${ac_eD}
${ac_dA}HAVE_LIMITS_H${ac_dB}HAVE_LIMITS_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_LIMITS_H${ac_uB}HAVE_LIMITS_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_LIMITS_H${ac_eB}HAVE_LIMITS_H${ac_eC}1${ac_eD}
CEOF
  sed -f conftest.frag conftest.in > conftest.out
  rm -f conftest.in
  mv conftest.out conftest.in

  cat > conftest.frag <<CEOF
${ac_dA}HAVE_SYS_FILE_H${ac_dB}HAVE_SYS_FILE_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_SYS_FILE_H${ac_uB}HAVE_SYS_FILE_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_SYS_FILE_H${ac_eB}HAVE_SYS_FILE_H${ac_eC}1${ac_eD}
${ac_dA}HAVE_SYS_IOCTL_H${ac_dB}HAVE_SYS_IOCTL_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_SYS_IOCTL_H${ac_uB}HAVE_SYS_IOCTL_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_SYS_IOCTL_H${ac_eB}HAVE_SYS_IOCTL_H${ac_eC}1${ac_eD}
${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_UNISTD_H${ac_eB}HAVE_UNISTD_H${ac_eC}1${ac_eD}
${ac_dA}TIME_WITH_SYS_TIME${ac_dB}TIME_WITH_SYS_TIME${ac_dC}1${ac_dD}
${ac_uA}TIME_WITH_SYS_TIME${ac_uB}TIME_WITH_SYS_TIME${ac_uC}1${ac_uD}
${ac_eA}TIME_WITH_SYS_TIME${ac_eB}TIME_WITH_SYS_TIME${ac_eC}1${ac_eD}
CEOF
  sed -f conftest.frag conftest.in > conftest.out
  rm -f conftest.in
  mv conftest.out conftest.in

  cat > conftest.frag <<CEOF
${ac_dA}HAVE_TM_GMTOFF${ac_dB}HAVE_TM_GMTOFF${ac_dC}1${ac_dD}
${ac_uA}HAVE_TM_GMTOFF${ac_uB}HAVE_TM_GMTOFF${ac_uC}1${ac_uD}
${ac_eA}HAVE_TM_GMTOFF${ac_eB}HAVE_TM_GMTOFF${ac_eC}1${ac_eD}
${ac_dA}HAVE_MKTIME${ac_dB}HAVE_MKTIME${ac_dC}1${ac_dD}
${ac_uA}HAVE_MKTIME${ac_uB}HAVE_MKTIME${ac_uC}1${ac_uD}
${ac_eA}HAVE_MKTIME${ac_eB}HAVE_MKTIME${ac_eC}1${ac_eD}
${ac_dA}HAVE_TIMEGM${ac_dB}HAVE_TIMEGM${ac_dC}1${ac_dD}
${ac_uA}HAVE_TIMEGM${ac_uB}HAVE_TIMEGM${ac_uC}1${ac_uD}
${ac_eA}HAVE_TIMEGM${ac_eB}HAVE_TIMEGM${ac_eC}1${ac_eD}
${ac_dA}HAVE_STRPTIME${ac_dB}HAVE_STRPTIME${ac_dC}1${ac_dD}
${ac_uA}HAVE_STRPTIME${ac_uB}HAVE_STRPTIME${ac_uC}1${ac_uD}
${ac_eA}HAVE_STRPTIME${ac_eB}HAVE_STRPTIME${ac_eC}1${ac_eD}
CEOF
  sed -f conftest.frag conftest.in > conftest.out
  rm -f conftest.in
  mv conftest.out conftest.in

  cat > conftest.frag <<CEOF
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
CEOF
  sed -f conftest.frag conftest.in > conftest.out
  rm -f conftest.in
  mv conftest.out conftest.in

  rm -f conftest.frag conftest.h
  echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
  cat conftest.in >> conftest.h
  rm -f conftest.in
  if cmp -s $ac_file conftest.h 2>/dev/null; then
    echo "$ac_file is unchanged"
    rm -f conftest.h
  else
    rm -f $ac_file
    mv conftest.h $ac_file
  fi
fi; done

chmod +x makedp
exit 0

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

c++ -o conftest -g -O conftest.C -lsocket
configure: In function `int t()':
configure:903: warning: implicit declaration of function `int socket(...)'
collect2: ld returned 4 exit status
ld: -lsocket: No such file or directory
c++ -o conftest -g -O conftest.C -lnsl
configure: In function `int t()':
configure:937: warning: implicit declaration of function `int t_accept(...)'
c++ -E
c++ -E
c++ -E
c++ -E
c++ -E
c++ -E
c++ -E
c++ -c -g -O conftest.C
c++ -c -g -O conftest.C
c++ -c -g -O conftest.C
configure: In function `int t()':
configure:1095: warning: implicit declaration of function `int strptime(...)'
c++ -c -g -O conftest.C
c++ -o conftest -g -O conftest.C -lnsl
c++ -o conftest -g -O conftest.C -lnsl
c++ -o conftest -g -O conftest.C -lnsl
c++ -c -g -O conftest.C

# Generated automatically from Makefile.in by configure.
include /auto/lsi/home/graef/WWW/apache_1.2b6/search/htdig-3.0.2/Makefile.config
include .sniffdir/ofiles.incl

OBJS= $(OFILES)
LIBOBJS= Endings.o Exact.o Fuzzy.o Metaphone.o \
                Soundex.o Synonym.o EndingsDB.o SuffixEntry.o

TARGET= htfuzzy
LIBTARGET= libfuzzy.a

all: $(TARGET) $(LIBTARGET)

$(TARGET): $(OBJS)
        $(CXX) -o $(TARGET) $(LDFLAGS) $(OBJS) $(LIBS)

$(LIBTARGET): $(LIBOBJS)
        $(AR) rcv $(LIBTARGET) $?
        $(RANLIB) $(LIBTARGET)

install: $(TARGET)
        $(INSTALL) $(TARGET) $(BIN_DIR)

clean:
        $(RM) $(TARGET) $(LIBTARGET) $(OBJS) *~ *.bak *% a.out *.orig core

distclean: clean
        $(RM) Makefile *.proj

depend:
        $(MAKEDEPEND) $(CXXFLAGS) -- $(OBJS)

htfuzzy.o: /auto/lsi/home/graef/WWW/apache_1.2b6/search/htdig-3.0.2/CONFIG

# Generated automatically from Makefile.in by configure.
include /auto/lsi/home/graef/WWW/apache_1.2b6/search/htdig-3.0.2/Makefile.config

DIRS= gdbm-1.7.3 rx-1.0 \
                htlib htcommon htfuzzy htdig \
                htsearch htmerge htnotify
INSTALLDIRS= htfuzzy htdig \
                htsearch htmerge htnotify
CREATEDIRS= $(BIN_DIR) $(CONFIG_DIR) $(COMMON_DIR) $(DATABASE_DIR) \
                $(IMAGE_DIR) $(CGIBIN_DIR) $(SEARCH_DIR)
NO_DIST= BETA.DIST htdig/*.conf htmerge/*.conf htsearch/*.conf \
                 *.gz */*.gz
IMAGES= button1.gif button2.gif button3.gif button4.gif button5.gif \
                button6.gif button7.gif button8.gif button9.gif buttonl.gif \
                buttonr.gif button10.gif htdig.gif star.gif star_blank.gif

all:
        @for i in $(DIRS); \
        do \
                (cd $$i; $(MAKE) $(MFLAGS) all); \
        done;

clean:
        @for i in $(DIRS); \
        do \
                (cd $$i; $(MAKE) $(MFLAGS) clean); \
        done;

distclean:
        @for i in $(DIRS); \
        do \
                (cd $$i; $(MAKE) $(MFLAGS) distclean); \
        done;
        $(RM) -rf config.cache config.status config.log config.h \
                Makefile Makefile.config makedp *.gz test *~ \
                include/htconfig.h
        $(RM) -f rx-1.0/config.cache rx-1.0/config.status

install:
        @echo "Installing ht://Dig"
        @echo ""
        @echo "Creating directories (if needed)..."
        -@for i in $(CREATEDIRS); \
        do \
                echo " $$i"; \
                $(INSTALL) -d $$i; \
        done;
        @echo ""
        @echo "Installing individual programs..."
        @for i in $(INSTALLDIRS); \
        do \
                (cd $$i; $(MAKE) $(MFLAGS) install); \
        done;
        @echo ""
        @echo "Installing default configuration files..."
        @if [ ! -f $(CONFIG_DIR)/htdig.conf ]; then $(SED) -e s%@DATABASE_DIR@%$(DATABASE_DIR)% -e s%@IMAGEDIR@%$(IMAGE_URL_PREFIX)% installdir/htdig.conf >$(CONFIG_DIR)/htdig.conf; echo $(CONFIG_DIR)/htdig.conf;fi
        @if [ ! -f $(COMMON_DIR)/bad_words ]; then $(INSTALL) installdir/bad_words $(COMMON_DIR); echo $(COMMON_DIR)/bad_words; fi
        @if [ ! -f $(SEARCH_DIR)/$(SEARCH_FORM) ]; then $(SED) -e s%@IMAGEDIR@%$(IMAGE_URL_PREFIX)% installdir/search.html >$(SEARCH_DIR)/$(SEARCH_FORM); echo $(SEARCH_DIR)/$(SEARCH_FORM);fi
        @if [ ! -f $(COMMON_DIR)/footer.html ]; then $(SED) -e s%@IMAGEDIR@%$(IMAGE_URL_PREFIX)% installdir/footer.html >$(COMMON_DIR)/footer.html; echo $(COMMON_DIR)/footer.html;fi
        @if [ ! -f $(COMMON_DIR)/header.html ]; then $(SED) -e s%@IMAGEDIR@%$(IMAGE_URL_PREFIX)% installdir/header.html >$(COMMON_DIR)/header.html; echo $(COMMON_DIR)/header.html;fi
        @if [ ! -f $(COMMON_DIR)/nomatch.html ]; then $(SED) -e s%@IMAGEDIR@%$(IMAGE_URL_PREFIX)% installdir/nomatch.html >$(COMMON_DIR)/nomatch.html; echo $(COMMON_DIR)/nomatch.html;fi
        @if [ ! -f $(COMMON_DIR)/syntax.html ]; then $(SED) -e s%@IMAGEDIR@%$(IMAGE_URL_PREFIX)% installdir/syntax.html >$(COMMON_DIR)/syntax.html; echo $(COMMON_DIR)/syntax.html;fi
        @if [ ! -f $(COMMON_DIR)/english.0 ]; then $(INSTALL) installdir/english.0 $(COMMON_DIR); echo $(COMMON_DIR)/english.0;fi
        @if [ ! -f $(COMMON_DIR)/english.aff ]; then $(INSTALL) installdir/english.aff $(COMMON_DIR); echo $(COMMON_DIR)/english.aff;fi
        @echo "Installing images..."
        @for i in $(IMAGES); \
        do \
                if [ ! -f $(IMAGE_DIR)/$$i ]; then $(INSTALL) -m 0664 installdir/$$i $(IMAGE_DIR)/$$i; echo $(IMAGE_DIR)/$$i;fi \
        done;
        @echo "Creating rundig script..."
        @if [ ! -f $(BIN_DIR)/rundig ]; then \
                $(SED) -e s%@BIN_DIR@%$(BIN_DIR)% installdir/rundig >$(BIN_DIR)/rundig; \
                chmod 755 $(BIN_DIR)/rundig; \
        fi
        @echo "Installation done."
        @echo ""
        @echo "Before you can start searching, you will need to create a"
        @echo "search database. A sample script to do this has been"
        @echo "installed as " $(BIN_DIR)/rundig

depend:
        @for i in $(DIRS); \
        do \
                (cd $$i; $(MAKE) $(MFLAGS) depend); \
        done;

dist:
        $(RM) -r $(DISTDIR)
        mkdir $(DISTDIR)
        $(TAR) cf - . | (cd $(DISTDIR); $(TAR) xf -)
        (cd $(DISTDIR); $(MAKE) distclean)
        -for i in $(DIRS); \
        do \
                (cd $(DISTDIR)/$$i; mv -f .sniffdir/ofiles.incl .; \
                 $(RM) -fr RCS docu .sniffdir; \
                 mkdir .sniffdir; \
                 mv -f ofiles.incl .sniffdir/ofiles.incl); \
        done;
        (cd $(DISTDIR); $(RM) -f $(NO_DIST))
        (cd $(DISTDIR)/..; $(TAR) czf $(DIST).tar.gz $(DIST))

tar:
        tar czf ht.tar.gz --exclude ht.tar.gz .

----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:25:13 PST