I'm attempting to compile qmailadmin 1.2.0 against vpopmail 5.4.0 with the following configure statement:

./configure --prefix=/usr \
--enable-cgibindir=/var/www/qmailadmin/cgi-bin \
--with-htmllibdir=/usr/share/qmailadmin \
--enable-imagedir=/var/www/qmailadmin/htdocs/images \
--enable-htmldir=/htdocs \
--enable-cgipath=/cqi-bin/qmailadmin \
--enable-autoresponder-bin=/usr/bin/autorespond \
--enable-ezmlmdir=/usr/bin \
--enable-ezmlmidx=y \
--enable-domain-autofill \
--disable-ipauth \
--enable-vpopmaildir=/var/www/vpopmail


This gives the the post configure output of:

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


All looks good, but when I attempt to run "make", there is a /tmp/vpopmail being appended on the gcc line, so it fails to find the vpopmail includes and libs:

make all-am
make[1]: Entering directory `/usr/src/redhat/SOURCES/qmailadmin-1.2.0'
source='qmailadmin.c' object='qmailadmin.o' libtool=no \
depfile='.deps/qmailadmin.Po' tmpdepfile='.deps/qmailadmin.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -I. -I/tmp/vpopmail/var/www/vpopmail/include -I. -I. -I. -g -O2 -c `test -f 'qmailadmin.c' || echo './'`qmailadmin.c
qmailadmin.c:28:29: vpopmail_config.h: No such file or directory
qmailadmin.c:36:22: vpopmail.h: No such file or directory
qmailadmin.c:37:19: vauth.h: No such file or directory
qmailadmin.c:38:21: vlimits.h: No such file or directory
qmailadmin.c: In function `main':
qmailadmin.c:143: warning: assignment makes pointer from integer without a cast
qmailadmin.c:226: warning: assignment makes pointer from integer without a cast
qmailadmin.c:234: dereferencing pointer to incomplete type
qmailadmin.c:238: dereferencing pointer to incomplete type
qmailadmin.c: In function `init_globals':
qmailadmin.c:386: `VPOPMAIL_UMASK' undeclared (first use in this function)
qmailadmin.c:386: (Each undeclared identifier is reported only once
qmailadmin.c:386: for each function it appears in.)
/usr/include/sys/stat.h: At top level:
qmailadmin.c:73: storage size of `Limits' isn't known
make[1]: *** [qmailadmin.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/SOURCES/qmailadmin-1.2.0'
make: *** [all] Error 2



I was able to clean out /tmp/vpopmail from the Makefile manually and compile successfully. Can anyone point me to what is going wrong? Where is /tmp/vpopmail coming from? Why isn't my --enable-vpopmaildir=/var/www/vpopmail being honored?


Thanks,

Chris

Reply via email to