Anyone Get Syslog-NG To Compile on Red Hat?
I am trying to get syslog-ng 1.6.5 compiled on a RH 9 system. I compiled libol into /usr/local/libol-0.3.14. I tried the following configuration options when trying to build sysllg-ng: ./configure --prefix=/usr/local/syslog-ng-1.6.5 --with-libol=/usr/local/libol-0.3.14/lib --with-libnet=/usr/local/libol-0.3.14/bin/ ./configure --prefix=/usr/local/syslog-ng-1.6.5 --with-libol=/usr/local/libol-0.3.14/lib --with-libnet=/usr/local/libol-0.3.14 ./configure --prefix=/usr/local/syslog-ng-1.6.5 --with-libol=/usr/local/libol-0.3.14/lib --with-libnet=/usr/local/libol-0.3.14/bin/libol-config Each time is complains that it cannot find libol-config: <snip> checking for strptime... yes checking for TCP wrapper library... -lwrap checking whether to enable Sun STREAMS support... no checking whether to enable Sun door support... no checking whether to enable TCP wrapper support... no checking whether to enable spoof_source support... no checking libol version >= 0.3.14... configure: error: libol-config not found in the specified location Here is libol-config: syslog:~/syslog-ng-1.6.5 #ls -la /usr/local/libol-0.3.14/bin/ total 36 drwxr-xr-x 2 root root 4096 Aug 27 07:22 . drwxr-xr-x 5 root root 4096 Aug 27 07:22 .. -rwxr-xr-x 1 root root 1288 Aug 27 07:22 libol-config -rwxr-xr-x 1 root root 24264 Aug 27 07:22 make_class It finds the libol library correctly, otherwise it dies before it reaches this error. It just doesn't properly detect libol-config. Anyone have any ideas? Thanks, CC
On Fri, 2004-08-27 at 16:53, Rhugga wrote:
I am trying to get syslog-ng 1.6.5 compiled on a RH 9 system. I compiled libol into /usr/local/libol-0.3.14.
I tried the following configuration options when trying to build sysllg-ng: ./configure --prefix=/usr/local/syslog-ng-1.6.5 --with-libol=/usr/local/libol-0.3.14/lib --with-libnet=/usr/local/libol-0.3.14/bin/ /configure --prefix=/usr/local/syslog-ng-1.6.5 --with-libol=/usr/local/libol-0.3.14/lib --with-libnet=/usr/local/libol-0.3.14 ./configure --prefix=/usr/local/syslog-ng-1.6.5 --with-libol=/usr/local/libol-0.3.14/lib --with-libnet=/usr/local/libol-0.3.14/bin/libol-config
Each time is complains that it cannot find libol-config:
<snip> checking for strptime... yes checking for TCP wrapper library... -lwrap checking whether to enable Sun STREAMS support... no checking whether to enable Sun door support... no checking whether to enable TCP wrapper support... no checking whether to enable spoof_source support... no checking libol version >= 0.3.14... configure: error: libol-config not found in the specified location
Here is libol-config: syslog:~/syslog-ng-1.6.5 #ls -la /usr/local/libol-0.3.14/bin/ total 36 drwxr-xr-x 2 root root 4096 Aug 27 07:22 . drwxr-xr-x 5 root root 4096 Aug 27 07:22 .. -rwxr-xr-x 1 root root 1288 Aug 27 07:22 libol-config -rwxr-xr-x 1 root root 24264 Aug 27 07:22 make_class
It finds the libol library correctly, otherwise it dies before it reaches this error. It just doesn't properly detect libol-config.
you have to specify the root directory of libol, or add the directory to libol-config to your current PATH. --with-libol is meant to be used when you don't install libol itself. --with-libnet is completely different, it is needed only if you specify --enable-spoof-source -- Bazsi
Balazs Scheidler wrote:
On Fri, 2004-08-27 at 16:53, Rhugga wrote:
I am trying to get syslog-ng 1.6.5 compiled on a RH 9 system. I compiled libol into /usr/local/libol-0.3.14.
I tried the following configuration options when trying to build sysllg-ng: ./configure --prefix=/usr/local/syslog-ng-1.6.5 --with-libol=/usr/local/libol-0.3.14/lib --with-libnet=/usr/local/libol-0.3.14/bin/ /configure --prefix=/usr/local/syslog-ng-1.6.5 --with-libol=/usr/local/libol-0.3.14/lib --with-libnet=/usr/local/libol-0.3.14 ./configure --prefix=/usr/local/syslog-ng-1.6.5 --with-libol=/usr/local/libol-0.3.14/lib --with-libnet=/usr/local/libol-0.3.14/bin/libol-config
Each time is complains that it cannot find libol-config:
<snip> checking for strptime... yes checking for TCP wrapper library... -lwrap checking whether to enable Sun STREAMS support... no checking whether to enable Sun door support... no checking whether to enable TCP wrapper support... no checking whether to enable spoof_source support... no checking libol version >= 0.3.14... configure: error: libol-config not found in the specified location
Here is libol-config: syslog:~/syslog-ng-1.6.5 #ls -la /usr/local/libol-0.3.14/bin/ total 36 drwxr-xr-x 2 root root 4096 Aug 27 07:22 . drwxr-xr-x 5 root root 4096 Aug 27 07:22 .. -rwxr-xr-x 1 root root 1288 Aug 27 07:22 libol-config -rwxr-xr-x 1 root root 24264 Aug 27 07:22 make_class
It finds the libol library correctly, otherwise it dies before it reaches this error. It just doesn't properly detect libol-config.
you have to specify the root directory of libol, or add the directory to libol-config to your current PATH. --with-libol is meant to be used when you don't install libol itself.
--with-libnet is completely different, it is needed only if you specify --enable-spoof-source
Ahh, okay thanks. -rhugga
Balazs Scheidler wrote:
On Fri, 2004-08-27 at 16:53, Rhugga wrote:
I am trying to get syslog-ng 1.6.5 compiled on a RH 9 system. I compiled libol into /usr/local/libol-0.3.14.
I tried the following configuration options when trying to build sysllg-ng: ./configure --prefix=/usr/local/syslog-ng-1.6.5 --with-libol=/usr/local/libol-0.3.14/lib --with-libnet=/usr/local/libol-0.3.14/bin/ /configure --prefix=/usr/local/syslog-ng-1.6.5 --with-libol=/usr/local/libol-0.3.14/lib --with-libnet=/usr/local/libol-0.3.14 ./configure --prefix=/usr/local/syslog-ng-1.6.5 --with-libol=/usr/local/libol-0.3.14/lib --with-libnet=/usr/local/libol-0.3.14/bin/libol-config
Each time is complains that it cannot find libol-config:
<snip> checking for strptime... yes checking for TCP wrapper library... -lwrap checking whether to enable Sun STREAMS support... no checking whether to enable Sun door support... no checking whether to enable TCP wrapper support... no checking whether to enable spoof_source support... no checking libol version >= 0.3.14... configure: error: libol-config not found in the specified location
Here is libol-config: syslog:~/syslog-ng-1.6.5 #ls -la /usr/local/libol-0.3.14/bin/ total 36 drwxr-xr-x 2 root root 4096 Aug 27 07:22 . drwxr-xr-x 5 root root 4096 Aug 27 07:22 .. -rwxr-xr-x 1 root root 1288 Aug 27 07:22 libol-config -rwxr-xr-x 1 root root 24264 Aug 27 07:22 make_class
It finds the libol library correctly, otherwise it dies before it reaches this error. It just doesn't properly detect libol-config.
you have to specify the root directory of libol, or add the directory to libol-config to your current PATH. --with-libol is meant to be used when you don't install libol itself.
--with-libnet is completely different, it is needed only if you specify --enable-spoof-source
Okay, I added the location of the file to my PATH and I get the same results: Here is my PATH: syslog:~/syslog-ng-1.6.5 #echo $PATH /usr/local/libol-0.3.14/bin:/usr/java/bin:/usr/local/ant/bin:/usr/local/ssl/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin Here you can see my shell can correctly resolve the location of libol-config: syslog:~/syslog-ng-1.6.5 #which libol-config /usr/local/libol-0.3.14/bin/libol-config Any ideas? Thanks, rhugga
Rhugga wrote:
I am trying to get syslog-ng 1.6.5 compiled on a RH 9 system. I compiled libol into /usr/local/libol-0.3.14.
I have been maintaining SRPMS for RedHat/Fedora systems here: http://gsd.di.uminho.pt/jpo/software/RPMS/ Notes: * They compile fine in RH9 and FC2. * The syslog-ng 1.6.5 is built without spoof support (without libnet). * These SRPMS have been submitted for QA by the Fedora.us project. The bugzilla entries are the following: libol 0.3.14: https://bugzilla.fedora.us/show_bug.cgi?id=2014 syslog-ng 1.6.5 (and 1.6.2): https://bugzilla.fedora.us/show_bug.cgi?id=1332 old libol (0.3.13) http://bugzilla.fedora.us/show_bug.cgi?id=1331 Regards, jpo -- José Pedro Oliveira * mailto: jpo@di.uminho.pt * http://gsd.di.uminho.pt/~jpo * * gpg fingerprint = F9B6 8D87 859D 1C94 48F0 84C0 9749 9EB5 91BD 851B *
José Pedro Oliveira wrote:
Rhugga wrote:
I am trying to get syslog-ng 1.6.5 compiled on a RH 9 system. I compiled libol into /usr/local/libol-0.3.14.
I have been maintaining SRPMS for RedHat/Fedora systems here:
http://gsd.di.uminho.pt/jpo/software/RPMS/
Notes: * They compile fine in RH9 and FC2. * The syslog-ng 1.6.5 is built without spoof support (without libnet). * These SRPMS have been submitted for QA by the Fedora.us project. The bugzilla entries are the following:
libol 0.3.14: https://bugzilla.fedora.us/show_bug.cgi?id=2014 syslog-ng 1.6.5 (and 1.6.2): https://bugzilla.fedora.us/show_bug.cgi?id=1332 old libol (0.3.13) http://bugzilla.fedora.us/show_bug.cgi?id=1331
Regards, jpo
Thanks. I managed to get it to build by hard-coding a bunch of stuff in the configure script and side-stepping some sanity checking code. It compiled cleanly but I have yet to test it under an enterprise load yet. Thanks, Chuck
participants (3)
-
Balazs Scheidler
-
José Pedro Oliveira
-
Rhugga