LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-12-2010, 07:49 AM   #1
bmeckle
Member
 
Registered: Jun 2004
Posts: 60

Rep: Reputation: 15
Fedora 12 install syslog-ng-3.0.2


Hello,
I am trying to install syslog-ng-3.0.2 on Fedora 12 and have run into an issue I don't know how to solve. When runing the "configure --enable-ssl" I get the following

"checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.14... yes
checking for GLIB - version >= 2.0... 2.0, bad version string
no
configure: error: Cannot find GLIB version >= 2.0: is pkg-config in path?"

I have glib-2.24.0 installed on this system so I don't understand where this issue is coming from or how to fix it. Anybody have any ideas?

Back ground on my system -
[root@syslog-ng]# set PKG_CONFIG=/usr/lib/pkgconfig
[root@syslog-ng]# export PKG_CONFIG

passes all checks up until GLIB

Thanks in advance!
 
Old 04-12-2010, 09:21 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
what does
Code:
echo $PATH
give you ?

Why are you setting PKG_CONFIG like that ?
 
Old 04-12-2010, 09:49 AM   #3
bmeckle
Member
 
Registered: Jun 2004
Posts: 60

Original Poster
Rep: Reputation: 15
I checked my $PATH and if there was a pkgconfig directory containing any .pc files I added those to my $PATH. That didn't help.

The reason I am using the PKG_CONFIG option is that without it, the configure misses the EVTLOG variable it is looking for.

Still looking into the error. I am starting to wonder if the configure script is passing the right variables or parsing the right information to pull the correct versions. I can do it from the command line and it returns the right information.
 
Old 04-12-2010, 10:14 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The default glib2 for Fedora 12 is 2.22.2 = OK for syslog-ng-3.x.x .
May be some files are incorrectly installed by the change to 2.24.0.
Or you have both version installed ? ?
# yum install glib2-devel
.. to get the correct files.

# yum install syslog-ng
.. will install version 2.1.4

'syslog-ng-3.0.2'
http://www.balabit.com/downloads/fil.../3.0.2/source/
The latest is 3.1.1
http://www.balabit.com/downloads/fil.../3.1.1/source/

Also required : # yum install eventlog-devel

I get no errors compiling syslog-ng 3.0.2 or 3.1.1 .
.....

Last edited by knudfl; 04-12-2010 at 10:23 AM.
 
Old 04-12-2010, 10:22 AM   #5
bmeckle
Member
 
Registered: Jun 2004
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by knudfl View Post
The default glib2 for Fedora 12 is 2.22.2 = OK for syslog-ng-3.0.2 .
May be some files are incorrectly installed by the change to 2.24.0.
Or you have both version installed ? ?

# yum install syslog-ng
.. will install version 2.1.4

'syslog-ng-3.0.2'
http://www.balabit.com/downloads/fil.../3.0.2/source/
The latest is 3.0.6
http://www.balabit.com/downloads/fil.../3.1.1/source/

Also required : # yum install eventlog-devel

I get no errors compiling syslog-ng 3.0.2 or 3.1.1 .
.....

Do you do a "yum install syslog-ng" first? Then follow up with the "yum install eventlog-devel" and then compile and install syslog-ng 3.0.6?

I just leveled my system and I'm starting from scratch.

Thank you
 
Old 04-12-2010, 10:26 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
Do you do a "yum install syslog-ng" first
No, that's just included to inform you about
the possible choices.

P.S. : I edited a few typos in post # 4.
.....
 
Old 04-12-2010, 10:28 AM   #7
bmeckle
Member
 
Registered: Jun 2004
Posts: 60

Original Poster
Rep: Reputation: 15
Great! Thank you. I will give this a shot on the clean install when I have it up.
 
Old 04-12-2010, 02:15 PM   #8
bmeckle
Member
 
Registered: Jun 2004
Posts: 60

Original Poster
Rep: Reputation: 15
I got that to install ok now, but when I installed php-syslog-ng I get the following error after the initial setup. Funny thing is that opeing the file through vi I only see 705 lines.

Parse error: syntax error, unexpected $end in /var/www/html/includes/common_funcs.php on line 706

Anybody have any ideas on this?
 
Old 04-13-2010, 12:37 PM   #9
bmeckle
Member
 
Registered: Jun 2004
Posts: 60

Original Poster
Rep: Reputation: 15
I found this answer. I needed to change /etc/php.ini to this -> short_open_tag=On
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I have fedora 8, how do I view my syslog? trist007 Linux - Newbie 1 05-17-2008 01:10 AM
why no syslog this file on Fedora 8 vvcat Linux - Software 8 03-12-2008 01:57 PM
syslog errors (after install) czezz Linux - Hardware 1 02-06-2008 08:04 AM
fedora - syslog not creating socket file shinepuppy Linux - Software 4 08-02-2007 12:45 PM
Can't install syslog-ng 2 helpmhost Linux - Software 2 12-28-2006 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration