Re: [vchkpw] Can't compile qmailadmin with vpopmail 5.5.0

2010-01-19 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

OVi C wrote:
> user.c: In function ‘call_hooks’:
> user.c:522: error: ‘VPOPMAILDIR’ undeclared (first use in this function)
> user.c:522: error: (Each undeclared identifier is reported only once
> user.c:522: error: for each function it appears in.)
> user.c: In function ‘set_qmaildefault’:
> user.c:627: error: ‘VPOPMAILDIR’ undeclared (first use in this function)
> make[1]: *** [user.o] Error 1
> make[1]: Leaving directory `/usr/local/src/qmailadmin-1.2.13'
> make: *** [all] Error 2
> 
> vpopmail compiles and installs just fine but qmailadmin is complaining
> about something. With previous version of vpopmail (5.4.30) everythings
> works fine. Any hints ??

You need the latest trunk from qmailadmin, which is meant to compile against
vpopmail 5.5.
- --
/*
Matt BrookingsGnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAktV4qQACgkQIwet2/rgZyyIEgCbB3DWWEgqheM9reoxzPB3FgrR
yCQAniQ4HKYFRrLwY9/+1KS/WWTyh/bs
=4JJ3
-END PGP SIGNATURE-


[vchkpw] Can't compile qmailadmin with vpopmail 5.5.0

2010-01-19 Thread OVi C
Hi!
I'm trying to compile qmailadmin with vpopmail 5.5.0 on Debian Testing and i
get the following error:
---
./configure --enable-htmldir=/var/www/htdocs --enable-vpopuser=vpopmail
--enable-vpopgroup=vchkpw --enable-ezmlmdir=/usr/local/bin/ezmlm
--enable-autoresponder-path=/usr/local/bin/
--enable-cgibindir=/usr/lib/cgi-bin --enable-domain-autofill
--enable-vpopmaildir=/home/vpopmail


checking for a BSD-compatible install... /usr/bin/install -c


checking whether build environment is sane... yes


checking for gawk... gawk


checking whether make sets $(MAKE)... yes


checking build system type... x86_64-unknown-linux-gnu


checking host system type... x86_64-unknown-linux-gnu


checking for gcc... gcc


checking for C compiler default output file name... a.out


checking whether the C compiler works... yes


checking whether we are cross compiling... no


checking for suffix of executables...


checking for suffix of object files... o


checking whether we are using the GNU C compiler... yes


checking whether gcc accepts -g... yes


checking for gcc option to accept ANSI C... none needed


checking for style of include used by make... GNU


checking dependency style of gcc... gcc3


checking how to run the C preprocessor... gcc -E


checking for a BSD-compatible install... /usr/bin/install -c


checking whether ln -s works... yes


checking whether make sets $(MAKE)... (cached) yes


checking for ranlib... ranlib


checking for strerror in -lcposix... no


checking for crypt in -lcrypt... yes


checking for crypt in -lshadow... no


checking for an ANSI C-conforming const... yes


checking for egrep... grep -E


checking for uid_t in sys/types.h... yes


checking for dirent.h that defines DIR... yes


checking for library containing opendir... none required


checking for ANSI C header files... yes


checking for sys/types.h... yes


checking for sys/stat.h... yes


checking for stdlib.h... yes


checking for string.h... yes


checking for memory.h... yes


checking for strings.h... yes


checking for inttypes.h... yes


checking for stdint.h... yes


checking for unistd.h... yes


checking whether closedir returns void... no


checking for dup2... yes


checking for memset... yes


checking for mkdir... yes


checking for strcasecmp... yes


checking for strchr... yes


checking for strdup... yes


checking for strncasecmp... yes


checking for strrchr... yes


checking for strstr... yes


checking whether we should prohibit caching... no


checking whether to require ip authentication... yes


checking whether to display user index... yes


checking whether to allow admins to modify user quotas... no


checking whether to autofill domain name on login page... yes


checking whether to enable catchall accounts... yes


checking whether to enable trivial password... yes


checking whether to append the email to the end of the spam command... no


checking whether to allow spam check enable/disable... no


checking whether to show help pages... no


checking for ezmlm-idx... yes


configure: creating ./config.status


config.status: creating Makefile


config.status: creating config.h


config.status: config.h is unchanged


config.status: executing depfiles commands



qmailadmin 1.2.13
Current settings
---
   cgi-bin dir = /usr/lib/cgi-bin
  html dir = /var/www/htdocs
 image dir = /var/www/htdocs/images/qmailadmin
 image URL = /images/qmailadmin
  template dir = /usr/local/share/qmailadmin
 qmail dir = /var/qmail
  vpopmail dir = /home/vpopmail
   autorespond dir = /usr/local/bin/
 ezmlm dir = /usr/local/bin/ezmlm
 ezmlm idx = yes
   mysql for ezmlm = yes
  help = no
  modify quota = no
   domain autofill = yes
 catchall accounts = yes
 trivial passwords = yes
 modify spam check = no

/usr/local/src/qmailadmin-1.2.13# make
make  all-am
make[1]: Entering directory `/usr/local/src/qmailadmin-1.2.13'
source='qmailadmin.c' object='qmailadmin.o' libtool=no \
depfile='.deps/qmailadmin.Po' tmpdepfile='.deps/qmailadmin.TPo' \
depmode=gcc3 /bin/bash ./depcomp \
gcc -I. -I/home/vpopmail/include  -I. -I. -I. -g -O2 -Wall -c
`test -f 'qmailadmin.c' || echo './'`qmailadmin.c
In file included from qmailadmin.c:48:
qmailadmin.h:37:1: warning: "MAX_FILE_NAME" redefined
In file included from qmailadmin.c:35:
/home/vpopmail/include/vpopmail.h:149:1: warning: this is the location of
the previous definition
source='alias.c' object='alias.o' libtool=no \
depfile='.deps/alias.Po' tmpdepfile='.deps/alias.TPo' \
depmode=gcc3 /bin/bash

[vchkpw] Can't compile qmailadmin with vpopmail 5.5.0

2010-01-19 Thread Ovi C
Hi!
I'm trying to compile qmailadmin with vpopmail 5.5.0 on Debian Testing and i 
get the following error:
---
./configure
--enable-htmldir=/var/www/htdocs --enable-vpopuser=vpopmail
--enable-vpopgroup=vchkpw --enable-ezmlmdir=/usr/local/bin/ezmlm
--enable-autoresponder-path=/usr/local/bin/
--enable-cgibindir=/usr/lib/cgi-bin --enable-domain-autofill
--enable-vpopmaildir=/home/vpopmail
   
  
checking
for a BSD-compatible install... /usr/bin/install -c
   

checking whether build environment is sane... yes   
 
checking
for gawk... gawk  
   
 
checking whether make sets $(MAKE)... yes   
 
checking
build system type... x86_64-unknown-linux-gnu  
   

checking host system type... x86_64-unknown-linux-gnu  
   
 
checking for gcc... gcc
   
 
checking for C compiler
default output file name... a.out  
 
checking whether the C compiler works... yes
   

checking whether we are cross
compiling... no
   
checking for suffix of executables...   
 
checking for suffix of object files... o
 
checking whether we are using the GNU C compiler... yes 
 
checking
whether gcc accepts -g... yes  
   

checking for gcc option to accept ANSI C... none needed 
 
checking
for style of include used by make... GNU  
   
 
checking dependency style of gcc... gcc3
 
checking how to run the C preprocessor... gcc -E
 
checking
for a BSD-compatible install... /usr/bin/install -c
   

checking whether ln -s works... yes
   
 
checking
whether make sets $(MAKE)... (cached) yes  
   

checking for ranlib... ranlib  
   
 
checking for strerror in
-lcposix... no
 
checking for crypt in -lcrypt... yes  
   
  
checking for crypt in
-lshadow... no

checking for an ANSI C-conforming const... yes  
   

checking for egrep... grep -E  
   
 
checking for uid_t in sys/types.h... yes