Logging, Syslog and Log Anaylsys Forums
July 30, 2010, 09:45:19 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: Getting the error - "No package 'eventlog' found"- While installing  (Read 3242 times)
ramprasad1211
Newbie
*
Offline Offline

Posts: 2


View Profile Email
« on: February 28, 2008, 07:19:45 am »

Hi frnds,

   Iam a new bie to the syslog-ng.

I downloaded eventlog-0.2.7.tar.gz and syslog-ng-2.0.8.tar.gz.

I did untar eventlog tar file,executed the steps , ./configure,make,make install.

After I did untar syslog-ng, and execute ./configure command,with out any options.

Iam getting following error. Please let me know what am I doing wrong?


 checking for eventlog... Package eventlog was not found in the
> pkg-config search path.
> Perhaps you should add the directory containing `eventlog.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'eventlog' found
> configure: error: Library requirements (eventlog) not met; consider
> adjusting the PKG_CONFIG_PATH environment va
> riable if your libraries are in a nonstandard prefix so pkg-config can
> find them.

I have both untarred directories under root, i.e /root/eventlog  and /root/syslog-ng.

I tried setting the variable "PKG_CONFIG_PATH" to "/root/eventlog", but then it gives out some other error.

Please help me in resolving this.

And also let me know any other place to download syslog-ng,if you feel I might be using some other files.
I downloaded for balabit.com.

Iam using Redhat Linux 3.2.2

-Ramprasad.
Logged
ramprasad1211
Newbie
*
Offline Offline

Posts: 2


View Profile Email
« Reply #1 on: February 28, 2008, 08:42:07 am »

I got the above problem resolved,after setting the enviraonment variable PKG_CONFIG_PATH to "/usr/local/lib/pkgconfig/", But now I got different error.

When I do "make" in syslog-ng directory....

In file included from /home/bazsi/zwa/git//syslog-ng/syslog-ng--mainline--2.0/src/cfg-grammar.y:15:
afinet.h:61: parse error before "libnet_t"
afinet.h:61: warning: no semicolon at end of struct or union
afinet.h:63: warning: type defaults to `int' in declaration of `AFInetDestDriver'
afinet.h:63: warning: data definition has no type or storage class
/home/bazsi/zwa/git//syslog-ng/syslog-ng--mainline--2.0/src/cfg-grammar.y: In function `yyparse':
/home/bazsi/zwa/git//syslog-ng/syslog-ng--mainline--2.0/src/cfg-grammar.y:591: parse error before ')' token
/home/bazsi/zwa/git//syslog-ng/syslog-ng--mainline--2.0/src/cfg-grammar.y:624: parse error before ')' token
make[2]: *** [cfg-grammar.o] Error 1
make[2]: Leaving directory `/root/rams/syslog-ng-2.0.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rams/syslog-ng-2.0.8'
make: *** [all] Error 2
[root@ramprasad syslog-ng-2.0.8]#


Please help me.

-ramprasad.
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!