Locations.h - when using mysql database

I’m compiling Nagios 1-x-cvs (1.3) from source under Redhat Linux.

When I tried completing a “make” the locations.h file had not been replaced properly, and was causing the first make in the base directory to fail.

I have manually attempted, to set the defines manually and this allows the compile to complete; but I’m still having issues with status file, etc.

Here are my current settings, and would like options if these are set correctly. Secondly, do they all have to be defined If I want to use mysql database rather than text files?

#define DEFAULT_TEMP_FILE “/usr/local/nagios/var/tempfile”
#define DEFAULT_STATUS_FILE “/usr/local/nagios/var/status.log”
#define DEFAULT_LOG_FILE “/usr/local/nagios/var/nagios.log”
#define DEFAULT_LOG_ARCHIVE_PATH “/usr/local/nagios/var/archives/”
#define DEFAULT_COMMENT_FILE “/usr/local/nagios/var/comment.log”
#define DEFAULT_DOWNTIME_FILE “/usr/local/nagios/var/downtime.log”
#define DEFAULT_RETENTION_FILE “/usr/local/nagios/var/status.sav”
#define DEFAULT_COMMAND_FILE “/usr/local/nagios/var/rw/nagios.cmd”
#define DEFAULT_PHYSICAL_HTML_PATH “/usr/local/nagios/share”
#define DEFAULT_URL_HTML_PATH “/nagios”
#define DEFAULT_PHYSICAL_CGIBIN_PATH “/usr/local/nagios/sbin”
#define DEFAULT_URL_CGIBIN_PATH “/nagios/cgi-bin”
#define DEFAULT_CGI_CONFIG_FILE “/usr/local/nagios/etc/cgi.cfg”
#define DEFAULT_LOCK_FILE “/usr/local/nagios/var/nagios.lock”

Here is the configure command I’m using to build nagios also:

./configure --prefix=/ --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-grp=nagios --with-mysql-status --with-mysql-comments --with-mysql-extinfo --with-mysql-retention --with-mysql-objects --with-mysql-downtime --with-mysql-lib=/usr/local/lib/mysql --with-mysql-inc=/usr/local/include/mysql --with-gd-lib=/usr/local/lib and --with-gd-inc=/usr/local/include

I’d rather try with the stable 1.2 or with 2.03b instead of a CVS snapshot…

PS: there’s no mysql support in the 2.x version.