<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">These are the package information about GLIB.<br><br> # pkginfo -l SUNWGlib<br> PKGINST: SUNWGlib
<br> NAME: GLIB - Library of useful routines for C programming<br> CATEGORY: system<br> ARCH: sparc<br> VERSION: 11.9.0,REV=2002.03.02.00.35<br> BASEDIR: /<br> VENDOR: Sun Microsystems, Inc.
<br> DESC: GLIB - Library of useful routines for C programming<br> PSTAMP: sfw8120020302003551<br> INSTDATE: Aug 27 2004 19:50<br> HOTLINE: Please contact your local service provider<br> STATUS: completely installed
<br> FILES: 33 installed pathnames<br> 8 shared pathnames<br> 11 directories<br> 7 executables<br> 779 blocks used (approx)<br><br> # pkginfo -l SMCglib
<br> PKGINST: SMCglib<br> NAME: glib<br> CATEGORY: application<br> ARCH: sparc<br> VERSION: 2.6.2<br> BASEDIR: /usr/local<br> VENDOR: The GLIB Project<br> PSTAMP: Steve Christensen
<br> INSTDATE: 3月 05 2007 15:50<br> EMAIL: <a href="mailto:steve@smc.vnet.net">steve@smc.vnet.net</a><br> STATUS: completely installed<br> FILES: 780 installed pathnames<br> 8 shared pathnames
<br> 163 directories<br> 17 executables<br> 42974 blocks used (approx)<br><br>SUNWGlib is the pre-installed package.<br>SMCglib is that I did pkgadd successfully.<br> file is :
<a href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/glib-2.6.2-sol9-sparc-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/glib-2.6.2-sol9-sparc-local.gz</a><br><br>--------------------------------------------------------------------------------
<br><br>Further information about the package is as,<br><br> # cat /usr/local/lib/pkgconfig/glib-2.0.pc<br> prefix=/usr/local<br> exec_prefix=${prefix}<br> libdir=${exec_prefix}/lib<br> includedir=${prefix}/include<br>
<br> glib_genmarshal=glib-genmarshal<br> gobject_query=gobject-query<br> glib_mkenums=glib-mkenums<br><br> Name: GLib<br> Description: C Utility Library<br> Version: 2.6.2<br> Libs: -L${libdir} -lglib-2.0 -liconv<br>
Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include <br><br>and, <br><br> # export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/:/usr/lib/pkgconfig/<br> # pkg-config --cflags glib-2.0<br> -I/usr/local/include/glib-
2.0 -I/usr/local/lib/glib-2.0/include <br><br>but, <br><br> # ls /usr/local/lib/g*<br> /usr/local/lib/g*: No such file or directory<br><br>Therefore, it seems that the installed package does NOT create the directories<br>
which are necessary to compile syslog-ng-2.0.2.<br>Further, the package does NOT create the file "glibconfig.h" which should exist<br>in /usr/local/lib/glib-2.0/include.<br><br>I simply tried to copy the file "/usr/sfw/lib/glib/include/glibconfig.h" into
<br>"/usr/local/lib/glib-2.0/include/" , and done make again.<br>Then, it passes the problem regarding "file does not exist" , although it errors out<br>a lot more elsewhere since the file "glibconfig.h
" belongs to the original package.<br><br>--------------------------------------------------------------------------------<br><br>find /usr/local -name glibconfig.h -ls<br>returns<br>none<br><br>find /usr/local -name
gtypes.h -ls<br>returns<br>135296 15 -rw-r--r-- 1 root bin 15241 Mar 1 2005 /usr/local/include/glib-2.0/glib/gtypes.h<br><br>--------------------------------------------------------------------------------
<br><br>About the missing blank space, <br>there IS a space before the second -I.<br>There was a space in the text before sending.<br>It was deleted somehow at the mail archive.<br>I do not know why,,,<br><br>--------------------------------------------------------------------------------
<br><br>Questions are,,,<br>Q1. Is the package I have installed appropriate in order to compile syslog-ng-2.0.2 ?<br>Q2. Are there any package dependencies associated with this package ?<br><br>Please help out.<br><br>Regards,
<br><br>George<br><br>------------------------------<br><br>Message: 4<br>Date: Tue, 27 Mar 2007 03:01:06 -0400<br>From: <a href="mailto:Valdis.Kletnieks@vt.edu">Valdis.Kletnieks@vt.edu</a><br>Subject: Re: [syslog-ng] problem in compiling "
syslog-ng-2.0.2" on<br> SunOS 5.9 sparc<br>To: "Syslog-ng users' and developers' mailing list"<br> <<a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a>>
<br>Message-ID: <<a href="mailto:200703270701.l2R716nZ014513@turing-police.cc.vt.edu">200703270701.l2R716nZ014513@turing-police.cc.vt.edu</a>><br>Content-Type: text/plain; charset="us-ascii"<br><br>On Tue, 27 Mar 2007 11:57:42 +0900, Root Administrator said:
<br><br>> <a href="ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/glib-2.6.2-sol9-sparc-local.gz">ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/glib-2.6.2-sol9-sparc-local.gz</a><br>><br>> The package information is ;
<br>><br>> # pkginfo | grep -i glib<br>> application SMCglib glib<br>> system SUNWGlib GLIB - Library of<br>> useful routines for C programming
<br><br>Humor me, part one - can you get pkginfo to tell you what release(s) of glib<br>this is? And is the sol9-sparc-local file referenced above actually the<br>one you did a successful pkgadd with? (I'm suspecting that there's something
<br>wrong here, as later on you look to see what the pkginfo database has in<br>it, and we *don't* see anything referencing /usr/local, even though:<br><br>> gcc -DHAVE_CONFIG_H -I. -I. -I..<br>> -I/usr/local/include/glib-
2.0-I/usr/local/lib/glib-<br>> 2.0/include -I/usr/local/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g<br>> -c `test -f 'misc.c' || echo './'`misc.c<br><br>We see a reference to /usr/local/include, and /usr/local/lib/include.
<br><br>Also, please double-check if you had a cut-n-paste error - there's a<br>missing blank before the second -I.<br><br>What does this command return:<br><br>% pgk-config --cflags glib-2.0<br><br>(If this has 2 -I flags with a missing space, that's your problem).
<br><br>> In file included from /usr/local/include/glib-2.0/glib/galloca.h:30,<br>> from /usr/local/include/glib-2.0/glib.h:30,<br>> from syslog-ng.h:37,<br>> from
misc.h:27,<br>> from misc.c:24:<br><br>OK, here we've found a glib include in /usr/local/include, somehow.<br><br>> /usr/local/include/glib-2.0/glib/gtypes.h:30: glibconfig.h: No such file<br>
> or directory<br><br>but something is fishy about it.<br><br>> # find /usr -name glibconfig.h -exec grep {} /var/sadm/install/contents \;<br><br>Humor me, part two:<br><br>What does this return:<br><br># find /usr/local -name
glibconfig.h -ls<br># find /usr/local -name gtypes.h -ls<br><br>(We skip the grep because I'm curious what's actually on the system, as<br>opposed to what files pgkadd *thinks* are on the system...)<br><br>-------------- next part --------------
<br>A non-text attachment was scrubbed...<br>Name: not available<br>Type: application/pgp-signature<br>Size: 226 bytes<br>Desc: not available<br>Url : <a href="http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070327/6cbeae45/attachment-0001.pgp">
http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070327/6cbeae45/attachment-0001.pgp</a><br><br>------------------------------<br><br>_______________________________________________<br>syslog-ng maillist - <a href="mailto:syslog-ng@lists.balabit.hu">
syslog-ng@lists.balabit.hu</a><br><a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br><br><br>End of syslog-ng Digest, Vol 23, Issue 29<br>*****************************************
<br></blockquote></div><br>