LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Fedora 12 install syslog-ng-3.0.2 (https://www.linuxquestions.org/questions/linux-general-1/fedora-12-install-syslog-ng-3-0-2-a-801542/)

bmeckle 04-12-2010 07:49 AM

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!

smoker 04-12-2010 09:21 AM

what does
Code:

echo $PATH
give you ?

Why are you setting PKG_CONFIG like that ?

bmeckle 04-12-2010 09:49 AM

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.

knudfl 04-12-2010 10:14 AM

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

bmeckle 04-12-2010 10:22 AM

Quote:

Originally Posted by knudfl (Post 3932971)
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

knudfl 04-12-2010 10:26 AM

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

bmeckle 04-12-2010 10:28 AM

Great! Thank you. I will give this a shot on the clean install when I have it up.

bmeckle 04-12-2010 02:15 PM

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?

bmeckle 04-13-2010 12:37 PM

I found this answer. I needed to change /etc/php.ini to this -> short_open_tag=On


All times are GMT -5. The time now is 04:24 PM.