On Wed, Jun 23, 2004 at 12:13:17PM +0700, T.S. Riyadh wrote:
> qmail-autoresponder-0.96.1.tar.gz
>
> kog erorr ya
>
> [EMAIL PROTECTED] qmail-autoresponder-0.96.1]# make
> ( bglibs=`head -1 conf-bglibs`; \
> echo '#!/bin/sh';\
> echo 'main="$1"; shift';\
> echo exec `head -1 conf-ld` "-L'${bglibs}'" '-o "$main" "$main.o"
> ${1+"$@"}' -lbg-sysdeps; \
> ) >load
> chmod 755 load
> ( bgincs=`head -1 conf-bgincs`; \
> echo '#!/bin/sh'; \
> echo 'source=$1; shift'; \
> echo 'base=`echo "$source" | sed -e s:\\\\.c$::`'; \
> echo exec `head -1 conf-cc` -I. "-I'${bgincs}'" '-o ${base}.o -c $source
> ${1+"$@"}'; \
> ) >compile
> chmod 755 compile
> ./compile qmail-autoresponder.c
> ./compile main.c
> main.c:247:1: missing terminating " character
Patch dengan patch dibawah ini, caranya seperti biasa:
% cd qmail-autoresponder-0.96.1
% patch -p0 < multiline-gcc-3x.patch
% make qmail-autoresponder (untuk build qmail-autoresponder tanpa MySQL)
Salam,
Asfihani
--- main.c.asli 2004-06-24 11:06:44.000000000 +0700
+++ main.c 2004-06-24 11:06:47.000000000 +0700
@@ -244,17 +244,17 @@
}
static const char* usage_str =
-"usage: %s [-cqDNT] [-n NUM] [-s STR] [-t TIME] %s
- -c Copy message into response
- -n NUM Set the maximum number of replies (defaults to 1)
- -s STR Add the subject to the autoresponse, prefixed by STR
- -t TIME Set the time interval, in seconds (defaults to 1 hour)
- -q Don't show error messages
- -D Don't remove old response records
- -N Don't send, just send autoresponse to standard output
- If more than NUM messages are received from the same sender
- within TIME seconds of each other, no response is sent.
- This program must be run by qmail.
+"usage: %s [-cqDNT] [-n NUM] [-s STR] [-t TIME] %s\n\
+ -c Copy message into response\n\
+ -n NUM Set the maximum number of replies (defaults to 1)\n\
+ -s STR Add the subject to the autoresponse, prefixed by STR\n\
+ -t TIME Set the time interval, in seconds (defaults to 1 hour)\n\
+ -q Don't show error messages\n\
+ -D Don't remove old response records\n\
+ -N Don't send, just send autoresponse to standard output\n\
+ If more than NUM messages are received from the same sender\n\
+ within TIME seconds of each other, no response is sent.\n\
+ This program must be run by qmail.\n\
%s";
void usage(const char* msg)
--
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip dan info di http://linux.or.id/milis.php
FAQ milis http://linux.or.id/faq.php