[Opendnssec-develop] Fail to setup database

Rick Zijlker rick.zijlker at sidn.nl
Mon Mar 1 12:25:29 UTC 2010


Thanks! It works now.

 

Cheers

 

From: Rickard Bellgrim [mailto:rickard.bellgrim at iis.se] 
Sent: maandag 1 maart 2010 13:07
To: Rick Zijlker
Cc: Opendnssec-develop at lists.opendnssec.org
Subject: Re: [Opendnssec-develop] Fail to setup database

 

 

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/831826c6/attachment.htm>


More information about the Opendnssec-develop mailing list