[Bug 173] New: Compile issues with syslog-ng_3.3.4.tar.gz
https://bugzilla.balabit.com/show_bug.cgi?id=173 Summary: Compile issues with syslog-ng_3.3.4.tar.gz Product: syslog-ng Version: 3.3.x Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: unspecified Component: syslog-ng AssignedTo: bazsi@balabit.hu ReportedBy: mark.ulmer@apollogrp.edu Type of the Report: bug Estimated Hours: 0.0 Bazsi, I've been working to get a version of 3.3.x compiled on our RHEL 5.6 server for quite some time. I finally have found part of what I think is an issue that might need to be resolved on my side. I don't know. So the latest eventlog-0.2.12 compiles, makes and installs fine. Then in compiling syslog-ng-3.3.4 I get the following error: checking sanity checking Glib headers... no configure: error: Glib headers inconsistent with current compiler setting. You might be using 32 bit Glib with a 64 bit compiler, check PKG_CONFIG_PATH I see in the config.log it's looing for include files in /usr/include/glib-2.0/glib-2.0. The path on my server only has one level glib-2.0. I've tried work arounds and this still gets replicated to lower modules with the same duplicated path level. Go you have a suggestion for me to get past this? Thanks in advance for your assistance. Mark Ulmer Phoenix, AZ, USA -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=173 --- Comment #1 from Balazs Scheidler <bazsi@balabit.hu> 2012-04-16 12:17:31 --- you should check where syslog-ng locates libglib-2.0.pc file, which is normally located in /usr/lib/pkgconfig or /usr/local/lib/pkgconfig that instructs syslog-ng where to find glib headers. it might happen that you have a system supplied glib in /usr and a locally installed one in /usr/local if that's the case, syslog-ng should be told which one to use. normally, this is as simple as setting PKG_CONFIG_PATH, but you may want to validate your config.log file whether the -I<dir> (to specify include directories) and -L and -l options match the values specified in the .pc file. -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=173 Gergely Nagy <algernon@balabit.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |algernon@balabit.hu Status|NEW |NEEDINFO --- Comment #2 from Gergely Nagy <algernon@balabit.hu> 2012-11-10 16:45:28 --- Is this still and issue, or can I close it? I don't think this is a bug in syslog-ng... -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=173 kathi <jk_kathi1@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jk_kathi1@yahoo.com Status|NEEDINFO |REOPENED --- Comment #3 from kathi <jk_kathi1@yahoo.com> 2012-12-12 17:16:24 --- (In reply to comment #2)
Is this still and issue, or can I close it? I don't think this is a bug in syslog-ng...
I am facing the same issue while compiling syslog-ng-3.4.0-alpha3 on CentoOS 6.3 . First Eventlog gave an error checking for EVTLOG... no configure: error: Package requirements (eventlog >= 0.2.12) were not met: No package 'eventlog' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables EVTLOG_CFLAGS and EVTLOG_LIBS to avoid the need to call pkg-config. when i set the env varilable export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig , eventlog went through fine but glib gave errors checking for GLIB... no configure: error: Package requirements (glib-2.0 >= 2.10.1 gmodule-2.0 gthread-2.0) were not met: No package 'glib-2.0' found No package 'gmodule-2.0' found No package 'gthread-2.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GLIB_CFLAGS and GLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. after which i set the GLIB_LIBS=/lib64 and export GLIB_CFLAGS=/lib64:/usr/lib and the error while compiling is checking sanity checking Glib headers... no configure: error: Glib headers inconsistent with current compiler setting. You might be using 32 bit Glib with a 64 bit compiler, check PKG_CONFIG_PATH I have checked /lib64 , /usr/lib64 for glib2 , gmodule , gthread libraries Any clues how i can resolve this Thank you Kathi -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
I'm attempting to compile Syslog-ng ver 3.4.3 on OpenIndiana build 151a7. I have a fresh compile of eventlog 0.2.12 as downloaded from here: http://www.balabit.com/downloads/files/eventlog/0.2 Eventlog compiled and installed without issue. I am failing in my "./configure" step with this error: ...................................................... checking for EVTLOG... no configure: error: Package requirements (eventlog >= 0.2.12) were not met: No package 'eventlog' found ...................................................... A search of the archives turned up this email. I didn't really see a fix from the archive thread and I am curious if this was ever resolved? I did follow the bugzilla link, but there was really nothing in the link that could assist me with my compile/configure issue....At least nothing I could figure out. I also located this page from a search engine hit discussing the PKG_CONFIG_PATH, but it did not help. http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.3-guide... and various others, to no avail. Any pointers or suggestions are appreciated. Jerry On 12/12/12 10:16 AM, bugzilla@wwwold.balabit.com wrote:
https://bugzilla.balabit.com/show_bug.cgi?id=173
kathi <jk_kathi1@yahoo.com> changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jk_kathi1@yahoo.com Status|NEEDINFO |REOPENED
--- Comment #3 from kathi <jk_kathi1@yahoo.com> 2012-12-12 17:16:24 --- (In reply to comment #2)
Is this still and issue, or can I close it? I don't think this is a bug in syslog-ng...
I am facing the same issue while compiling syslog-ng-3.4.0-alpha3 on CentoOS 6.3 .
First Eventlog gave an error checking for EVTLOG... no configure: error: Package requirements (eventlog >= 0.2.12) were not met:
No package 'eventlog' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables EVTLOG_CFLAGS and EVTLOG_LIBS to avoid the need to call pkg-config.
when i set the env varilable export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig , eventlog went through fine but glib gave errors checking for GLIB... no configure: error: Package requirements (glib-2.0 >= 2.10.1 gmodule-2.0 gthread-2.0) were not met:
No package 'glib-2.0' found No package 'gmodule-2.0' found No package 'gthread-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables GLIB_CFLAGS and GLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
after which i set the GLIB_LIBS=/lib64 and export GLIB_CFLAGS=/lib64:/usr/lib and the error while compiling is
checking sanity checking Glib headers... no configure: error: Glib headers inconsistent with current compiler setting. You might be using 32 bit Glib with a 64 bit compiler, check PKG_CONFIG_PATH
I have checked /lib64 , /usr/lib64 for glib2 , gmodule , gthread libraries
Any clues how i can resolve this
Thank you Kathi
Eventlog installs a file named eventlog.pc (not sure about the exact name but this is the only one with .pc extension) This is then searched along PKG_CONFIG_PATH by the syslog-ng configure script. It uses a utility called pkg-config for that. If it doesn't find it or you don't have pkg-config you can still force the appropriate CFLAGS/LDFLAGS settings through environment variables. See the configure script's help screen. On Aug 16, 2013 6:20 AM, "Jerry Kemp" <app.mail.list23@oryx.cc> wrote:
I'm attempting to compile Syslog-ng ver 3.4.3 on OpenIndiana build 151a7.
I have a fresh compile of eventlog 0.2.12 as downloaded from here: http://www.balabit.com/downloads/files/eventlog/0.2
Eventlog compiled and installed without issue.
I am failing in my "./configure" step with this error: ...................................................... checking for EVTLOG... no configure: error: Package requirements (eventlog >= 0.2.12) were not met:
No package 'eventlog' found ......................................................
A search of the archives turned up this email. I didn't really see a fix from the archive thread and I am curious if this was ever resolved?
I did follow the bugzilla link, but there was really nothing in the link that could assist me with my compile/configure issue....At least nothing I could figure out.
I also located this page from a search engine hit discussing the PKG_CONFIG_PATH, but it did not help.
http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.3-guide...
and various others, to no avail.
Any pointers or suggestions are appreciated.
Jerry
On 12/12/12 10:16 AM, bugzilla@wwwold.balabit.com wrote:
https://bugzilla.balabit.com/show_bug.cgi?id=173
kathi <jk_kathi1@yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jk_kathi1@yahoo.com Status|NEEDINFO |REOPENED
--- Comment #3 from kathi <jk_kathi1@yahoo.com> 2012-12-12 17:16:24 --- (In reply to comment #2)
Is this still and issue, or can I close it? I don't think this is a bug
in syslog-ng...
I am facing the same issue while compiling syslog-ng-3.4.0-alpha3 on CentoOS 6.3 .
First Eventlog gave an error checking for EVTLOG... no configure: error: Package requirements (eventlog >= 0.2.12) were not met:
No package 'eventlog' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables EVTLOG_CFLAGS and EVTLOG_LIBS to avoid the need to call pkg-config.
when i set the env varilable export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig , eventlog went through fine but glib gave errors checking for GLIB... no configure: error: Package requirements (glib-2.0 >= 2.10.1 gmodule-2.0 gthread-2.0) were not met:
No package 'glib-2.0' found No package 'gmodule-2.0' found No package 'gthread-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables GLIB_CFLAGS and GLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
after which i set the GLIB_LIBS=/lib64 and export GLIB_CFLAGS=/lib64:/usr/lib and the error while compiling is
checking sanity checking Glib headers... no configure: error: Glib headers inconsistent with current compiler setting. You might be using 32 bit Glib with a 64 bit compiler, check PKG_CONFIG_PATH
I have checked /lib64 , /usr/lib64 for glib2 , gmodule , gthread libraries
Any clues how i can resolve this
Thank you Kathi
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.balabit.com/wiki/syslog-ng-faq
Jerry Kemp <app.mail.list23@oryx.cc> writes:
I have a fresh compile of eventlog 0.2.12 as downloaded from here: http://www.balabit.com/downloads/files/eventlog/0.2
Eventlog compiled and installed without issue.
I am failing in my "./configure" step with this error: ...................................................... checking for EVTLOG... no configure: error: Package requirements (eventlog >= 0.2.12) were not met:
No package 'eventlog' found ......................................................
A search of the archives turned up this email. I didn't really see a fix from the archive thread and I am curious if this was ever resolved?
I did follow the bugzilla link, but there was really nothing in the link that could assist me with my compile/configure issue....At least nothing I could figure out.
I also located this page from a search engine hit discussing the PKG_CONFIG_PATH, but it did not help.
Can you tell where you installed eventlog to, and what you set PKG_CONFIG_PATH to? Also, if you could attach your config.log too, that would help me in figuring out where the issue may be. -- |8]
https://bugzilla.balabit.com/show_bug.cgi?id=173 Gergely Nagy <algernon@balabit.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO --- Comment #4 from Gergely Nagy <algernon@balabit.hu> 2012-12-20 13:09:21 --- (In reply to comment #3)
(In reply to comment #2)
Is this still and issue, or can I close it? I don't think this is a bug in syslog-ng...
I am facing the same issue while compiling syslog-ng-3.4.0-alpha3 on CentoOS 6.3 . [...] when i set the env varilable export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig , eventlog went through fine but glib gave errors checking for GLIB... no configure: error: Package requirements (glib-2.0 >= 2.10.1 gmodule-2.0 gthread-2.0) were not met: [...]
Can you attach the config.log files from all three configure runs? That would help me figure out what goes wrong. Thanks! -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=173 kathi <jk_kathi1@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |CLOSED --- Comment #5 from kathi <jk_kathi1@yahoo.com> 2012-12-20 17:08:05 --- Installing glibc-headers-2.12-1.80.el6.x86_64 on Centos 6.3 and then compling syslog-ng went through fine Here is the snapshot from the config.log configure:14722: checking sanity checking Glib headers configure:14743: gcc -std=gnu99 -o conftest -g -O2 -Wall -pthread -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wl,--export-dynamic -pthrea d -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 conftest.c >&5 configure:14840: checking for JSON_GLIB configure:14847: $PKG_CONFIG --exists --print-errors "json-glib-1.0 >= $JSON_GLIB_MIN_VERSION" Package json-glib-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `json-glib-1.0.pc' Thank you Kathiresan this bug can be closed -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=173 --- Comment #6 from kathi <jk_kathi1@yahoo.com> 2012-12-20 17:08:29 --- Installing glibc-headers-2.12-1.80.el6.x86_64 on Centos 6.3 and then compling syslog-ng went through fine Here is the snapshot from the config.log configure:14722: checking sanity checking Glib headers configure:14743: gcc -std=gnu99 -o conftest -g -O2 -Wall -pthread -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wl,--export-dynamic -pthrea d -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 conftest.c >&5 configure:14840: checking for JSON_GLIB configure:14847: $PKG_CONFIG --exists --print-errors "json-glib-1.0 >= $JSON_GLIB_MIN_VERSION" Package json-glib-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `json-glib-1.0.pc' Thank you Kathiresan this bug can be closed -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (4)
-
Balazs Scheidler
-
bugzilla@bugzilla.balabit.com
-
Gergely Nagy
-
Jerry Kemp