Problems Compiling on Red Hat 9.0
Rhugga
nagios at zulu420.com
Wed Nov 12 17:26:22 CET 2003
I got past my first issues with Mysql by reverting the Red Hat's rpm.
However, now I get to this point when compiling:
syslog:/usr/local/src/nagios-1.1 #make all
cd ./base && make
make[1]: Entering directory `/usr/local/src/nagios-1.1/base'
make[1]: `nagios' is up to date.
make[1]: Leaving directory `/usr/local/src/nagios-1.1/base'
cd ./cgi && make
make[1]: Entering directory `/usr/local/src/nagios-1.1/cgi'
gcc -g -O2 -I/usr/include -DHAVE_CONFIG_H -DNSCGI -L/usr/lib/mysql
-lmysqlclient avail.c getcgi.o cgiutils.o auth.o popen.o
../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c
../xdata/xsddb.c -o avail.cgi
../xdata/xodtemplate.c: In function `xodtemplate_add_object_property':
../xdata/xodtemplate.c:1344: `temp_buffer' undeclared (first use in this
function)
../xdata/xodtemplate.c:1344: (Each undeclared identifier is reported
only once
../xdata/xodtemplate.c:1344: for each function it appears in.)
../xdata/xodtemplate.c:1346: `NSLOG_CONFIG_ERROR' undeclared (first use
in this function)
make[1]: *** [avail.cgi] Error 1
make[1]: Leaving directory `/usr/local/src/nagios-1.1/cgi'
make: *** [all] Error 2
Here is my current configure command:
./configure --prefix=/usr/local/nagios --with-nagios-user=nagios
--with-nagios-grp=nagios --with-init-dir=/etc/init.d
--with-lockfile=/tmp --with-mysql-xdata --with-mysql-status
--with-mysql-comments --with-mysql-extinfo --with-mysql-retention
--with-mysql-downtime --enable-DEBUG1 --enable-DEBUG2 --enable-DEBUG5
--enable-DEBUG4 --with-mysql-lib=/usr/lib/mysql
--with-mysql-inc=/usr/include
Any ideas??
Thx,
Chuck
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list