I'v finally desided to bite the hard-matalic projectile, and
install
smartlist . . .
However: it will not install!
I wrote to SRV a week or so ago about this, but have heard nothing (may
have the wrong address).
I tend to think the problem is with the system I'm trying to install on;
but I could verywell be wrong about that . . .
Below I include the 'uname -a' output, the output received through
scripting the installation session, account information, and a copy of the
MAKEFILE I am using.
The account is called "lists", and it is in the standard user group for
the system.
(5 meg hard limit)
Home dir: /home/lists
Unpacked procmail into "~/procmail-1.11pre7", and smartlist under that in
"./SmartList".
System information:
Linux madness 2.0.27 #11 Thu Jan 2 22:17:31 EST 1997 i586
The system has procmail 3.11pre7 already installed in the standard
directory; and I do not have root access . . .
Contents of "typescript":
Script started on Tue Sep 9 18:05:36 1997
madness:~/procmail/SmartList$ clear;install.sh /home/lists/smartlist
[H[J*** This script is best run as root, if that's not possible press return
*** to continue; if it *is* possible, abort now and restart as root!
cd ..; make make init
make[1]: Entering directory `/home/lists/procmail'
/bin/sh ./initmake /bin/sh "/bin/sh" "/bin/rm -f" "mv -f" "ln" \
"-lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lnsl -lsun -lgen
-lsockdns -ldl" \
"/lib /usr/lib /usr/local/lib /usr/include /usr/local/include" \
/dev/null "make" o \
"cc" "-O " "-s " "procmail lockfile formail mailstat" \
"procmail formail lockfile" \
"procmailrc procmailsc procmailex" "src man" \
"/home/lists/smartlist/bin"
cc seems to work fine, using that as the C-compiler
Whoeaaa! There's something fishy going on here.
You have a look and see if you detect anything uncanny:
*******************************************************
In file included from _autotst.c:1:
/usr/include/sys/types.h:4: linux/types.h: No such file or directory
In file included from _autotst.c:3:
/usr/include/sys/stat.h:8: linux/stat.h: No such file or directory
*******************************************************
I suggest you take a look at the definition of CC and CFLAGS*
in the Makefile before you try make again.
Also: write me a mail showing the errorlog you just generated.
The errorlog can still be found in src/_autotst.rrr
It would be helpful if you could mention what machine and OS
you are trying to compile this on (uname -a). Thanks.
make[1]: *** [init] Error 1
make[1]: Leaving directory `/home/lists/procmail'
make: *** [init] Error 2
Script done on Tue Sep 9 18:10:52 1997
Contents of "../Makefile":
#$Id: Makefile,v 1.73 1997/04/28 00:27:40 srb Exp $
# BASENAME should point to where the whole lot will be installed
# change BASENAME to your home directory if need be
BASENAME = /home/lists/smartlist
# For display in the man pages
VISIBLE_BASENAME= $(BASENAME)
# You can predefine ARCHITECTURE to a bin directory suffix
ARCHITECTURE =
#ARCHITECTURE =.sun4
BINDIR_TAIL = bin$(ARCHITECTURE)
MANDIR = $(BASENAME)/man
BINDIR = $(BASENAME)/$(BINDIR_TAIL)
VISIBLE_BINDIR = $(VISIBLE_BASENAME)/$(BINDIR_TAIL)
# MAN1SUFFIX for regular utility manuals
MAN1SUFFIX =1
# MAN5SUFFIX for file-format descriptions
MAN5SUFFIX =5
MAN1DIR = $(MANDIR)/man$(MAN1SUFFIX)
MAN5DIR = $(MANDIR)/man$(MAN5SUFFIX)
# Uncomment to install compressed man pages (possibly add extra suffix
# to the definitions of MAN?DIR and/or MAN?SUFFIX by hand)
#MANCOMPRESS = compress
############################*#
# Things that can be made are:
#
# help (or targets) Displays this list you are looking at
# init (or makefiles) Performs some preliminary sanity checks on your system
# and generates Makefiles accordingly
# bins Preinstalls only the binaries to ./new
# mans Preinstalls only the man pages to ./new
# all Does both
# install.bin Installs the binaries from ./new to $(BINDIR)
# install.man Installs the man pages from ./new to $(MAN[15]DIR)
# install Does both
# recommend Show some recommended suid/sgid modes
# install-suid Impose the modes shown by 'make recommend'
# clean Attempts to restore the package to pre-make state
# realclean Attempts to restore the package to pre-make-init state
# deinstall Removes any previously installed binaries and man
# pages from your system by careful surgery
# autoconf.h Will list your system's anomalies
# procmail Preinstalls just all procmail related stuff to ./new
# formail Preinstalls just all formail related stuff to ./new
# lockfile Preinstalls just all lockfile related stuff to ./new
# setid Creates the setid binary needed by the SmartList
# installation
######################*#
# Makefile.0 - mark, don't (re)move this, a sed script needs it
LOCKINGTEST=__defaults__
#LOCKINGTEST=/tmp . # Uncomment and add any directories you see fit.
# If LOCKINGTEST is defined, autoconf will NOT
# prompt you to enter additional directories.
# See INSTALL for more information about the
# significance of the locking tests.
########################################################################
# Only edit below this line if you *think* you know what you are doing #
########################################################################
#LOCKINGTEST=100 # Uncomment (and change) if you think you know
# it better than the autoconf lockingtests.
# This will cause the lockingtests to be hotwired.
# 100 to enable fcntl()
# 010 to enable lockf()
# 001 to enable flock()
# Or them together to get the desired combination.
# Optional system libraries we search for
SEARCHLIBS = -lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lnsl -lsun \
-lgen -lsockdns -ldl
# -lresolv # not really needed, is it?
# Informal list of directories where we look for the libraries in SEARCHLIBS
LIBPATHS=/lib /usr/lib /usr/local/lib /usr/include /usr/local/include
GCC_WARNINGS = -O2 -pedantic -Wreturn-type -Wunused -Wformat -Wtraditional \
-Wpointer-arith -Wconversion -Waggregate-return \
#-Wimplicit -Wshadow -Wid-clash-6 #-Wuninitialized
# The place to put your favourite extra cc flag
CFLAGS0 = -O #$(GCC_WARNINGS)
LDFLAGS0= -s
# Read my libs :-)
LIBS=
CFLAGS1 = $(CFLAGS0) #-posix -Xp
LDFLAGS1= $(LDFLAGS0) $(LIBS) #-lcposix
####CC = cc # gcc
# object file extension
O = o
RM = /bin/rm -f
MV = mv -f
LN = ln
BSHELL = /bin/sh
INSTALL = cp
DEVNULL = /dev/null
SUBDIRS = src man
BINSS = procmail lockfile formail mailstat
MANS1S = procmail formail lockfile
MANS5S = procmailrc procmailsc procmailex
# Makefile - mark, don't (re)move this, a sed script needs it
all: init
$(MAKE) make $@
make:
@$(BSHELL) -c "exit 0"
.PRECIOUS: Makefile
init:
$(BSHELL) ./initmake $(BSHELL) "$(SHELL)" "$(RM)" "$(MV)" "$(LN)" \
"$(SEARCHLIBS)" \
"$(LIBPATHS)" \
$(DEVNULL) "$(MAKE)" $(O) \
"$(CC)" "$(CFLAGS1)" "$(LDFLAGS1)" "$(BINSS)" \
"$(MANS1S)" \
"$(MANS5S)" "$(SUBDIRS)" \
"$(VISIBLE_BINDIR)"
makefiles makefile Makefiles Makefile: init
@$(BSHELL) -c "exit 0"
help target targets \
bins mans install.bin install.man install recommend install-suid clean setid \
realclean veryclean clobber deinstall autoconf.h $(BINSS) multigram: init
$(MAKE) make $@
end_of_included_data
Does anyone have any idea what can be done?--It looks like some libraries
are missing or some such thing . . .
Note: *please* do *not* include the entire test of this message in your
replies!
Thanks
Luke Davis