What looks like is happening here is that courier-imap is finding an old
version of vpopmail to link against (as detailed by it not finding any of
the functions that are apart of vpopmail 5.0 that are required by courier
imap 1.3.11)  Can you do a ~vpopmail/bin/vuserinfo -v just to make sure that
you're on version 5?  I'm thinking that as much as you think you're on v5,
you're not...  And yes, I use 1.3.11 on vpopmail 5 on all my servers.

Regards,

Tren.

-----Original Message-----
From: Roman Serbski [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 1:00 AM
To: [EMAIL PROTECTED]
Subject: courier-imap and "vpopmail too old" error (II)


Hi again :)

After checking *configure* script in
courier-imap-1.3.11.20011014/authlib directory I hope I found what was
the reason of error.
Take a look at lines 2949-2954:

if test -f ${vpopmail_home}/etc/lib_deps
then
                CFLAGS="'cat ${vpopmail_home}/etc/inc_deps' $CFLAGS"
                VPOPMAILLIBS="'cat ${vpopmail_home}/etc/lib_deps'"
else
                { echo "configure: error: vpopmail too old - upgrade" 1>&2; exit 1; }
fi

As I understood it tries to find ~vpopmail/etc/inc_deps and
~vpopmail/etc/lib_deps. Just curious, what is inc_deps and lib_deps? I
guess it has something to do with 4.9.x devel? Am I wrong?

What I did in order to run ./configure with no errors.
I checked configure script from old releases of Courier-IMAP and made
some changes.
First, I defined full path to vpopmail working directory and tried to
use old-style configure script:

# if test -f ${vpopmail_home}/etc/lib_deps
# then
                CFLAGS="-I/home/vpopmail/include $CFLAGS"
                VPOPMAILLIBS="-L/home/vpopmail/lib"
# else
#
        { echo "configure: error: vpopmail too old - upgrade" 1>&2; exit 1; }
# fi

OK, ./configure runs with NO errors, but "enemy is still at the gates"
:) - while running make I have another portion of errors:

Making all in authlib
gcc  -I/home/vpopmail/include -g -O2 -Wall -I.. -I./..  -o authvchkpw
modauthvchkpw.o libauthmod.a libauth.a ../md5/libmd5.a ../sha1/libsha1.a
-L/home/vpopmail/lib -lm -lcrypt
libauth.a(authvchkpw.o): In function `auth_vchkpw_changepass':
/usr/tmp/courier-imap-1.3.11.20011014/authlib/authvchkpw.c(.text+0x1ee):
undefined reference to `vget_assign'
/usr/tmp/courier-imap-1.3.11.20011014/authlib/authvchkpw.c(.text+0x1fe):
undefined reference to `vauth_getpw'
/usr/tmp/courier-imap-1.3.11.20011014/authlib/authvchkpw.c(.text+0x27d):
undefined reference to `vpasswd'
libauth.a(preauthvchkpw.o): In function `auth_vchkpw_pre':
/usr/tmp/courier-imap-1.3.11.20011014/authlib/preauthvchkpw.c(.text+0xa1):
undefined reference to `vget_assign'
/usr/tmp/courier-imap-1.3.11.20011014/authlib/preauthvchkpw.c(.text+0xb1):
undefined reference to `vauth_getpw'
/usr/tmp/courier-imap-1.3.11.20011014/authlib/preauthvchkpw.c(.text+0xe0):
undefined reference to `make_user_dir'
/usr/tmp/courier-imap-1.3.11.20011014/authlib/preauthvchkpw.c(.text+0xed):
undefined reference to `vauth_getpw'
/usr/tmp/courier-imap-1.3.11.20011014/authlib/preauthvchkpw.c(.text+0x103):
undefined reference to `vsqwebmail_pass'
/usr/tmp/courier-imap-1.3.11.20011014/authlib/preauthvchkpw.c(.text+0x117):
undefined reference to `vclose'
*** Error code 1

Stop in /usr/tmp/courier-imap-1.3.11.20011014/authlib.
*** Error code 1

Stop in /usr/tmp/courier-imap-1.3.11.20011014.

1) I tried to copy preauthvchkpw.c from
http://www.inter7.com/vpopmail/preauthvchkpw.c. Same error.
2) I tried to run "make" as root/regular user. No effect.
3) I changed permissions on /home/vpopmail/lib (755, libvpopmail.a -
644) as it was suggested by Tren. Still no success.

Anyone had any success with building Courier-IMAP 1.3.11 with Vpopmail
5.0? Or should we wait response from Mr. Sam? :)

Thank you very much.
Regards,
Roman


Reply via email to