zoukankan      html  css  js  c++  java
  • No package 'eventlog' found

    syslog-ng のインスト�ル手�
    
    ●ダウンロ�ドサイト
    	http://www.balabit.com/downloads/files/syslog-ng/sources/stable/src/
    
    ●解�展�して作成されたディレクトリへ移�する。
    [root@std02 syslog-ng-2.0.9]#
    
    ●./configureするとエラ��生
    [root@std02 syslog-ng-2.0.9]# ./configure
    
    checking for EVTLOG... 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
    no
    configure: error: Cannot find eventlog version >= 0.2: is pkg-config in path?
    
    ●eventlogを取得する。
    [root@std02 syslog-ng]# wget http://www.balabit.com/downloads/files/syslog-ng/sources/stable/src/eventlog-0.2.7.tar.gz
    
    ●解�展�して作成されたディレクトリへ移�する。
    [root@std02 syslog-ng-2.0.9]#
    
    ●./configureしてMakefileを作成する。
    [root@std02 eventlog-0.2.7]# ./configure
    
    ●makeしてコンパイルし、make installでインスト�ルする。
    [root@std02 eventlog-0.2.7]# make
    [root@std02 eventlog-0.2.7]# make install
    
    ●ライブラリのインスト�ル先を��する。
    [root@std02 eventlog-0.2.7]# find / -name libevtlog.so*
    /usr/local/lib/libevtlog.so.0.0.0
    /usr/local/lib/libevtlog.so.0
    /usr/local/lib/libevtlog.so
    /SOFT/syslog-ng/eventlog-0.2.7/src/.libs/libevtlog.so.0.0.0
    /SOFT/syslog-ng/eventlog-0.2.7/src/.libs/libevtlog.so.0
    /SOFT/syslog-ng/eventlog-0.2.7/src/.libs/libevtlog.so
    
    ●再度syslog-ngを./configureする。
    [root@std02 syslog-ng-2.0.9]# ./configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
    	前部省略
    config.status: creating doc/Makefile
    config.status: creating doc/docvars.xml
    config.status: creating contrib/Makefile
    config.status: creating tests/Makefile
    config.status: creating solbuild/Makefile
    config.status: creating tgzbuild/Makefile
    config.status: creating tests/unit/Makefile
    config.status: creating tests/functional/Makefile
    config.status: creating tests/loggen/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
  • 相关阅读:
    基于Token的身份验证--JWT
    在eclipse中使用maven创建springMVC项目
    Mybatis框架插件PageHelper的使用
    java 中==符号的坑
    Gradle project sync failed.
    intellij idea android错误: Missing styles. Is the correct theme chosen for this layout?
    thinkpad win8.1 无线连接受限
    struts2
    在Strust2 使用datatimepicker 标签引发的一系列问题
    struts2中css,js等资源无效 非路径问题(新手问题)
  • 原文地址:https://www.cnblogs.com/xzlive/p/11578014.html
Copyright © 2011-2022 走看看