Richard, Thanks for the info. I couldn't work on this project for a little while, but am now working through your setup instructions. I was stopped when I tried compiling syslog-ng though. On Jul 16, 2004, at 4:28 PM, OpenMacNews wrote:
hi ken,
-- On Friday, July 16, 2004 4:02 PM -0400 Ken Toney <ktoney@tiff.org> wrote:
I haven't gotten syslog-ng installed on OS X 10.3.4 yet, but can share with you some resources I have for information. You might try reading
I'd be happy to share my conf file with you once I get syslog-ng running, but I am one step behind you. I am trying to install syslog-ng 1.6.4 on OS X 10.3.4 and can't. Did you run into any problems installing syslog-ng? I'd be happy to share my conf file with you once I get syslog-ng running, but I am one step behind you. I am trying to install syslog-ng 1.6.4 on OS X 10.3.4 and can't. Did you run into any problems installing syslog-ng?
i've got it all working now for local & remote logging ...
here are my build notes ... not pretty, but hey ;-)
hope this is helpful!
richard
========================================
1st, my env particulars ...
% /usr/local/ssl/bin/openssl version OpenSSL 0.9.7d 17 Mar 2004 % uname -v Darwin Kernel Version 7.4.0: Wed May 12 16:58:24 PDT 2004; root:xnu/xnu-517.7.7.obj~7/RELEASE_PPC % glibtool --version ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.94 2004/04/10 16:27:27) % automake --version automake (GNU automake) 1.8.5 % autoconf --version autoconf (GNU Autoconf) 2.59 , and, BIND 9.2.3 in /usr/local/bind9
My env particulars match, except for BIND. I hadn't planned on having BIND installed on this system. I don't see where it is needed for receiving the logs. Is it needed?
################################################################## libol wget http://www.balabit.com/downloads/libol/0.3/libol-0.3.13.tar.gz
gnutar zxf libol-0.3.13.tar.gz
unsetenv CFLAGS CPPFLAGS CXX CXXFLAGS LDFLAGS LDDLFLAGS LD_PREBIND EXTRA_LDFLAGS EXTRA_LIBS LC_ALL LANG LINGUAS
cd /usr/ports/libol-0.3.13
glibtoolize --force --copy ;\ aclocal ;\ autoconf
./configure \ --prefix=/usr/local
make
make install
Got libol installed. Could you offer some explanation for the unsetenv line? I am using bash, but I changed my shell to tcsh so I could set the environmental variables in the same manner. Just curious what this is doing?
################################################################## syslog-ng wget http://www.balabit.com/downloads/syslog-ng/1.6/src-snapshot/syslog-ng -1.6.4+20040714.tar.gz
gnutar zxvf syslog-ng-1.6.4+20040714.tar.gz mv syslog-ng-1.6.4+20040714 syslog-ng cd /usr/ports/syslog-ng
unsetenv CFLAGS CPPFLAGS CXX CXXFLAGS LDFLAGS LDDLFLAGS LD_PREBIND EXTRA_LDFLAGS EXTRA_LIBS LC_ALL LANG LINGUAS ;\ setenv LDFLAGS "-bind_at_load -L/usr/local/bind9/lib -llwres -lbind" ;\ setenv CPPFLAGS "-I/usr/local/bind9/include"
./configure \ --prefix=/usr/local \ --enable-debug \ --enable-tcp-wrapper
make make install
Started running into problems installing syslog-ng. I used the line "unsetenv..." but not the following two lines for "setenv..." because they dealt with BIND. Some of my problems may be solved by my previous questions, so I'll wait to go into detail until we rule out those differences. Thanks for your help. Ken