[syslog-ng] [Bug 119] Compiling syslog-ng 3.2.3 with gcc 4.6: warnings

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Wed May 4 17:41:10 CEST 2011


https://bugzilla.balabit.com/show_bug.cgi?id=119


Jose Oliveira <jpo at di.uminho.pt> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |
             Status|RESOLVED                    |REOPENED




--- Comment #4 from Jose Oliveira <jpo at di.uminho.pt>  2011-05-04 17:41:11 ---
Re-opening due to a couple of loose ends:

 * scripts/Makefile.am
   We need to add a -p option to the mkdir command for it to succeed:


Error message (without -p)
----------
 /usr/bin/install -c update-patterndb '/builddir/build/BUILDROOT/syslog-ng-3.2.3-2.git.fc15.x86_64/usr/bin'
mkdir /builddir/build/BUILDROOT/syslog-ng-3.2.3-2.git.fc15.x86_64//etc/syslog-ng/patterndb.d || true
mkdir: cannot create directory `/builddir/build/BUILDROOT/syslog-ng-3.2.3-2.git.fc15.x86_64//etc/syslog-ng/patterndb.d': No such file or directory
...
----------

Patch
----------
--- syslog-ng-3.2.3/scripts/Makefile.am 2011-05-04 12:58:24.000000000 +0100
+++ syslog-ng-3.2.3-modified/scripts/Makefile.am        2011-05-04 16:28:26.726174796 +0100
@@ -3,4 +3,4 @@
 EXTRA_DIST=update-patterndb.in

 install-exec-local:
-       mkdir $(DESTDIR)/$(sysconfdir)/patterndb.d || true
+       mkdir -p $(DESTDIR)/$(sysconfdir)/patterndb.d || true 

----------


 * syslog-ng 3.2.3 fails to build with eventlog 0.2.7 but builds fine with version 0.2.12.
   Can the eventlog minimal version requirement be bumped in configure.in?

----------
--- syslog-ng-3.2.3/configure.in        2011-05-04 12:58:24.000000000 +0100
+++ syslog-ng-3.2.3-modified/configure.in       2011-05-04 16:28:38.294177948 +0100
@@ -21,7 +21,7 @@
 dnl dependencies

 GLIB_MIN_VERSION="2.10.1"
-EVTLOG_MIN_VERSION="0.2"
+EVTLOG_MIN_VERSION="0.2.12"
 OPENSSL_MIN_VERSION="0.9.8"
 LIBDBI_MIN_VERSION="0.8.0"
 PCRE_MIN_VERSION="6.1"
----------

Regards,
jpo



-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list