Re: [OpenSMTPD] portable snapshot opensmtpd-201506020910p1 available

2015-06-04 Thread Herbert J. Skuhra
On Thu, Jun 04, 2015 at 02:50:04PM +0200, Herbert J. Skuhra wrote:
> On Tue, Jun 02, 2015 at 09:16:38PM +0200, Herbert J. Skuhra wrote:
> > 
> > stat("/usr/local/opensmtpd/libexec/opensmtpd/table-db",0x7fffbb78) 
> > ERR#2 'No such file or directory'
> > fatal: table_create: backend "db" does not exist
> > write(2,"fatal: table_create: backend "db"...,49) = 49 (0x31)
> 
> To resolve this I had to add
> 
> #define HAVE_DB_API 1
> 
> to config.h.

Maybe?

diff --git a/configure.ac b/configure.ac
index bff2c7a..6c09bc9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2582,6 +2582,7 @@ LIBS="$save_LIBS"
 
 AM_CONDITIONAL([HAVE_DB_API], [test $use_db_api = 1])
 
+AM_COND_IF([HAVE_DB_API], [AC_DEFINE([HAVE_DB_API], [1], [Define to 1 if 
HAVE_DB_API])])
 
 # Search for asr (based on zlib checks)
 dnl asr is required

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: [OpenSMTPD] portable snapshot opensmtpd-201506020910p1 available

2015-06-04 Thread Herbert J. Skuhra
On Tue, Jun 02, 2015 at 09:16:38PM +0200, Herbert J. Skuhra wrote:
> On Tue, Jun 02, 2015 at 08:23:56PM +0200, Gilles Chehade wrote:
> > On Tue, Jun 02, 2015 at 12:05:55PM +0200, Herbert J. Skuhra wrote:
> > > On Tue, Jun 02, 2015 at 09:10:43AM +0200, gilles chehade wrote:
> > > > A new opensmtpd portable snapshot is available at:
> > > > 
> > > > 
> > > > http://www.opensmtpd.org/archives/opensmtpd-201506020910p1.tar.gz
> > > 
> > > Hmm, on FreeBSD 10.1-STABLE (r283665) I get
> > > 
> > > fatal: table_create: backend "db" does not exist
> > > 
> > > although I ran configure with '--enable-table-db'.
> > > 
> > 
> > can you check if it just didn't install in the wrong place ?
> 
> stat("/usr/local/opensmtpd/libexec/opensmtpd/table-db",0x7fffbb78) ERR#2 
> 'No such file or directory'
> fatal: table_create: backend "db" does not exist
> write(2,"fatal: table_create: backend "db"...,49) = 49 (0x31)

To resolve this I had to add

#define HAVE_DB_API 1

to config.h.

-- 
Herbert

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: [OpenSMTPD] portable snapshot opensmtpd-201506020910p1 available

2015-06-04 Thread Herbert J. Skuhra
On Tue, Jun 02, 2015 at 09:16:38PM +0200, Herbert J. Skuhra wrote:
> On Tue, Jun 02, 2015 at 08:23:56PM +0200, Gilles Chehade wrote:
> > On Tue, Jun 02, 2015 at 12:05:55PM +0200, Herbert J. Skuhra wrote:
> > > On Tue, Jun 02, 2015 at 09:10:43AM +0200, gilles chehade wrote:
> > > > A new opensmtpd portable snapshot is available at:
> > > > 
> > > > 
> > > > http://www.opensmtpd.org/archives/opensmtpd-201506020910p1.tar.gz
> > > 
> > > Hmm, on FreeBSD 10.1-STABLE (r283665) I get
> > > 
> > > fatal: table_create: backend "db" does not exist
> > > 
> > > although I ran configure with '--enable-table-db'.
> > > 
> > 
> > can you check if it just didn't install in the wrong place ?
> 
> stat("/usr/local/opensmtpd/libexec/opensmtpd/table-db",0x7fffbb78) ERR#2 
> 'No such file or directory'
> fatal: table_create: backend "db" does not exist
> write(2,"fatal: table_create: backend "db"...,49) = 49 (0x31)

opensmtpd-201505241924p1 same failure
opensmtpd-201505121836p1 OK. table-db does not exist

I've built opensmtpd on Fedora 22 and Manjaro and there is also no
table-db.

-- 
Herbert

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org