On Tue, 27 Mar 2007 11:57:42 +0900, Root Administrator said:
ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/glib-2.6.2-sol9-sparc-local.gz
The package information is ;
# pkginfo | grep -i glib application SMCglib glib system SUNWGlib GLIB - Library of useful routines for C programming
Humor me, part one - can you get pkginfo to tell you what release(s) of glib this is? And is the sol9-sparc-local file referenced above actually the one you did a successful pkgadd with? (I'm suspecting that there's something wrong here, as later on you look to see what the pkginfo database has in it, and we *don't* see anything referencing /usr/local, even though:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/glib-2.0-I/usr/local/lib/glib- 2.0/include -I/usr/local/include/eventlog -D_GNU_SOURCE -g -O2 -Wall -g -c `test -f 'misc.c' || echo './'`misc.c
We see a reference to /usr/local/include, and /usr/local/lib/include. Also, please double-check if you had a cut-n-paste error - there's a missing blank before the second -I. What does this command return: % pgk-config --cflags glib-2.0 (If this has 2 -I flags with a missing space, that's your problem).
In file included from /usr/local/include/glib-2.0/glib/galloca.h:30, from /usr/local/include/glib-2.0/glib.h:30, from syslog-ng.h:37, from misc.h:27, from misc.c:24:
OK, here we've found a glib include in /usr/local/include, somehow.
/usr/local/include/glib-2.0/glib/gtypes.h:30: glibconfig.h: No such file or directory
but something is fishy about it.
# find /usr -name glibconfig.h -exec grep {} /var/sadm/install/contents \;
Humor me, part two: What does this return: # find /usr/local -name glibconfig.h -ls # find /usr/local -name gtypes.h -ls (We skip the grep because I'm curious what's actually on the system, as opposed to what files pgkadd *thinks* are on the system...)