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 &lt;bazsi at balabit.hu&gt;</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>
&quot;Syslog-ng users' and developers' mailing list&quot; &nbsp; &nbsp;
&nbsp; &nbsp;&lt;syslog-ng at lists.balabit.hu&gt;</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">&quot;Syslog-ng users' and developers'
mailing list&quot; &lt;syslog-ng at lists.balabit.hu&gt;</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>
&gt; <br>
&gt; Hi, <br>
&gt; <br>
&gt; I have successfully build syslog-ng-2.1.3 with<br>
&gt; --enable-dynamic-linking on Solaris 8. <br>
&gt; While trying to build using --enable-static-linking option, it is
not<br>
&gt; allowing me to configure syslog-ng-2.1.3 version on my Solaris 8 box<br>
&gt; (sparc). It is not able to find glib-2.0.a (Static library), though
it<br>
&gt; is available in /usr/local/lib path. <br>
&gt; <br>
&gt; -rw-r--r-- &nbsp; 1 root &nbsp; &nbsp; &nbsp;2822036 Jan 15<br>
&gt; 06:21 /usr/local/lib/libglib-2.0.a <br>
&gt; <br>
&gt; Here is error message while doing compilation: <br>
&gt; -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
<br>
&gt; ./configure --enable-static-linking --prefix=/opt/syslog-ng-2.1.3
<br>
&gt; .... <br>
&gt; .... <br>
&gt; checking whether to enable TCP wrapper support... no <br>
&gt; checking whether to enable spoof source support... no <br>
&gt; checking whether to enable IPv6 support... yes <br>
&gt; checking whether to enable SQL support... no <br>
&gt; checking for pkg-config... (cached) /usr/local/bin/pkg-config <br>
&gt; checking pkg-config is at least version 0.14... yes <br>
&gt; checking for GLIB - version &gt;= 2.4.0... yes (version 2.13.0) <br>
&gt; checking for static GLib libraries... no <br>
&gt; checking sanity checking Glib headers... yes <br>
&gt; configure: error: static GLib libraries not found (a file named<br>
&gt; libglib-2.0.a), either link GLib dynamically using the<br>
&gt; --enable-dynamic-linking or install a static GLib <br>
&gt; -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
<br>
&gt; <br>
&gt; I have compiled glib-2.13.1 witn --enable-static option to get<br>
&gt; libglib-2.0.a library using gcc-3.4.6 compiler (same I am using for<br>
&gt; syslog-ng). Somehow syslog-ng is not able to find Static Glib during<br>
&gt; 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