I altered the line in authlib/Makefile to read
LDFLAGS = -L/home/vpopmail/lib -lvpopmail -L/usr/local/mysql/lib/mysql
-lmysqlclient
That worked, but failed on something else unrelated.
At that point I gave up and installed squirrelmail. (www.squirrelmail.org)
Maybe update your authlib/preauthvchkpw.c
with this file
http://www.inter7.com/vpopmail/preauthvchkpw.c
Any one know if that would help?
Regards,
Kieran Barnes
Signum 1226 Ltd
Use our Web site at... http://www.1226.net
Phone us on... 01772 622889
Fax us on... 01772 622558
> -----Original Message-----
> From: Qmail [mailto:[EMAIL PROTECTED]]
> Sent: 06 June 2001 01:24
> To: '[EMAIL PROTECTED]'
> Subject: RE: sqwebmail configure loops
>
>
> Still no dice:
> gcc -I/home/vpopmail/include -lmysqlclient -Wall -I.. -I./..
> -L/home/vpopmail/lib -L/usr/lib/mysql -o authvchkpw modauthvchkpw.o
> libauthmod.a libauth.a ../md5/libmd5.a ../sha1/libsha1.a
> -lvpopmail -lm
> -lcrypt
> .
> .
> .
>
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vwrite_dir_control':
> /root/vpopmail-4.10.14/vauth.c:1030: undefined reference to
> `mysql_query'
> /root/vpopmail-4.10.14/vauth.c:1034: undefined reference to
> `mysql_store_result'
> /root/vpopmail-4.10.14/vauth.c:1035: undefined reference to
> `mysql_free_result'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vcreate_dir_control':
> /root/vpopmail-4.10.14/vauth.c:1047: undefined reference to
> `mysql_query'
> /root/vpopmail-4.10.14/vauth.c:1052: undefined reference to
> `mysql_store_result'
> /root/vpopmail-4.10.14/vauth.c:1053: undefined reference to
> `mysql_free_result'
> /root/vpopmail-4.10.14/vauth.c:1071: undefined reference to
> `mysql_query'
> /root/vpopmail-4.10.14/vauth.c:1076: undefined reference to
> `mysql_store_result'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vdel_dir_control':
> /root/vpopmail-4.10.14/vauth.c:1088: undefined reference to
> `mysql_query'
> /root/vpopmail-4.10.14/vauth.c:1092: undefined reference to
> `mysql_store_result'
> /root/vpopmail-4.10.14/vauth.c:1093: undefined reference to
> `mysql_free_result'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vupdate_rules':
> /root/vpopmail-4.10.14/vauth.c:761: undefined reference to
> `mysql_free_result'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vcreate_dir_control':
> /root/vpopmail-4.10.14/vauth.c:1077: undefined reference to
> `mysql_free_result'
> collect2: ld returned 1 exit status
> make[1]: *** [authvchkpw] Error 1
> make[1]: Leaving directory `/usr/local/src/sqwebmail-2.1.0/authlib'
> make: *** [all-recursive] Error 1
> [root@fax sqwebmail-2.1.0]# pwd
> /usr/local/src/sqwebmail-2.1.0
>
> -----Original Message-----
> From: Raghu V Singh [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 1:06 PM
> To: Qmail
> Subject: RE: sqwebmail configure loops
>
>
>
> Instead of your home directory try compiling it in /usr/local/src/
>
> HTH
>
> RVS
>
> From:Qmail <[EMAIL PROTECTED]> on 06/05/2001 11:46 AM MST
>
> Sent by: Qmail <[EMAIL PROTECTED]>
>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> cc: (bcc: Raghu V Singh/rsingh1/LSU)
>
> Subject: RE: sqwebmail configure loops
>
>
>
> Ok,
>
> It did configure, of course...
>
> However, I have:
>
> CPPFLAGS="-I/usr/include/mysql"
> LDFLAGS="-L/usr/lib/mysql"
>
> Set and exported.
>
> But I still get:
>
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vupdate_rules':
> /root/vpopmail-4.10.14/vauth.c:761: undefined reference to
> `mysql_free_result'
> /home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> `vcreate_dir_control':
> /root/vpopmail-4.10.14/vauth.c:1077: undefined reference to
> `mysql_free_result
>
> And the like on "make".
>
>
>
> -----Original Message-----
> From: Ken Jones [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 10:50 AM
> To: [EMAIL PROTECTED]
> Subject: Re: sqwebmail configure loops
>
>
> It is not looping. It is running configure in a whole
> lot of directories. Just be patient. It will end.
>
> Ken
>
> Qmail writes:
>
> > Hi Folks,
> >
> > I'm trying to build sqwebmail-2.1.0.
> >
> > Unfortunately when I run: ./configure
> --with-htmllibdir=/var/www/html
> > --with-module=authvchkpw --enable-webpass=vpopmail
> --enable-webpass=yes
> >
> > The config process just loops, and loops, and loops. It never stops.
> >
> > I tried 2.0.0 as well, same problem.
> >
> > I'm running a pretty stock version of RH 7.1, and everything else
> configures
> > and compiles fine.
> >
> > Any tips?
> >
> > Lance
> >
> >
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>