Have some problems when compiling the new version of sqwebmail-0.99. I use
mySQL auth via vpopmail-4.8.7.
---
gcc -I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -L/home/vpopmail/lib
-o authvchkpw modauthvchkpw.o libauthmod.a libauth.a
../md5/libmd5.a -lvpopmail -lm -lcrypt
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open':
/usr/src/vpopmail-4.8.7/vauth.c:59: undefined reference to `mysql_init'
/usr/src/vpopmail-4.8.7/vauth.c:61: undefined reference to
`mysql_real_connect'
/usr/src/vpopmail-4.8.7/vauth.c:63: undefined reference to
`mysql_real_connect'
/usr/src/vpopmail-4.8.7/vauth.c:70: undefined reference to `mysql_query'
/usr/src/vpopmail-4.8.7/vauth.c:75: undefined reference to
`mysql_store_result'
/usr/src/vpopmail-4.8.7/vauth.c:76: undefined reference to
`mysql_free_result'
/usr/src/vpopmail-4.8.7/vauth.c:77: undefined reference to `mysql_select_db'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function
`vauth_adddomain_size':
/usr/src/vpopmail-4.8.7/vauth.c:108: undefined reference to `mysql_query'
/usr/src/vpopmail-4.8.7/vauth.c:112: undefined reference to
`mysql_store_result'
/usr/src/vpopmail-4.8.7/vauth.c:113: undefined reference to
`mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_adduser_size':
/usr/src/vpopmail-4.8.7/vauth.c:174: undefined reference to `mysql_query'
/usr/src/vpopmail-4.8.7/vauth.c:177: undefined reference to `mysql_query'
/usr/src/vpopmail-4.8.7/vauth.c:187: undefined reference to
`mysql_store_result'
/usr/src/vpopmail-4.8.7/vauth.c:188: undefined reference to
`mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_getpw_size':
/usr/src/vpopmail-4.8.7/vauth.c:227: undefined reference to `mysql_query'
/usr/src/vpopmail-4.8.7/vauth.c:232: undefined reference to
`mysql_store_result'
/usr/src/vpopmail-4.8.7/vauth.c:247: undefined reference to
`mysql_fetch_row'
/usr/src/vpopmail-4.8.7/vauth.c:256: undefined reference to
`mysql_free_result'
/usr/src/vpopmail-4.8.7/vauth.c:259: undefined reference to
`mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function
`vauth_deldomain_size':
/usr/src/vpopmail-4.8.7/vauth.c:283: undefined reference to `mysql_query'
/usr/src/vpopmail-4.8.7/vauth.c:286: undefined reference to
`mysql_store_result'
/usr/src/vpopmail-4.8.7/vauth.c:287: undefined reference to
`mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_deluser_size':
/usr/src/vpopmail-4.8.7/vauth.c:316: undefined reference to `mysql_query'
/usr/src/vpopmail-4.8.7/vauth.c:320: undefined reference to
`mysql_store_result'
/usr/src/vpopmail-4.8.7/vauth.c:321: undefined reference to
`mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function
`vauth_setquota_size':
/usr/src/vpopmail-4.8.7/vauth.c:347: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_vpasswd_size':
/usr/src/vpopmail-4.8.7/vauth.c:387: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_getall_size':
/usr/src/vpopmail-4.8.7/vauth.c:426: undefined reference to `mysql_query'
/usr/src/vpopmail-4.8.7/vauth.c:431: undefined reference to
`mysql_use_result'
/usr/src/vpopmail-4.8.7/vauth.c:443: undefined reference to
`mysql_fetch_row'
/usr/src/vpopmail-4.8.7/vauth.c:453: undefined reference to
`mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_setpw_size':
/usr/src/vpopmail-4.8.7/vauth.c:517: undefined reference to `mysql_query'
/usr/src/vpopmail-4.8.7/vauth.c:522: undefined reference to
`mysql_store_result'
/usr/src/vpopmail-4.8.7/vauth.c:523: undefined reference to
`mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vopen_smtp_relay':
/usr/src/vpopmail-4.8.7/vauth.c:548: undefined reference to `mysql_query'
/usr/src/vpopmail-4.8.7/vauth.c:554: undefined reference to `mysql_query'
/usr/src/vpopmail-4.8.7/vauth.c:558: undefined reference to
`mysql_store_result'
/usr/src/vpopmail-4.8.7/vauth.c:559: undefined reference to
`mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vupdate_rules':
/usr/src/vpopmail-4.8.7/vauth.c:566: undefined reference to `mysql_query'
/usr/src/vpopmail-4.8.7/vauth.c:569: undefined reference to `mysql_query'
/usr/src/vpopmail-4.8.7/vauth.c:574: undefined reference to
`mysql_use_result'
/usr/src/vpopmail-4.8.7/vauth.c:581: undefined reference to
`mysql_fetch_row'
/usr/src/vpopmail-4.8.7/vauth.c:582: undefined reference to
`mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclear_open_smtp':
/usr/src/vpopmail-4.8.7/vauth.c:595: undefined reference to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function
`vcreate_relay_table':
/usr/src/vpopmail-4.8.7/vauth.c:604: undefined reference to `mysql_query'
/usr/src/vpopmail-4.8.7/vauth.c:608: undefined reference to
`mysql_store_result'
/usr/src/vpopmail-4.8.7/vauth.c:609: undefined reference to
`mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclose':
/usr/src/vpopmail-4.8.7/vauth.c:621: undefined reference to `mysql_close'
collect2: ld returned 1 exit status
make[1]: *** [authvchkpw] Error 1
make[1]: Leaving directory `/usr/src/sqwebmail-0.99/authlib'
make: *** [all-recursive] Error 1
---
>From authlib/config.log
---
cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:594: checking for a BSD compatible install
configure:647: checking whether build environment is sane
configure:704: checking whether make sets ${MAKE}
configure:743: checking for working aclocal
configure:756: checking for working autoconf
configure:769: checking for working automake
configure:782: checking for working autoheader
configure:795: checking for working makeinfo
configure:817: checking for gawk
configure:849: checking for gcc
configure:962: checking whether the C compiler (gcc ) works
configure:978: gcc -o conftest conftest.c 1>&5
configure:1004: checking whether the C compiler (gcc ) is a cross-compiler
configure:1009: checking whether we are using GNU C
configure:1037: checking whether gcc accepts -g
configure:1069: checking how to run the C preprocessor
configure:1160: checking for a BSD compatible install
configure:1213: checking whether ln -s works
configure:1236: checking for ranlib
configure:1268: checking for perl5
configure:1319: checking for setgroups
configure:1319: checking for initgroups
configure:1409: checking whether -lm is needed for floor
configure:1422: gcc -o conftest -g -O2 -Wall -I.. -I./.. conftest.c 1>&5
/tmp/ccGP4PcX.o: In function `main':
/usr/src/sqwebmail-0.99/authlib/configure:1418: undefined reference to
`floor'
collect2: ld returned 1 exit status
configure: failed program was:
#line 1411 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char floor();
int main() {
floor()
; return 0; }
configure:1520: checking whether -lnsl is needed for inet_addr
configure:1533: gcc -o conftest -g -O2 -Wall -I.. -I./.. conftest.c 1>&5
configure:1568: checking whether -lsocket is needed for socket
configure:1581: gcc -o conftest -g -O2 -Wall -I.. -I./.. conftest.c 1>&5
configure:1983: checking for ldap.h
configure:1983: checking for lber.h
configure:1983: checking for syslog.h
configure:2028: checking for ber_scanf in -llber
configure:2068: checking for ldap_open in -lldap
configure:2108: checking for ldap_search_st
configure:2231: checking for shadow.h
configure:2270: checking for getspent in -lshadow
configure:2312: checking for getspent
configure:2755: checking for ANSI C header files
configure:2859: checking for sys/wait.h that is POSIX.1 compatible
configure:2904: checking for sys/stat.h
configure:2904: checking for sys/time.h
configure:2904: checking for sys/wait.h
configure:2904: checking for unistd.h
configure:2904: checking for fcntl.h
configure:2904: checking for crypt.h
configure:2942: checking for working const
configure:3017: checking for pid_t
configure:3050: checking for uid_t in sys/types.h
configure:3086: checking for crypt in -lcrypt
configure:3128: checking for crypt
configure:3180: checking for crypt() prototype
---
--
--------------------------------------------
IDG New Media Einar Bordewich
Technical Manager Phone: +47 2336 1420
E-Mail: [EMAIL PROTECTED]
--------------------------------------------
----- Original Message -----
From: "Sam Varshavchik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 30, 2000 4:38 AM
Subject: Sqwebmail 0.99 released.
> This release adds mail filtering -- the webmail interface can be used to
> specify rules to automatically sort incoming mail into folders.
>
> Filtering requires that the maildrop mail filter must be installed first,
> because filtering is implemented by the webmail CGI generating a maildrop
> filtering recipe.
>
> A completely rewritten authmysql module is also included, as well as
> several bug fixes.
>
> Download:
>
> http://download.sourceforge.net/courier/sqwebmail-0.99.tar.gz
>
> --
> Sam
>
>