[syslog-ng] syslog-ng 2.0.0 successful on Mac OS X Tiger

Orth, Alan AOrth at exchange.csuchico.edu
Thu Dec 14 07:38:21 CET 2006


Oliver,

I just saw your post on AFP548.com about installing syslog-ng 2.0 on Tiger. I never got around to seeing what I did differently than you to get mine working, but it looks like you're good to go, eh?

Here's the article I was referring to, just in case any other Mac OS X
Admins are on the list:

http://www.afp548.com/article.php?story=20061204055805896

--  
Alan Orth
Upward  Bound - Systems Administrator
User Services - Field  Technician
California State University, Chico
(530)898-6000




From: Olivier DUCROT <Olivier.Ducrot at easymac.fr>
Reply-To: Syslog-ng users' and developers' mailing list
<syslog-ng at lists.balabit.hu>
Date: Sat, 02 Dec 2006 10:59:58 +0100
To: "Syslog-ng users' and developers' mailing list
<syslog-ng at lists.balabit.hu>" <syslog-ng at lists.balabit.hu>
Conversation: [syslog-ng] syslog-ng 2.0.0 successful on Mac OS X Tiger
Subject: Re: [syslog-ng] syslog-ng 2.0.0 successful on Mac OS X Tiger

Here¹s where I stand :

    I fetched and decompress all the src and dependencies

curl ­O 
http://www.balabit.com/downloads/syslog-ng/2.0/src/syslog-ng-2.0.0.tar.gz
curl ­O http://pkgconfig.freedesktop.org/releases/pkg-config-0.21.tar.gz
curl ­O 
http://www.balabit.com/downloads/syslog-ng/2.0/src/eventlog-0.2.5.tar.gz
ftp ftp.gtk.org/pub/gtk/v2.0/glib-2.0.7.tar.bz2
ftp ftp.gnu.org/gnu/gettext/gettext-0.16.tar.gz


-rw-------    1 ducrot  staff    1510735 Nov  4  2002 glib-2.0.7.tar.bz2
-rw-r--r--    1 ducrot  staff     312164 Dec  2 09:11 eventlog-0.2.5.tar.gz
-rw-------    1 ducrot  staff    8546162 Oct 26 21:05 gettext-0.16.tar.gz
-rw-r--r--    1 ducrot  staff    1628160 Dec  1 22:39 syslog-ng-2.0.0.tar
-rw-r--r--    1 ducrot  staff    4546560 Dec  1 22:44 pkg-config-0.21.tar


./configure
Make
Sudo make install all the stuff in the following order

-rw-r--r--    1 ducrot  staff    4546560 Dec  1 22:44 pkg-config-0.21.tar
-rw-r--r--    1 ducrot  staff     312164 Dec  2 09:11 eventlog-0.2.5.tar.gz
-rw-------    1 ducrot  staff    8546162 Oct 26 21:05 gettext-0.16.tar.gz
-rw-------    1 ducrot  staff    1510735 Nov  4  2002 glib-2.0.7.tar.bz2

Tried ./configure on syslog-ng-2.0.0

Got the following error

checking for static GLib libraries... no
configure: error: static GLib libraries not found (a file named
libglib-2.0.a), either link GLib dynamically using the
--enable-dynamic-linking or install a static GLib


Tried with dynamic links

./configure --enable-dynamic-linking  is ok, but make report the following
error :

make  all-recursive
Making all in src
gcc  -g -O2 -Wall -g   -o syslog-ng  main.o libsyslog-ng.a -lfl
-L/usr/local/lib -lglib-2.0 -lintl -liconv   -L/usr/local/lib -levtlog
/usr/bin/ld: Undefined symbols:
_G_LIKELY
_G_UNLIKELY
collect2: ld returned 1 exit status
make[2]: *** [syslog-ng] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Any idea ??

le 1/12/06 22:30, Olivier DUCROT à Olivier.Ducrot at easymac.fr a écrit :

> Hi,
> 
> I tried 1.6 on Tiger Server without success. I¹m happy to see that you
> succeeded.
> I installed it through macosports.org.
> 
> Since v2.0 is not available on macosport, can you share your work ?
> 
> * link to get the good sources
> * compile directives
> * dependencies
> 
> Thanks
> 
> Olivier
> 
> 
> le 30/11/06 18:22, Orth, Alan à AOrth at exchange.csuchico.edu a écrit :
> 
>> Good morning,
>> 
>> For some time now I've have syslog-ng 1.6 working on Mac OS X Panther
>> servers, but I could never get 1.6 or 1.9 (and probably some early 2.0 betas)
>> to work.  I just completed an install of 2.0.0 on a clean installed Tiger
>> server. I don't have a complicated logging setup (4 filters, 4 logging
>> destinations), but I do like syslog-ng's ability to eliminate the need for
>> log rotation by logging filters and directory structures...
>> 
>> I know I had been trying every few months over the last year or so to get
>> this installed, and a few other people posted with trouble getting it to run,
>> so I'll post some stats about my setup:
>> 
>> 
>> Machine is a 2 GHz G5 Xserve running Mac OS X Server 10.4.8 (8L127).
>> 
>> $ uname -a
>> Darwin hostname.school.edu 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep  8
>> 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh
>> powerpc RackMac3,1 Darwin
>> 
>> Good work, whoever fixed it!
>> 
>> --
>> Alan Orth
>> Upward Bound - Systems Administrator
>> User Services - Field Technician
>> California State University, Chico
>> x6000 
>> 
>> 
>> _______________________________________________
>> syslog-ng maillist  -  syslog-ng at lists.balabit.hu
>> https://lists.balabit.hu/mailman/listinfo/syslog-ng
>> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>> 
> 
> 
> 
> _______________________________________________
> syslog-ng maillist  -  syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
> 



_______________________________________________
syslog-ng maillist  -  syslog-ng at lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20061213/50e66bb3/attachment.htm


More information about the syslog-ng mailing list