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! |
what does
Code:
echo $PATH Why are you setting PKG_CONFIG like that ? |
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. |
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 . ..... |
Quote:
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 |
Quote:
the possible choices. P.S. : I edited a few typos in post # 4. ..... |
Great! Thank you. I will give this a shot on the clean install when I have it up.
|
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? |
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. |