No subject
Mon Jun 16 21:29:23 CEST 2008
</font>
<br>
<br><font size=2 face="sans-serif">I tried to install gcc-4.2.3 on this
Solaris box but not succeeded. :(</font>
<br>
<br><font size=2 face="sans-serif">With Regards,<br>
Chanchal Verma<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Balazs Scheidler <bazsi at balabit.hu></b>
</font>
<br><font size=1 face="sans-serif">Sent by: syslog-ng-bounces at lists.balabit.hu</font>
<p><font size=1 face="sans-serif">01/16/2009 07:05 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
"Syslog-ng users' and developers' mailing list"
<syslog-ng at lists.balabit.hu></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">"Syslog-ng users' and developers'
mailing list" <syslog-ng at lists.balabit.hu></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [syslog-ng] syslog-ng-2.1.3: 'Configure'
failed on Solaris 8 using --enable-static-linking</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>On Fri, 2009-01-16 at 12:43 +0530, Chanchal Verma
wrote:<br>
> <br>
> Hi, <br>
> <br>
> I have successfully build syslog-ng-2.1.3 with<br>
> --enable-dynamic-linking on Solaris 8. <br>
> While trying to build using --enable-static-linking option, it is
not<br>
> allowing me to configure syslog-ng-2.1.3 version on my Solaris 8 box<br>
> (sparc). It is not able to find glib-2.0.a (Static library), though
it<br>
> is available in /usr/local/lib path. <br>
> <br>
> -rw-r--r-- 1 root 2822036 Jan 15<br>
> 06:21 /usr/local/lib/libglib-2.0.a <br>
> <br>
> Here is error message while doing compilation: <br>
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
<br>
> ./configure --enable-static-linking --prefix=/opt/syslog-ng-2.1.3
<br>
> .... <br>
> .... <br>
> checking whether to enable TCP wrapper support... no <br>
> checking whether to enable spoof source support... no <br>
> checking whether to enable IPv6 support... yes <br>
> checking whether to enable SQL support... no <br>
> checking for pkg-config... (cached) /usr/local/bin/pkg-config <br>
> checking pkg-config is at least version 0.14... yes <br>
> checking for GLIB - version >= 2.4.0... yes (version 2.13.0) <br>
> checking for static GLib libraries... no <br>
> checking sanity checking Glib headers... yes <br>
> configure: error: static GLib libraries not found (a file named<br>
> libglib-2.0.a), either link GLib dynamically using the<br>
> --enable-dynamic-linking or install a static GLib <br>
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
<br>
> <br>
> I have compiled glib-2.13.1 witn --enable-static option to get<br>
> libglib-2.0.a library using gcc-3.4.6 compiler (same I am using for<br>
> syslog-ng). Somehow syslog-ng is not able to find Static Glib during<br>
> configure. <br>
<br>
Are you sure syslog-ng finds the proper glib? the configure script uses<br>
pkg-config to discover the available glib version, and pkg-config uses<br>
PKG_CONFIG_PATH environment variable to find the relevant .pc files.<br>
<br>
If you installed the static glib to /usr/local/lib, then your .pc file<br>
should have been installed in /usr/local/lib/pkgconfig/glib-2.0.pc<br>
<br>
You might have other glib installations, and provided your pkg-config<br>
finds those first, your glib library won't be found.<br>
<br>
I've found one suspicious thing that this is the case: you said you<br>
installed glib 2.13.1 and the configure script states that it has found<br>
2.13.0<br>
<br>
Try this:<br>
<br>
pkg-config --libs glib-2.0.pc<br>
<br>
what does it display for you, I guess it points to a directory different<br>
than /usr/local//lib<br>
<br>
-- <br>
Bazsi<br>
<br>
______________________________________________________________________________<br>
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng<br>
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng<br>
FAQ: http://www.campin.net/syslog-ng/faq.html<br>
<br>
</tt></font>
<br>
--=_alternative 0031405665257543_=--
More information about the syslog-ng
mailing list