So I'm finally tryiing to upgrade from 0.34 to 0.99, and I'm running
into the following problem:
gcc -DHAVE_CONFIG_H -I. -I. -I. -I~vpopmail/include -g -O2 -Wall
-I.. -I./.. -c preauthvchkpw.c
preauthvchkpw.c:19: vpopmail.h: No such file or directory
preauthvchkpw.c:20: vauth.h: No such file or directory
In file included from preauthvchkpw.c:21:
vpopmail_config.h:1: ~vpopmail/include/config.h: No such file or
directory
make[1]: *** [preauthvchkpw.o] Error 1
make[1]: Leaving directory `/usr/local/src/sqwebmail-0.99/authlib'
make: *** [all-recursive] Error 1
My configure string is:
./configure \
--with-htmllibdir=/home/httpd/htdocs/sqwebmail \
--enable-cgibindir=/home/httpd/cgi-bin \
--enable-imagedir=/home/httpd/icons \
--enable-imageurl=/icons/ \
--enable-webpass=vpopmail \
--with-authvchkpw \
--without-authpwd \
--without-authshadow \
--without-authpam \
--without-authuserdb \
--without-authmysql \
--without-authldap \
--without-authdaemon \
--enable-webpass=no \
--enable-mimetypes=/home/httpd/conf/mime.types \
--with-cachedir=/home/vpopmail/webcache \
--with-cacheowner=vpopmail
This is on solaris 2.6, compiling against vpopmail 4.8.7, using gnu
make and gcc.
Now, what's odd here is a couple of things:
1. ~vpopmail/include/config.h most certainly does exist, and is
world-readable.
2. vpopmail.h and vauth.h also exist, and are in ~vpopmail/include as
one would expect.
3. If I change the #include patchs in preauthvchkpw.c to explicitly
reference the paths to vpopmail.h and vauth.h, and similarly change
the path to config.h in vpopmail_config.h, it fails later, with a
different error:
gcc -I~vpopmail/include -g -O2 -Wall -I.. -I./.. -L~vpopmail/lib -o
authvchkpw modauthvchkpw.o libauthmod.a libauth.a ../md5/libmd5.a
-lvpopmail -lm -lcrypt
libauth.a(preauthvchkpw.o): In function `auth_vchkpw_pre':
/usr/local/src/sqwebmail-0.99/authlib/preauthvchkpw.c:75: undefined
reference to `vclose'
collect2: ld returned 1 exit status
make: *** [authvchkpw] Error 1
...which is really odd, since vclose is most certainly defined in
~vpopmail/include/vauth.h and ~vpopmail/lib/libvpopmail.a
Am I missing something obvious here?
-n
------------------------------------------------------------<[EMAIL PROTECTED]>
Toward the end of my career in porn, I reached a point where what I saw every
day didn't affect me anymore. Not because I was desensitized or had lost my
compassion -- I think it was actually the opposite. I began to see just the
people, without judgment, without trying to make any sense out of it. I
stopped thinking the actors had to be damaged to do what they did. They were
having sex for a living, instead of working in a bank. The bank thing
probably takes it's own kind of toll. I wouldn't know. (--Barbara Nitke)
<http://www.blank.org/memory/>------------------------------------------------