Building nagios-3.0b1 under solaris fails
admir.trakic at nordea.com
admir.trakic at nordea.com
Wed Aug 29 15:58:51 CEST 2007
Hi list,
I have a problem with upgrading our nagios build on Solaris. The
configure creating SNPRINTF_O=../common/snprintf.o.
Can somebody shed a light?
br,admir trakic
My configure:
./configure --prefix=XXXXXXXXXXXXXXXXXX/nagios \
--with-nagios-user=XXXXXXX \
--with-nagios-group=XXXXXXX \
--with-command-user=XXXXXXX \
--with-command-group=XXXXX \
--with-gd-lib=/usr/local/lib \
--with-gd-inc=/usr/local/include \
--with-init-dir=XXXXXXXXXXXXX/nagios/init.d
Error log:
$ make all
...
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DNSCORE -c -o xperfdata-base.o
../xdata/xpddefault.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DNSCORE -c -o downtime-base.o
../common/downtime.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DNSCORE -c -o xdowntime-base.o
../xdata/xdddefault.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DNSCORE -c ../common/snprintf.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DNSCORE -o nagios nagios.c broker.o
nebmods.o checks.o config.o commands.o events.o flapping.o logging.o
notifications.o sehandlers.o utils.o retention-base.o xretention-base.o
comments-base.o xcomments-base.o objects-base.o xobjects-base.o
statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o
downtime-base.o xdowntime-base.o ../common/snprintf.o
-L/usr/local/lib -lm -lpthread -ldl -lrt -lglib-2.0
gcc: ../common/snprintf.o: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `nagios'
My build env:
$ uname -m
sun4u
$ gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with:
/gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
More information about the Developers
mailing list