[syslog-ng] problem in compiling "syslog-ng-2.0.2" on SunOS 5.9
sparc
Root Administrator
root.regist at gmail.com
Tue Mar 27 04:57:42 CEST 2007
Hi,
I have been facing the problem in compiling "syslog-ng-2.0.2" on SunOS 5.9sparc.
The steps I have followed are described below.
Could anyone plz help troubleshooting?
[Condition]
"GLIB" package is that of pre-installed.
The package information about "GLIB" is ;
# pkginfo | grep -i glib
system SUNWGlib GLIB - Library of useful
routines for C programming
[Steps]
1. Install "eventlog-0.2.5" that is required by syslog-ng 2.0.2.
The source file is from http://www.balabit.com/
Installation was successfully completed.
2. Configure "syslog-ng 2.0.2"
# ./configure --enable-dynamic-linking
It resulted in the following error.
checking for GLIB... Requested 'glib-2.0 >= 2.2' but version of GLib is
2.0.7
configure: error: Cannot find GLib library version >= 2.2: is pkg-config
in path?
It seems the version of "GLIB" is older.
Thus, I installed newer version of GLIB "glib-2.6.2".
The file is downloaded from the following URL,
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
3. 2nd attempt of configure
New package is installed in previous step so that I changed the PATH to
make sure the installed package is
first reached.
# export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/:/usr/lib/pkgconfig/
# ./configure --enable-dynamic-linking
Configure is successfully completed.
4. Compile
# make
It resulted in the following error.
make all-recursive
make[1]: Entering directory `/usr/local/src/syslog-ng-2.0.2'
Making all in src
make[2]: Entering directory `/usr/local/src/syslog-ng-2.0.2/src'
source='misc.c' object='misc.o' libtool=no \
depfile='.deps/misc.Po' tmpdepfile='.deps/misc.TPo' \
depmode=gcc /bin/bash ../depcomp \
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
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:
/usr/local/include/glib-2.0/glib/gtypes.h:30: glibconfig.h: No such file
or directory
/usr/local/include/glib-2.0/glib/gtypes.h:385: #error unknown ENDIAN type
make[2]: *** [misc.o] Error 1
make[2]: Leaving directory `/usr/local/src/syslog-ng-2.0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/syslog-ng-2.0.2'
make: *** [all] Error 2
The file "glibconfig.h" exists at following path, but I have no idea
whether they relate to syslog-ng.
# find /usr -name glibconfig.h -exec grep {} /var/sadm/install/contents \;
/usr/lib/sparcv9/glib-2.0/include/glibconfig.h f none 0644 root other 4636
35107 1052884337 SUNWgnome-base-libs-64
/usr/lib/glib-2.0/include/glibconfig.h f none 0644 root other 4670 37361
1052873864 SUNWgnome-base-libs-devel
/usr/sfw/lib/glib/include/glibconfig.h f none 0644 root bin 3603 16163
1015056352 SUNWGlib
Please help!!!
Thanks!
Regards
George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070327/9a57db7f/attachment.html
More information about the syslog-ng
mailing list