[syslog-ng] syslog-ng compiling with static--link option

Shamim shamim_99 at yahoo.com
Fri Feb 23 15:39:44 CET 2007


Hi,
   
  I'm trying to compile syslog-ng with static linking as below: 
   
  # ./configure --enable-static-linking --prefix=/opt/soe/local/syslog-ng-2.0.2
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc option to accept ANSI C... none needed
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking how to enable static linking for certain libraries... HP-UX
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dmalloc.h usability... no
checking dmalloc.h presence... no
checking for dmalloc.h... no
checking for strings.h... (cached) yes
checking openssl/ssl.h usability... no
checking openssl/ssl.h presence... no
checking for openssl/ssl.h... no
checking getopt.h usability... no
checking getopt.h presence... no
checking for getopt.h... no
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking sys/strlog.h usability... yes
checking sys/strlog.h presence... yes
checking for sys/strlog.h... yes
checking door.h usability... no
checking door.h presence... no
checking for door.h... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_gmtoff... no
checking for I_CONSLOG... no
checking for O_LARGEFILE... yes
checking for door_create in -ldoor... no
checking for socket in -lsocket... no
checking for nanosleep in -lrt... yes
checking for gethostbyname in -lnsl... yes
checking for regexec in -lregex... no
checking for strdup... yes
checking for strtol... yes
checking for inet_aton... yes
checking for inet_ntoa... yes
checking for getopt_long... no
checking for getaddrinfo... yes
checking whether to enable Sun STREAMS support... no
checking whether to enable Sun door support... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for EVTLOG... yes
checking for static GLib libraries... no
configure: error: static GLib libraries not found (a file named libglib-2.0.a), either link GLib dynamically using the --enable-dynamic-linking or install a static GLib
# find / -name libglib-2.0.a
/usr/local/lib/libglib-2.0.a
# echo $PATH
/usr/include:/opt/soe/local:/usr/local/doc/libgcc:/usr/local/bin:/usr/local/lib:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/fcms/bin:/opt/atok/bin:/usr/bin/X11:/usr/contrib/kwdb/bin:/opt/graphics:/opt/soe/bos/bin:/opt/tng/services/bin:/opt/tng/services/tools:/opt/tng/agents/bin
#

 		
---------------------------------
 What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070223/1c25dddb/attachment.htm


More information about the syslog-ng mailing list