I'm on a Solaris Sun 10 box and I'm trying to install syslog-ng-2.0.9
and I keep getting this error whenever I run ./configure:
configure: error: Glib headers inconsistent with current compiler
setting. You might be using 32 bit Glib with a 64 bit compiler, check
PKG_CONFIG_PATH
I just installed Glib-2.18.0 as well as pkg-config-0.20. I'm not sure
how to tell what bit program I am using, though, and/or how to change it. I have tried the following per the suggestion from another Unix user:
# PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ; export PKG_CONFIG_PATH
# ./configure --enable-dynamic-linking
And that just generated the same error. I did try the make command, though, just to see if it would work, but it didn't:
make: *** No targets specified and no makefile found. Stop.
Here are my Environment variables:
CC=gcc
CPPFLAGS=-I/usr/local/BerkeleyDB.4.2/include -I/usr/local/ssl/include
ENV=~/.kshrc
HOME=/
HZ=
LANG=C
LDFLAGS=-L/usr/local/lib -L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/
BerkeleyDB.4.2/lib
LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib:/sirsi/oracle/product/
102/lib32:/usr/local/BerkeleyDB.4.2/lib:/usr/local/ssl/lib
LOGNAME=root
MAIL=/var/mail/root
MANPATH=/usr/opt/SUNWmd/man:/usr/kerberos/man:/usr/man:/usr/dt/man:/
usr/openwin/man:/usr/local/man
OPENWINHOME=/usr/openwin
PATH=/usr/local/ssl/bin:/usr/local/bin:/usr/bin/nsr:/usr/opt/SUNWmd/
sbin:/usr/kerberos/bin:/opt/SUNWspro/bin:/usr/bin:/usr/sbin:/usr/ccs/
bin:/usr/dt/bin:/usr/openwin/bin:/usr/ucb:/usr/local/bin:.:/opt/ssl/
bin:/usr/sfw/bin:/opt/hpnp/bin:/opt/hpnp/admin:/opt/hpnpl/bin:/opt/
hpnpl/admin
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
SHELL=/sbin/sh
TERM=vt100
TZ=US/Central
VISUAL=vi
I'm still fairly new to the Unix world, so please forgive the
ignorance....
Jamen McGranahan