Re: [Dbmail-dev] rev 2022 : incorrect dbmail.h

2006-03-11 Thread Aaron Stone
On Fri, 2006-03-10 at 16:04 +0300, Oleg Lapshin wrote:
 Hello
 
 revision 2022 generates incorrect dbmail.h:
 
 #define DEFAULT_PID_DIR ${prefix}/var/run
 #define DEFAULT_CONFIG_FILE ${prefix}/etc/dbmail.conf
 #define DEFAULT_LOG_FILE @localstate@/log/dbmail.log
 #define DEFAULT_ERROR_LOG @localstate@/log/dbmail.err

Would they ever be!? I think autoconf macros like that would only be
available in config.h, which is generated from [the autogenerated file]
config.h.in. Paul, how did you get this to work for your setup?

Aaron



Re: [Dbmail-dev] rev 2022 : incorrect dbmail.h

2006-03-11 Thread Paul J Stevens
Aaron Stone wrote:
 On Fri, 2006-03-10 at 16:04 +0300, Oleg Lapshin wrote:
 
Hello

revision 2022 generates incorrect dbmail.h:

#define DEFAULT_PID_DIR ${prefix}/var/run
#define DEFAULT_CONFIG_FILE ${prefix}/etc/dbmail.conf
#define DEFAULT_LOG_FILE @localstate@/log/dbmail.log
#define DEFAULT_ERROR_LOG @localstate@/log/dbmail.err
 
 
 Would they ever be!? I think autoconf macros like that would only be
 available in config.h, which is generated from [the autogenerated file]
 config.h.in. Paul, how did you get this to work for your setup?

By specifying ./configure --prefix=/usr --localstatedir=/var/run/dbmail
--sysconfdir=/etc/dbmail/

btw, the @localstate@ is a typo, it should read @[EMAIL PROTECTED]

The intention is to get rid of the different debian specific patches I
had to apply for each build.

I'll fix this asap, but until then

./configure --prefix=/usr/local --sysconfdir=/etc --localstatedir=/var/run

should be enough to get you going on rev 2023

-- 
  
  Paul Stevens  paul at nfg.nl
  NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
  The Netherlandshttp://www.nfg.nl


[Dbmail-dev] rev 2022 : incorrect dbmail.h

2006-03-10 Thread Oleg Lapshin

Hello

revision 2022 generates incorrect dbmail.h:

#define DEFAULT_PID_DIR ${prefix}/var/run
#define DEFAULT_CONFIG_FILE ${prefix}/etc/dbmail.conf
#define DEFAULT_LOG_FILE @localstate@/log/dbmail.log
#define DEFAULT_ERROR_LOG @localstate@/log/dbmail.err

(variables haven't expanded)

-- 
Oleg Lapshin