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]#