[syslog-ng] Syslog-ng 2.0/2.1 on Fedora Core 4

Evan Rempel erempel at uvic.ca
Fri Apr 25 20:21:17 CEST 2008


That's easy. The environment does NOT carry over to a sudo command.

Evan.

On Fri, 25 Apr 2008, Ivey, Chris wrote:

> Date: Fri, 25 Apr 2008 13:16:31 -0500
> From: "Ivey, Chris" <Chris.ivey at acs-inc.com>
> Reply-To: Syslog-ng users' and developers' mailing list
>     <syslog-ng at lists.balabit.hu>
> To: Syslog-ng users' and developers' mailing list <syslog-ng at lists.balabit.hu>
> Subject: Re: [syslog-ng] Syslog-ng 2.0/2.1 on Fedora Core 4
> 
> That is interesting, Evan!  I did as you suggested (put the env AND the
> configure on the same command line) and it worked swimmingly...  I don't
> really understand the "why", but I can't argue with the results.  :o)
>
> For clarification sake, here is what I was doing before that did not work:
>
> 1.) PKG_CONFIG_PATH=/usr/local/lib/pkgconfig; export PKG_CONFIG_PATH
> 2.) sudo ./configure --enable-spoof-source
>
> Can someone tell me what the difference between that, and Evan's command
> below, would be?  Thanks everyone, especially Evan and ScottO!
>
> Chris Ivey
>
> Affiliated Computer Services
> Enterprise Management Integration Services
> Infrastructure Management Senior Analyst
>
> 1120 Celebration Blvd.
> Celebration, FL 34747
> (321) 939-6540 Office
> 8296-6540 Disney Tie-Line
> (407) 557-1072 Cell
> 162*326905*19 Nextel Direct Connect
> chris.ivey at acs-inc.com
>
> "I have not failed, I have simply found 10,000 ways which do not work!" --
> Thomas Edison
> "When you find yourself in a hole, the best thing to do is stop digging!" --
> Nick Stokes
> "I reject your reality, and substitute my own!" -- Adam Savage
>
> -----Original Message-----
> From: syslog-ng-bounces at lists.balabit.hu
> [mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Evan Rempel
> Sent: Friday, April 25, 2008 1:21 PM
> To: Syslog-ng users' and developers' mailing list
> Subject: Re: [syslog-ng] Syslog-ng 2.0/2.1 on Fedora Core 4
>
>
>>> the output from the configure command:
>>>
>>> sudo ./configure --enable-spoof-source
>>> ...
>>> checking for pkg-config... /usr/bin/pkg-config
>>> checking pkg-config is at least version 0.9.0... yes
>>> checking for GLIB... yes
>>> checking for EVTLOG... no
>>> configure: error: Cannot find eventlog version >= 0.2: is pkg-config in
>>> path?
>
>
> Note that the configure is using /usr/bin/pkg-config
> and your eventlog.pc is in /usr/local/lib/pkgconfig
>
> You need to set the PKG_CONFIG_PATH prior to running the .configure script
> so that this path gets built into the make process.
>
> I use
>
> env PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure
> --enable-spoof-source
>
> to get the guild right.
>
> Evan.
>
>>>
>>> I found the command the configure script runs, so I ran it manaully:
>>>
>>> sudo /usr/bin/pkg-config --exists --print-errors 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
>>>
>>> env | grep PKG
>>> PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
>>>
>>> ls -al /usr/local/lib/pkgconfig/
>>> -rw-r--r-- 1 root root  237 Apr 25 08:19 eventlog.pc
>>>
>>> Can anyone help me figure this issue out?  Thanks in advance!
>>>
>>> Chris Ivey
>>>
>>> Affiliated Computer Services
>>> Enterprise Management Integration Services
>>> Infrastructure Management Senior Analyst
>>>
>>> chris.ivey at acs-inc.com
>>>
>>> "I have not failed, I have simply found 10,000 ways which do not work!"
> --
>>> Thomas Edison
>>> "When you find yourself in a hole, the best thing to do is stop digging!"
>> --
>>> Nick Stokes
>>> "I reject your reality, and substitute my own!" -- Adam Savage
>>>
>>>
>>>  _____
>>>
>>> From: syslog-ng-bounces at lists.balabit.hu
>>> [mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of ScottO
>>> Sent: Wednesday, April 23, 2008 9:36 AM
>>> To: Syslog-ng users' and developers' mailing list
>>> Subject: Re: [syslog-ng] Syslog-ng 2.0/2.1 on Fedora Core 4
>>>
>>>
>>> Those version numbers should obviously updated to the latest available,
> :)
>>>
>>>
>>> On Wed, Apr 23, 2008 at 9:35 AM, ScottO <skippylou at gmail.com
>>> <mailto:skippylou at gmail.com> > wrote:
>>>
>>>
>>> On various versions of CentOS and Fedora, all I do is:
>>>
>>> - ./configure;make;make install on eventlog-0.2.5.tar.gz (from syslog-ng
>>> site)
>>> - export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
>>> - ./configure;make;make install on syslog-ng-2.0.5.tar.gz (from syslog-ng
>>> site)
>>>
>>> I did also need to install the glib2-devel package, which I didn't have
>>> already installed.
>>>
>>> Hope that helps,
>>>
>>> Scott
>>>
>>>
>>> On Wed, Apr 23, 2008 at 8:36 AM, Ivey, Chris <Chris.ivey at acs-inc.com
>>> <mailto:Chris.ivey at acs-inc.com> > wrote:
>>>
>>>
>>> Hi folks!  I posted this question previously, but I am still not clear on
>>> the process involved in putting a newer version of syslog-ng on my Fedora
>>> Core 4 machines.  I need to upgrade, because my version (1.6.11) does not
>>> support hi-res timestamps.  Can anyone provide some guidance as to how to
>> go
>>> about this process?  I got information previously to compile from source,
>>> but I am not 100% clear on the process.  Any guidance from you fine folks
>>> would be terribly appreciated!!!  Thanks, folks!
>>>
>>> Chris Ivey
>>>
>>> Affiliated Computer Services
>>> Enterprise Management Integration Services
>>> Infrastructure Management Senior Analyst
>>>
>>> chris.ivey at acs-inc.com <mailto:chris.ivey at acs-inc.com>
>>>
>>> "I have not failed, I have simply found 10,000 ways which do not work!"
> --
>>> Thomas Edison
>>> "When you find yourself in a hole, the best thing to do is stop digging!"
>> --
>>> Nick Stokes
>>> "I reject your reality, and substitute my own!" -- Adam Savage
>>>
>>>
>>>
>>
> ____________________________________________________________________________
>>> __
>>> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
>>> <https://lists.balabit.hu/mailman/listinfo/syslog-ng>
>>> Documentation:
>>> http://www.balabit.com/support/documentation/?product=syslog-ng
>>> <http://www.balabit.com/support/documentation/?product=syslog-ng>
>>> FAQ: http://www.campin.net/syslog-ng/faq.html
>>> <http://www.campin.net/syslog-ng/faq.html>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
> ____________________________________________________________________________
>> __
>> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
>> Documentation:
>> http://www.balabit.com/support/documentation/?product=syslog-ng
>> FAQ: http://www.campin.net/syslog-ng/faq.html
>>
> ____________________________________________________________________________
> __
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
>


More information about the syslog-ng mailing list