makoto@fujiwara■9:17:45/991222(...src/procmail-3.14)> make /bin/sh ./initmake /bin/sh "/bin/tcsh" "/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" /dev/null "make" o "cc" "-O" "-s " "procmail lockfile formail mailstat" "procmail formail lockfile" "procmailrc procmailsc procmailex" "src man" "/usr/bin" Warning: really perverted make detected cc seems to work fine, using that as the C-compiler ...scanning for 13 libraries... ...scanning for 12 libraries... ...scanning for 11 libraries... ...scanning for 10 libraries... ...scanning for 9 libraries... ...scanning for 8 libraries... ...scanning for 7 libraries... ...scanning for 6 libraries... ...scanning for 5 libraries... ...scanning for 4 libraries... ...scanning for 3 libraries... ...scanning for 2 libraries... Added LDFLAGS= -lm -lc make make all cd src; make ../autoconf.h /bin/sh ./autoconf /bin/sh "/bin/rm -f" "mv -f" /dev/null "grep -F" "make" o "__defaults__" "/usr/bin" ../autoconf.h ============================================================================== In order for the kernel-locking tests to work as intended I have to be able to test-lock files on as many semantically different filesystems as possible (for more information about this, READ PARAGRAPH TWO in INSTALL). To suppress this prompt you can set the LOCKINGTEST variable in the Makefile. Please add writable directories to the list. You should only add directories that reside on filesystems that have unique characteristics. E.g. if you have several remote NFS partitions, pick some unique client-server pairs, there is little use in picking the same server twice from the same client-machine. An excellent candidate would be a remotely mounted mail spool directory. ============================================================================== I will temporarily use a testdirectory named _locktest in the following directories: /tmp . If you would like to add any, please specify them below, press return to continue: ((return)) Initiating fcntl()/kernel-locking-support tests Proceeding with kernel-locking-support tests in the background Testing for const Testing for volatile Testing for prototypes Checking for POSIX and ANSI system include files Checking for network/comsat/biff support Testing for void*, size_t, off_t, pid_t, time_t, mode_t, uid_t & gid_t Checking realloc implementation Sorry, repeatedly reallocing is inefficient Testing for WIFEXITED(), WIFSTOPPED(), WEXITSTATUS() & WSIGTERM() Testing for memmove, strchr, strpbrk, strcspn, strtol, strstr, rename, setrgid, setegid, pow, opendir, mkdir & waitpid Determining the maximum number of 16 byte arguments execv() takes Benchmarking your system's strstr() implementation Waiting for the kernel-locking tests to finish... Every two digits a file is locked. First digit: which file, second digit: which program, XX indicates a lock conflict or failure Starting test 4 on /tmp/_locktest 17 03 16 02 15 01 14 00 07 13 06 12 07 15 03 11 10 06 14 02 07 11 05 10 03 17 06 11 02 15 10 04 16 03 14 07 01 13 05 13 02 11 00 15 06 12 07 10 04 12 03 17 01 14 05 13 06 17 00 15 02 16 01 17 Starting test 4 on ./_locktest 13 07 06 12 05 11 03 10 06 14 02 17 05 13 01 10 16 04 12 07 15 03 11 00 16 07 14 03 12 00 15 06 11 04 17 03 17 02 17 00 12 05 10 06 12 01 16 04 12 03 07 11 13 05 11 00 17 06 04 13 02 15 06 11 Starting test 6 on /tmp/_locktest 15 07 14 06 13 00 12 01 17 05 16 04 17 03 15 00 16 02 14 01 15 07 14 03 17 00 17 06 10 02 17 01 16 05 11 04 16 03 15 00 14 02 16 07 01 03 05 00 04 10 02 10 06 10 07 01 10 03 11 05 17 04 11 02 15 Starting test 6 on ./_locktest 12 07 13 06 11 05 17 04 13 00 16 02 15 01 17 03 14 00 16 02 15 01 17 00 13 02 14 05 16 01 10 07 12 03 11 04 10 05 12 06 13 07 11 04 13 00 17 05 02 06 01 16 04 03 00 13 07 10 05 17 02 13 06 12 Starting test 7 on /tmp/_locktest Collecting results from kernel-locking tests =============================autoconf.h=================================== /* This file was automagically generated by autoconf */ /* 8 moves in 64 steps of size 16384 when reallocing */ #define INEFFICIENTrealloc #define NOsetrgid #define GOT_bin_test #define MAX_argc 15300 /* Your system's strstr() is 1.03 times FASTER than my C-routine */ #define UDP_protocolno 17 #define BIFF_serviceport "512" #define IP_localhost {127,0,0,1,} #define setrgid_RUNTIME_CHECK #define MAILSPOOLDIR "/var/mail/" #define SENDMAIL "/usr/sbin/sendmail" #define CF_no_procmail_yet #define defPATH "PATH=$HOME/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin" #define PM_VERSION "3.14" /*locktype: 4, countlocks: 0, timeout 0, watchdog 8, /tmp/_locktest*/ /*locktype: 4, countlocks: 0, timeout 0, watchdog 8, ./_locktest*/ /*locktype: 6, countlocks: 0, timeout 0, watchdog 8, /tmp/_locktest*/ /*locktype: 6, countlocks: 0, timeout 0, watchdog 8, ./_locktest*/ /*locktype: 7, countlocks: 80, timeout 1, watchdog 17, /tmp/_locktest*/ /* Hotwire LOCKINGTEST=110 */ /* Procmail will lock via: dotlocking, fcntl(), lockf() */ #define USElockf /* autoconf completed */ ========================================================================== echo Housekeeping file >config.check mkdir new 2>/dev/null; exit 0 cd src; make ../new/procmail ../new/lockfile ../new/formail ../new/mailstat cc -c -O procmail.c ........ ........ ln ../man/procmailex.5 ../new/procmailex.5 ================================================================ =============== If you are a system administrator you should consider integrating procmail into the mail-delivery system -- for advanced functionality, speed AND SECURITY --. For more information about this topic you should look in the examples/advanced file. Also, HIGHLY RECOMMENDED (type 'make install-suid' to execute it): chown root /usr/bin/procmail chmod 4755 /usr/bin/procmail ================================================================ =============== If you would like to inspect the results before running make install: All installable files can be found in the new/ subdirectory. makoto@fujiwara■9:23:14/991222(...src/procmail-3.14)> make install make install-suid ..... ..... chown root /usr/bin/procmail chmod 4755 /usr/bin/procmail Installed in /usr/bin -rwxr-xr-x 1 root wheel 40960 Dec 22 09:25 formail -rwxr-xr-x 1 root wheel 24576 Dec 22 09:25 lockfile -rwxr-xr-x 1 root wheel 5859 Dec 22 09:25 mailstat -rwsr-xr-x 1 root wheel 90112 Dec 22 09:25 procmail #