[syslog-ng]trouble configuring syslog-ng with libraries
John Thrumston
syslog-ng@lists.balabit.hu
Tue, 19 Apr 2005 06:42:10 -0700 (PDT)
--0-2016648080-1113918130=:52861
Content-Type: text/plain; charset=us-ascii
I am still having trouble with this. I am working on it. One question I have that I don't see answered anywhere (maybe I am just blind). But do you have to run syslog-ng on each server you want to log to the logserver? Is this something I have to do for each of my machines? I am not sure I completely understand the process.
Balazs Scheidler <bazsi@balabit.hu> wrote:On Thu, 2005-04-14 at 12:03 -0700, John Thrumston wrote:
> I tried the ./configure --enable-dynamic-linking as it suggests, got
> the exact same results.
>
> Sunfreeware has a newer version of GLIB (SMCglib-2.6.2 out there.
> My questions are, if I add that package.
> 1) how will the server know which version to use?
> 2. Will this corrupt any other packages that may currently be using
> the SUNWGlib that was installed?
>
> Sorry to ask all these questions, I just don't know library functions
> very well and don't want to blow the box up so to speak.
hm. the configure test checking static glib does not check whether
--enable-dynamic-linking was specified and always errors out.
This patch should fix it:
--- orig/configure.in
+++ mod/configure.in
@@ -113,7 +113,7 @@
blb_cv_static_glib=no)])
LIBS=$old_LIBS
-if test "x$blb_cv_static_glib" = "xno"; then
+if test "x$enable_dynamic_linking" = "xno" -a "x$blb_cv_static_glib" = "xno"; then
AC_MSG_ERROR([static GLib libraries not found, either link GLib dynamically using the --enable-dynamic-linking or install a static GLib])
fi
You'll need to regenerate the configure script after patching it
(using autoconf), alternatively you could also comment out this check
from the already generated configure script.
--
Bazsi
_______________________________________________
syslog-ng maillist - syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
---------------------------------
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search. Learn more.
--0-2016648080-1113918130=:52861
Content-Type: text/html; charset=us-ascii
<DIV>I am still having trouble with this. I am working on it. One question I have that I don't see answered anywhere (maybe I am just blind). But do you have to run syslog-ng on each server you want to log to the logserver? Is this something I have to do for each of my machines? I am not sure I completely understand the process.<BR><BR><B><I>Balazs Scheidler <bazsi@balabit.hu></I></B> wrote:
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On Thu, 2005-04-14 at 12:03 -0700, John Thrumston wrote:<BR>> I tried the ./configure --enable-dynamic-linking as it suggests, got<BR>> the exact same results. <BR>> <BR>> Sunfreeware has a newer version of GLIB (SMCglib-2.6.2 out there. <BR>> My questions are, if I add that package. <BR>> 1) how will the server know which version to use? <BR>> 2. Will this corrupt any other packages that may currently be using<BR>> the SUNWGlib that was installed?<BR>> <BR>> Sorry to ask all these questions, I just don't know library functions<BR>> very well and don't want to blow the box up so to speak.<BR><BR><BR>hm. the configure test checking static glib does not check whether<BR>--enable-dynamic-linking was specified and always errors out.<BR><BR>This patch should fix it:<BR><BR>--- orig/configure.in<BR>+++ mod/configure.in<BR>@@ -113,7 +113,7
@@<BR>blb_cv_static_glib=no)])<BR>LIBS=$old_LIBS<BR><BR>-if test "x$blb_cv_static_glib" = "xno"; then<BR>+if test "x$enable_dynamic_linking" = "xno" -a "x$blb_cv_static_glib" = "xno"; then<BR>AC_MSG_ERROR([static GLib libraries not found, either link GLib dynamically using the --enable-dynamic-linking or install a static GLib])<BR>fi<BR><BR><BR>You'll need to regenerate the configure script after patching it <BR>(using autoconf), alternatively you could also comment out this check<BR>from the already generated configure script.<BR><BR>-- <BR>Bazsi<BR><BR><BR>_______________________________________________<BR>syslog-ng maillist - syslog-ng@lists.balabit.hu<BR>https://lists.balabit.hu/mailman/listinfo/syslog-ng<BR>Frequently asked questions at http://www.campin.net/syslog-ng/faq.html<BR><BR></BLOCKQUOTE></DIV><p>
<hr size=1>Do you Yahoo!?<br>
Yahoo! Mail - Find what you need with new enhanced search. <a href="http://us.rd.yahoo.com/evt=29917/*http://info.mail.yahoo.com/mail_250">Learn more.</a>
--0-2016648080-1113918130=:52861--