Please excuse my ignorance - I am trying to install syslog-ng on RH 8.0 and have read the INSTALL document. I have the necessary dependancies from what I can tell (I'm also pretty new to RH / Linux); I have done the ./confgure, which seemed to go smooth. Following the ./configure, the INSTALL doc says to do a "make" - this is where I get hung up. I don't understand what the errors below are telling me; some of the files that are reported as missing are actually not present. However I have done everything exactly as the documentation specifies. What am I missing? root@RedHat8 syslog-ng-1.6.5]# make Making all in src make[1]: Entering directory `/misc/downloads/syslog-ng-1.6.5/src' make all-recursive make[2]: Entering directory `/misc/downloads/syslog-ng-1.6.5/src' Making all in . make[3]: Entering directory `/misc/downloads/syslog-ng-1.6.5/src' if gcc -DHAVE_CONFIG_H -I. -I/misc/downloads/syslog-ng-1.6.5/src -I. -g -O2 -Wall -D_GNU_SOURCE -MT main.o -MD -MP -MF ".deps/main.Tpo" \ -c -o main.o `test -f 'main.c' || echo '/misc/downloads/syslog-ng-1.6.5/src/'`main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; \ else rm -f ".deps/main.Tpo"; exit 1; \ fi In file included from main.c:26: syslog-ng.h:31:21: objects.h: No such file or directory In file included from cfgfile.h:29, from main.c:27: sources.h:30:23: read_line.h: No such file or directory In file included from sources.h:32, from cfgfile.h:29, from main.c:27: log.h:30:16: io.h: No such file or directory In file included from sources.h:32, from cfgfile.h:29, from main.c:27: log.h:39: parse error before "UINT32" log.h:39: warning: no semicolon at end of struct or union log.h:43: parse error before "pri" log.h:43: warning: type defaults to `int' in declaration of `pri' log.h:43: warning: data definition has no type or storage class log.h:44: parse error before "flags" log.h:44: warning: type defaults to `int' in declaration of `flags' log.h:44: warning: data definition has no type or storage class log.h:51: parse error before '}' token In file included from log.h:54, from sources.h:32, from cfgfile.h:29, from main.c:27: log.h.x:4: field `super' has incomplete type log.h.x:9: confused by earlier errors, bailing out make[3]: *** [main.o] Error 1 make[3]: Leaving directory `/misc/downloads/syslog-ng-1.6.5/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/misc/downloads/syslog-ng-1.6.5/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/misc/downloads/syslog-ng-1.6.5/src' make: *** [all-recursive] Error 1 [root@RedHat8 syslog-ng-1.6.5]#
On Thu, 2004-10-28 at 03:20, Virgil wrote:
Please excuse my ignorance -
I am trying to install syslog-ng on RH 8.0 and have read the INSTALL document.
I have the necessary dependancies from what I can tell (I'm also pretty new to RH / Linux); I have done the ./confgure, which seemed to go smooth.
Following the ./configure, the INSTALL doc says to do a "make" - this is where I get hung up. I don't understand what the errors below are telling me; some of the files that are reported as missing are actually not present. However I have done everything exactly as the documentation specifies.
syslo-gng does not find libol for some reason. (the configure script reports and error if it does not find it, so possibly it found libol-config but the values it reports as include directory does not work). -- Bazsi
Virgil,
I am trying to install syslog-ng on RH 8.0 and have read the INSTALL document.
I have the necessary dependancies from what I can tell (I'm also pretty new to RH / Linux); I have done the ./confgure, which seemed to go smooth.
1) Just download the libol 0.3.14 tarball and build/install the binary RPMS: rpmbuild -ta libol-0.3.14.tar.gz After installing the libol RPMS just try to build syslog-ng again. Should build without problems. 2) Or you may try building the libol and syslog-ng RPMS available in the QA queue of the fedora.us project (they should work in RH < 9.0). The links for downloading the SRPMS are available in the following bugzilla entries: libol: https://bugzilla.fedora.us/show_bug.cgi?id=2014 syslog-ng: https://bugzilla.fedora.us/show_bug.cgi?id=1332 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 *
participants (3)
-
Balazs Scheidler
-
José Pedro Oliveira
-
Virgil