syslog-ng-1.5.15 with tcp-wrapper support
Hi, I tried to compile syslog-ng-1.5.15 with tcp-wrapper support but had no success. First I had to patch afinet.c with the patch mentioned in http://lists.balabit.hu/pipermail/syslog-ng/2002-February/002962.html But when compiling I get: make[3]: Entering directory `/root/syslog-ng-1.5.15/src' make_class <afinet.c >afinet.c.xT Warning: use of macro doesn't match definition (syntax-rules '() ((let-and (expr) clause clauses ...) (and expr (let-and clause clauses ...))) ((let-and (name expr) clause clauses ...) (let ((name expr)) (and name (let-and clause clauses ...)))) ((let-and expr) expr)) Error: attempt to call a non-procedure ('syntax-error '(#{Name let-and} ((pair? expr)) (op-matches (match # #)) (arg-matches (match # #)) (append op-matches arg-matches)) '#{Procedure 2489 (unnamed in make-name-generator in names)} '#{Procedure 2486 (unnamed in make-keyword-comparator in names)}) make[3]: *** [afinet.c.x] Error 1 make[3]: Leaving directory `/root/syslog-ng-1.5.15/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/syslog-ng-1.5.15/src' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/root/syslog-ng-1.5.15/src' make: *** [all-recursive] Error 1 Is this a know problem or am I missing something? Regards Stefan
Stefan M. Brandl writes:
I tried to compile syslog-ng-1.5.15 with tcp-wrapper support but had no success. First I had to patch afinet.c with the patch mentioned in http://lists.balabit.hu/pipermail/syslog-ng/2002-February/002962.html
But when compiling I get:
make[3]: Entering directory `/root/syslog-ng-1.5.15/src' make_class <afinet.c >afinet.c.xT
Warning: use of macro doesn't match definition (syntax-rules '() ((let-and (expr) clause clauses ...) (and expr (let-and clause clauses ...))) ((let-and (name expr) clause clauses ...) (let ((name expr)) (and name (let-and clause clauses ...)))) ((let-and expr) expr))
This is a bug of some kind in make_class, which comes with the lib-ol package (and is probably installed in your /usr/local/bin). A kind soul on the syslog-ng list turned in this patch to fix make_class (you'll want to edit by hand or apply with "patch -l" since I'm screwing up the whitespace by posting it this way). --- /usr/local/bad/make_class Wed Feb 6 15:59:34 2002 +++ ./make_class Wed Mar 6 12:10:32 2002 @@ -19,7 +19,7 @@ ;; FIXME: Turn this into a scheme48 module (define-syntax let-and - (syntax-rules '() + (syntax-rules () ((let-and (expr) clause clauses ...) (and expr (let-and clause clauses ...))) ((let-and (name expr) clause clauses ...)
On Thu, Apr 11, 2002 at 01:01:15PM -0400, Ed Ravin wrote:
Stefan M. Brandl writes:
I tried to compile syslog-ng-1.5.15 with tcp-wrapper support but had no success. First I had to patch afinet.c with the patch mentioned in http://lists.balabit.hu/pipermail/syslog-ng/2002-February/002962.html
But when compiling I get:
make[3]: Entering directory `/root/syslog-ng-1.5.15/src' make_class <afinet.c >afinet.c.xT
Warning: use of macro doesn't match definition (syntax-rules '() ((let-and (expr) clause clauses ...) (and expr (let-and clause clauses ...))) ((let-and (name expr) clause clauses ...) (let ((name expr)) (and name (let-and clause clauses ...)))) ((let-and expr) expr))
This is a bug of some kind in make_class, which comes with the lib-ol package (and is probably installed in your /usr/local/bin). A kind soul on the syslog-ng list turned in this patch to fix make_class (you'll want to edit by hand or apply with "patch -l" since I'm screwing up the whitespace by posting it this way).
--- /usr/local/bad/make_class Wed Feb 6 15:59:34 2002 +++ ./make_class Wed Mar 6 12:10:32 2002 @@ -19,7 +19,7 @@ ;; FIXME: Turn this into a scheme48 module
(define-syntax let-and - (syntax-rules '() + (syntax-rules () ((let-and (expr) clause clauses ...) (and expr (let-and clause clauses ...))) ((let-and (name expr) clause clauses ...)
applied this patch to my libol CVS tree. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
participants (3)
-
Balazs Scheidler
-
Ed Ravin
-
Stefan M. Brandl