Do it this way:
chown -R vpopmail.vchkpw <theqmailadminsrcdir>
cd <theqmailadminsrcdir>
su vpopmail
make clean
./configure --enable-cgibindir=/var/www/cgi-bin \
--with-htmllibdir=/usr/local/share/qmailadmin \
--enable-htmldir=/usr/local/share/qmailadmin \
--enable-vpopuser=vpopmail \
--enable-vpopmaildir=/home/vpopmail \
--enable-ezmlmdir=/usr/local/bin/ezmlm \
--enable-maxpopusers=-1 \
--enable-maxforwards=-1 \
--enable-maxautoresponders=0 \
--enable-qmaildir=/var/qmail \
--enable-autoresponder-bin=/usr/local/bin \
--enable-maxaliases=-1 \
--enable-ezmlmidx=y
make
exit
make install-strip
Basically its configure and make as the user, install as root.
If you get any problems, try to run the configure line with the variables
set in front:
env LIBS="-L/home/vpopmail/lib -lvpopmail -L/usr/lib/mysql -lmysqlclient"
DEFS="/home/vpopmail/include" ./configure \
.
.
This is my configure options for qmailadmin:
./configure \
--enable-cgibindir=/usr/local/httpd/mailadmin/cgi-bin/ \
--enable-htmldir=/usr/local/httpd/mailadmin/htdocs/ \
--with-htmllibdir=/usr/local/share/qmailadmin \
--enable-ezmlmidx=y
and yes, it puts the images in the <htmldir>/images/qmailadmin
I rater use the .qmailadmin-limits file for setting the limits, rater than
setting it globaly in the configure options, but then again thats my option.
BTW, setting the LIBS and DEFS variables before running configure, you can
also do this with sqwebmail if problems during make.
Hope this helps!
--
--------------------------------------------
IDG New Media Einar Bordewich
Development Manager Phone: +47 2336 1420
E-Mail: eibo(at)newmedia.no
Lat: 59.91144 N Lon: 10.76097 E
--------------------------------------------
----- Original Message -----
From: "Francis P. Ling" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2001 8:51 AM
Subject: Re: Changing Password, Some Progress ...
> I've tried using root to compile but now I really get some errors:
>
> make all-recursive
> make[1]: Entering directory `/download/mail-setup/qmailadmin-0.42'
> make[2]: Entering directory `/download/mail-setup/qmailadmin-0.42'
> gcc -I. -g -O2 -c qmailadmin.c
> qmailadmin.c:30:22: vpopmail.h: No such file or directory
> qmailadmin.c:31:19: vauth.h: No such file or directory
> make[2]: *** [qmailadmin.o] Error 1
> make[2]: Leaving directory `/download/mail-setup/qmailadmin-0.42'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/download/mail-setup/qmailadmin-0.42'
> make: *** [all-recursive-am] Error 2
>
>
> My configure lines are:
>
> ./configure --enable-cgibindir=/var/www/cgi-bin \
> --with-htmllibdir=/usr/local/share/qmailadmin \
> --enable-htmldir=/usr/local/share/qmailadmin \
> --enable-vpopuser=vpopmail \
> --enable-vpopmaildir=/home/vpopmail \
> --enable-ezmlmdir=/usr/local/bin/ezmlm \
> --enable-maxpopusers=-1 \
> --enable-maxforwards=-1 \
> --enable-maxautoresponders=0 \
> --enable-qmaildir=/var/qmail \
> --enable-autoresponder-bin=/usr/local/bin \
> --enable-maxaliases=-1 \
> --enable-ezmlmidx=y
>
>
>