It didn't help, exactly same errors.

The 'export' didn't work on csh shell, but i think
setenv CPPFLAGS "-I/usr/local/include/mysql" and
setenv LDFLAGS "-L/usr/local/lib/mysql" did the same thing.
They appeared ok to Makefile after ./configure.

I search the web and find more info, and added this:
setenv LIBS "-L/usr/local/lib/mysql -lmysqlclient
-L/usr/home/vpopmail/lib"

After that i got different compile errors, like:

checking for lockf... (cached) yes
checking for locking method... configure: error: --with-locking-method 
option required
configure: error: ./configure failed for liblock
ns1#

5 hours and nothing, any other ideas ? I see this is really common
problem, asked many times at bulletin boards, but no clear solution to
this ?

/Kimmo Hedman









On Mon, 26 Feb 2001, Sam Varshavchik wrote:

> On Mon, 26 Feb 2001, Kimmo wrote:
> 
> > Hi, im installing first time sqwebmail and getting compile-errors. I'm
> > using http://matt.simerson.net/computing/qmail.toaster.shtml instructions.
> > _______________________
> > FreeBSD4.2
> > vpopmail4.9.8 (source)
> > mysql-3.23.30 ,also i tried mysql-3.22.32 (freebsd ports collection)
> > SqWebMail1.2.4 (source)
> > -----------------------
> >
> > ns1#./configure --with-cachedir --enable-webpass=vpopmail
> > --with-module=authvchkpw --enable-https --enable-logincache --without-authmysql
> >
> > ns1#make configure-check
> >
> > ns1#make check
> >
> > .......
> > /usr/home/vpopmail/lib/libvpopmail.a(vauth.o): In function
> > `vdel_dir_control':
> > /usr/local/src/vpopmail4.9.8/vpopmail-4.9.8/vauth.c(.text+0x1596): undefined
> > ref
> > erence to `mysql_query'
> 
> The following documentation is also applicable to sqwebmail, and you will
> find some of the information here useful:
> 
> http://www.inter7.com/courierimap/FAQ.html#libs
> 
> 
> 

Reply via email to