I know this has come up before but I searched my emails and searched the archives and can't find a solution.
I am trying to compile sqwebmail 1.0 on FreeBSD 4.0. I have
vpopmail-4.8.9, and when I do a make I get the following errors:/home/vpopmail/lib/libvpopmail.a(vauth.o):
In function `vupdate_rules':
/home/scott/src/vpopmail-4.8.9/vauth.c:566: undefined reference to
`mysql_query'/home/scott/src/vpopmail-4.8.9/vauth.c:569: undefined reference
to `mysql_query'/home/scott/src/vpopmail-4.8.9/vauth.c:574: undefined reference
to `mysql_use_result'
/home/scott/src/vpopmail-4.8.9/vauth.c:581: undefined reference to
`mysql_fetch_row'
/home/scott/src/vpopmail-4.8.9/vauth.c:582: undefined reference to
`mysql_free_result'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vclear_open_smtp':
/home/scott/src/vpopmail-4.8.9/vauth.c(.text+0xf76): undefined reference
to `mysql_query'
/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vcreate_relay_tabl
A whole slew of them. I know I need to add some flags to a couple of the Makefiles but can't find it. the path to my Mysql libs is /usr/local/mysql/lib/mysql
my configure line was:
bash-2.03# ./configure --prefix=/usr/local/quickmail --target=quickmail.quickhosts.com
--with-modules=authvchkpw --with-cachedir=/var/run/sqwebmail-quickmail
--with-cacheowner=vpopmail --enable-webpass=vpopmail --enable-hardtimeout=7200
--enable-softtimeout=7200 --enable-autopurge=1 --enable-maxpurge=30 --enable-cgibindir=/usr/local/apache/quickmail-cgi-bin
--with-ispell=/usr/local/bin/ispell --enable-bannerprog=/usr/local/bin/banner
Any help greatly appreciated!
-- Thanks, Scott Ramshaw Quickhosts.com Phone: 800-601-9767 Fax: 413-643-8545
