procmail
[Top] [All Lists]

Re: Compiling procmail with gcc-lib 2.7.2.1/Sun 5.5.1

1998-08-14 08:52:15
|Fri 1998-08-14 era eriksson <era(_at_)iki(_dot_)fi> list.procmail
| 
| In my limited experience, the Makefile's suggestion to muck with
| LDFLAGS is unfortunately often completely misleading.

That's why I went directly to config.h to turn off all kernel locks.

|  > In file included from _autotst.c:2: 
|  > ../config.h:22: parse error before string constant 
| 
| Is this the stock config.h without any changes, or would you perhaps
| happen to have made some extensive changes to it?

Silly me...yes, I did and changed some default settings and forgot that
continued macros must have trailing \. Ok fixing that got compilation
working as expected. I would still like this forum to review the changes
I made. Eg. I considered default DEFPATH too limited and added couple
of standard executable paths. What do you think? And I turned off all locking
methods as I understand .lock beeing the de facto and reliable.

Would someone have tips for installing smartlist, Is there smarlist 
archive or setup FAQ somewhere? If all the needed things are in smarlist
tar ball, disregard the question. I haven't unpacked that tar yet.

Thank you, and Scott Griffith who sent procmail makefile (Sun 5's)
to me. 

Now I'm wondering how what to do with SmarList..Hm no Makefile,
interesting...and no rule for smartlist in procmail's Makefile..
maybe I just do 'make clean' and re'make' (I've unpacked Smarlist
tarball...)

jari

--- config.h.orig       Fri Aug 14 15:50:52 1998
+++ config.h    Fri Aug 14 15:59:49 1998
@@ -18,7 +18,9 @@
  */
 #define KEEPENV                {"TZ",0}
 
-/*#define DEFPATH      "PATH=$HOME/bin:/bin:/usr/bin"  /* uncomment and/or
+#define DEFPATH        
+  "PATH=$HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/ucb"
+       /* uncomment and/or
                                                           change if you
        do not want the autoconf generated defPATH setting to be used in
        PRESTENV below. */
@@ -45,9 +47,9 @@
 #define TRUSTED_IDS    {"root","daemon","uucp","mail","x400","network",\
                         "list","slist","lists","news",0}
 
-/*#define NO_fcntl_LOCK                /* uncomment any of these three if you  
     */
-/*#define NO_lockf_LOCK                /* definitely do not want procmail to 
make   */
-/*#define NO_flock_LOCK                /* use of those kernel-locking methods  
     */
+#define NO_fcntl_LOCK          /* uncomment any of these three if you       */
+#define NO_lockf_LOCK          /* definitely do not want procmail to make   */
+#define NO_flock_LOCK          /* use of those kernel-locking methods       */
 
 /*#define RESTRICT_EXEC                    /* don't allow everyone to fork 
programs */
 
@@ -62,7 +64,7 @@
    (either directly, or through changing the definitions in the same file
    of MAILSPOOLDIR, MAILSPOOLHASH or MAILSPOOLHOME) */
 
-/*#define DEFsendmail  "/bin/mail"     /* uncomment and/or change if the
+#define DEFsendmail    "/bin/mail"     /* uncomment and/or change if the
                                           autoconfigured default SENDMAIL is
        not suitable */
 



<Prev in Thread] Current Thread [Next in Thread>