[syslog-ng]Install 1.6 on RedHat 8.0

Virgil syslog-ng@lists.balabit.hu
Wed, 27 Oct 2004 18:20:11 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_002C_01C4BC51.98A92010
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

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

------=_NextPart_000_002C_01C4BC51.98A92010
Content-Type: text/html;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 6.00.2800.1264" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000080 size=3D2>Please excuse my ignorance =
-</FONT></DIV>
<DIV><FONT color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000080 size=3D2>I am trying to install syslog-ng on =
RH 8.0 and=20
have read the INSTALL document.</FONT></DIV>
<DIV><FONT color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000080 size=3D2>I have the necessary dependancies =
from what I=20
can tell (I'm also pretty new to RH / Linux); I have done the =
./confgure, which=20
seemed to go smooth.</FONT></DIV>
<DIV><FONT color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000080 size=3D2>Following the ./configure, the =
INSTALL doc says=20
to do a "make" - this is where I get hung up. I don't understand what =
the errors=20
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=20
documentation specifies.</FONT></DIV>
<DIV><FONT color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000080 size=3D2>What am I missing?</FONT></DIV>
<DIV><FONT color=3D#000080 size=3D2></FONT>&nbsp;</DIV>
<DIV>root@RedHat8 syslog-ng-1.6.5]# make<BR>Making all in =
src<BR>make[1]:=20
Entering directory `/misc/downloads/syslog-ng-1.6.5/src'<BR>make&nbsp;=20
all-recursive<BR>make[2]: Entering directory=20
`/misc/downloads/syslog-ng-1.6.5/src'<BR>Making all in .<BR>make[3]: =
Entering=20
directory `/misc/downloads/syslog-ng-1.6.5/src'<BR>if gcc =
-DHAVE_CONFIG_H -I.=20
-I/misc/downloads/syslog-ng-1.6.5/src -I.&nbsp;&nbsp;&nbsp;&nbsp; -g=20
-O2<BR>-Wall&nbsp; -D_GNU_SOURCE -MT main.o -MD -MP -MF ".deps/main.Tpo" =

\<BR>&nbsp; -c -o main.o `test -f 'main.c' || echo=20
'/misc/downloads/syslog-ng-1.6.5/src/'`main.c; \<BR>then mv -f =
".deps/main.Tpo"=20
".deps/main.Po"; \<BR>else rm -f ".deps/main.Tpo"; exit 1; \<BR>fi<BR>In =
file=20
included from main.c:26:<BR>syslog-ng.h:31:21: objects.h: No such file =
or=20
directory<BR>In file included from=20
cfgfile.h:29,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
from main.c:27:<BR>sources.h:30:23: read_line.h: No such file or =
directory<BR>In=20
file included from=20
sources.h:32,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
from=20
cfgfile.h:29,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
from main.c:27:<BR>log.h:30:16: io.h: No such file or directory<BR>In =
file=20
included from=20
sources.h:32,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
from=20
cfgfile.h:29,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
from main.c:27:<BR>log.h:39: parse error before "UINT32"<BR>log.h:39: =
warning:=20
no semicolon at end of struct or union<BR>log.h:43: parse error before=20
"pri"<BR>log.h:43: warning: type defaults to `int' in declaration of=20
`pri'<BR>log.h:43: warning: data definition has no type or storage=20
class<BR>log.h:44: parse error before "flags"<BR>log.h:44: warning: type =

defaults to `int' in declaration of `flags'<BR>log.h:44: warning: data=20
definition has no type or storage class<BR>log.h:51: parse error before =
'}'=20
token<BR>In file included from=20
log.h:54,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
from=20
sources.h:32,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
from=20
cfgfile.h:29,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
from main.c:27:<BR>log.h.x:4: field `super' has incomplete =
type<BR>log.h.x:9:=20
confused by earlier errors, bailing out<BR>make[3]: *** [main.o] Error=20
1<BR>make[3]: Leaving directory=20
`/misc/downloads/syslog-ng-1.6.5/src'<BR>make[2]: *** [all-recursive] =
Error=20
1<BR>make[2]: Leaving directory=20
`/misc/downloads/syslog-ng-1.6.5/src'<BR>make[1]: *** [all] Error =
2<BR>make[1]:=20
Leaving directory `/misc/downloads/syslog-ng-1.6.5/src'<BR>make: ***=20
[all-recursive] Error 1<BR>[root@RedHat8=20
syslog-ng-1.6.5]#<BR></DIV></BODY></HTML>

------=_NextPart_000_002C_01C4BC51.98A92010--