Logging, Syslog and Log Anaylsys Forums
July 30, 2010, 09:36:41 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
   Home   WIKI BLOG Help Search Recent Topics GoogleTagged Login Register  
Pages: [1]
  Print  
Author Topic: how to install syslog-ng ---urgent  (Read 4676 times)
taka1112004
Newbie
*
Offline Offline

Posts: 7


View Profile Email
« on: July 18, 2008, 02:58:02 am »

Hi guys,

i want to install the syslog-ng in my linux.according to the install handbook ,Syslog-ng relies on a number of third party libraries in order to be compiled, these are:
  * libnet if spoof-source support is enabled in configure
    (--enable-spoof-source)
  * libwrap (aka TCP wrappers) if their use is enabled in configure
    (--enable-tcp-wrapper)
  * Glib a generic I/O library used by a wide variety of applications
  * EventLog a generic event logging library developed by BalaBit
and i have libnet,Glib and Eventlog installed ,(because the libwrap has been installed as default ,i didn't do it )
after i type the command ./configure ,however,it stoped as following:

checking for EVTLOG... Requested 'eventlog >=0.2' but version of Eventlog is no
configure:error :Cannot find eventlog version >=0.2:is pkg-config in path?
as i am a freshman ,don't have much knowledge of syslog-ng .what should i do
 next ,can someone with warm heart help me ,i hope get some detail tutorial
my email is taka1112004@163.com

by the way,the package's respective  version is like following:
syslog-ng   `````````````````````2.0.6
libnet``````````````````````````1.1.2.1
eventlog``````````````````````` 0.2.5
glib````````````````````````````2.12.1
appreciate!
« Last Edit: July 18, 2008, 03:31:06 am by taka1112004 » Logged
mutex
Administrator
Newbie
*****
Offline Offline

Posts: 901


View Profile
« Reply #1 on: July 18, 2008, 04:52:38 am »

If you go here, you can download the source code for evtlog to compile and install.
Logged
taka1112004
Newbie
*
Offline Offline

Posts: 7


View Profile Email
« Reply #2 on: July 19, 2008, 07:38:05 am »

firstly,i want to extend my appreciation to mutex for helping me so much ,but still i was in trouble with some new questions:

according to your advice,i complete the configure step ,however.when i type the command "make" ,errors happened and the setup was interrupted.
it just like below:
make[2]: Entering directory `/usr/src/syslog-ng-2.0.8/src'
gcc  -g -O2 -Wall   -o syslog-ng  main.o libsyslog-ng.a -lnsl -lrt  -Wl,-Bstatic
 -lfl -lglib-2.0   -L/usr/local/lib -levtlog    -lwrap -Wl,-Bdynamic
libsyslog-ng.a(misc.o)(.text+0x327): In function `resolve_hostname':
/usr/src/syslog-ng-2.0.8/src/misc.c:191: undefined reference to `g_assert_warnin
g'
libsyslog-ng.a(logmsg.o)(.text+0x236): In function `log_stamp_format':
/usr/src/syslog-ng-2.0.8/src/logmsg.c:110: undefined reference to `g_assert_warn
ing'
libsyslog-ng.a(logmsg.o)(.text+0xf64): In function `log_msg_ref':
/usr/src/syslog-ng-2.0.8/src/logmsg.c:578: undefined reference to `g_assert_warn
ing'
libsyslog-ng.a(logmsg.o)(.text+0xfa3): In function `log_msg_unref':
/usr/src/syslog-ng-2.0.8/src/logmsg.c:592: undefined reference to `g_assert_warn
ing'
libsyslog-ng.a(logmsg.o)(.text+0x1145): In function `log_msg_ack_block_end':
/usr/src/syslog-ng-2.0.8/src/logmsg.c:729: undefined reference to `g_return_if_f
ail_warning'
libsyslog-ng.a(logpipe.o)(.text+0x5b): In function `log_pipe_ref':
/usr/src/syslog-ng-2.0.8/src/logpipe.c:42: undefined reference to `g_assert_warn
ing'
libsyslog-ng.a(logpipe.o)(.text+0xc3): In function `log_pipe_unref':
/usr/src/syslog-ng-2.0.8/src/logpipe.c:53: undefined reference to `g_assert_warn
ing'
libsyslog-ng.a(center.o)(.text+0xa8): In function `log_endpoint_free':
/usr/src/syslog-ng-2.0.8/src/center.c:90: undefined reference to `g_assert_warni
ng'
libsyslog-ng.a(center.o)(.text+0x16c): In function `log_connection_new':
/usr/src/syslog-ng-2.0.8/src/center.c:132: undefined reference to `g_assert_warn
ing'
libsyslog-ng.a(templates.o)(.text+0x35c): In function `log_template_ref':
/usr/src/syslog-ng-2.0.8/src/templates.c:195: undefined reference to `g_assert_w
arning'
libsyslog-ng.a(templates.o)(.text+0x39f):/usr/src/syslog-ng-2.0.8/src/templates.
c:204: more undefined references to `g_assert_warning' follow
collect2: ld returned 1 exit status
make[2]: *** [syslog-ng] Error 1
make[2]: Leaving directory `/usr/src/syslog-ng-2.0.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/syslog-ng-2.0.8'

i have tried most version of syslog-ng,every time it was stopped by this error,what should i do in order to resolved this problem.
appreciate
« Last Edit: July 19, 2008, 07:40:07 am by taka1112004 » Logged
mutex
Administrator
Newbie
*****
Offline Offline

Posts: 901


View Profile
« Reply #3 on: July 20, 2008, 07:34:48 pm »

That's a tough one.  It appears that there is a problem with the version of glib that you are using.  Take a look at this thread in the syslog-ng mailing list.  I think it is relevant to your problem:
http://thread.gmane.org/gmane.comp.syslog-ng/5073/focus=5075

Logged
Pages: [1]
  Print  

 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC | Sitemap Valid XHTML 1.0! Valid CSS!