Hi,

I am running a CentoS 5.3 i386 system and try to install qmailadmin
1.2.13 or the current CVS version.
I run ./configure :
./configure --enable-htmldir=/var/www/qmailadmin
--enable-imagedir=/var/www/qmailadmin/images
--enable-imageurl=/qmailadmin/images --enable-ezmlm-mysql=n
--enable-modify-quota

But I get an error on the make:

In file included from qmailadminx.h:19,
                 from mailinglist.c:31:
/home/vpopmail/include/vpopmail.h:148:1: warning: "MAX_FILE_NAME" redefined
In file included from mailinglist.c:30:
qmailadmin.h:24:1: warning: this is the location of the previous definition
if gcc -I. -I/home/vpopmail/include  -I. -I. -I.     -g -O2 -MT user.o
-MD -MP -MF ".deps/user.Tpo" \
          -c -o user.o `test -f 'user.c' || echo './'`user.c; \
        then mv ".deps/user.Tpo" ".deps/user.Po"; \
        else rm -f ".deps/user.Tpo"; exit 1; \
        fi
In file included from qmailadminx.h:19,
                 from user.c:37:
/home/vpopmail/include/vpopmail.h:148:1: warning: "MAX_FILE_NAME" redefined
In file included from user.c:36:
qmailadmin.h:24:1: warning: this is the location of the previous definition
user.c: In function ‘show_user_lines’:
user.c:139: warning: passing argument 3 of ‘readuserquota’ from
incompatible pointer type
user.c: In function ‘call_hooks’:
user.c:418: error: ‘VPOPMAILDIR’ undeclared (first use in this function)
user.c:418: error: (Each undeclared identifier is reported only once
user.c:418: error: for each function it appears in.)
user.c: In function ‘set_remote_catchall_now’:
user.c:527: error: ‘VPOPMAILDIR’ undeclared (first use in this function)
user.c: In function ‘bounceall’:
user.c:543: error: ‘VPOPMAILDIR’ undeclared (first use in this function)
user.c: In function ‘deleteall’:
user.c:559: error: ‘VPOPMAILDIR’ undeclared (first use in this function)
make[1]: *** [user.o] Error 1
make[1]: Leaving directory `/usr/local/lazydog/qmailadmin/qmailadmin'
make: *** [all] Error 2

I don't know how I can fix this error, I got the same error with the
older versions.
VPOPMAILDIR is defined in the Makefile:

vpopgroup = vchkpw
vpopmaildir = /home/vpopmail
vpopuser = vpopmail

What am I missing or doing wrong? :)

Kind regards,

Michiel


!DSPAM:4a644db832711627233624!

Reply via email to