[Opendnssec-develop] Fail to setup database
Rickard Bellgrim
rickard.bellgrim at iis.se
Mon Mar 1 12:07:25 UTC 2010
On 1 mar 2010, at 12.52, Rick Zijlker wrote:
A previous SVN checkout worked fine. It seems as if ODS is searching for a database script in the wrong place. Am I right? How can I fix this?
Does this work?
Index: enforcer/configure.ac
===================================================================
--- enforcer/configure.ac (revision 2910)
+++ enforcer/configure.ac (working copy)
@@ -144,7 +144,7 @@
DB_LIBS=$MYSQL_LIBS
AC_DEFINE_UNQUOTED(SQL_BIN, "$MYSQL", [database binary])
- AC_DEFINE_UNQUOTED(SQL_SETUP, "$opendnssecdatadir/database_create.mysql", [database setup script])
+ AC_DEFINE_UNQUOTED(SQL_SETUP, "$OPENDNSSEC_DATA_DIR/database_create.mysql", [database setup script])
AC_SUBST(DB_TYPE)
AC_SUBST(DB_INCLUDES)
@@ -160,7 +160,7 @@
DB_LIBS=$SQLITE3_LIBS
AC_DEFINE_UNQUOTED(SQL_BIN, "$SQLITE3", [database binary])
- AC_DEFINE_UNQUOTED(SQL_SETUP, "$opendnssecdatadir/database_create.sqlite3", [database setup script])
+ AC_DEFINE_UNQUOTED(SQL_SETUP, "$OPENDNSSEC_DATA_DIR/database_create.sqlite3", [database setup script])
AC_SUBST(DB_TYPE)
AC_SUBST(DB_INCLUDES)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opendnssec.org/pipermail/opendnssec-develop/attachments/20100301/22951490/attachment.htm>
More information about the Opendnssec-develop
mailing list