[vchkpw] Compiling errors

2003-11-17 Thread Ron Dyck
I'm trying to compiling vpopmail 5.3.29 with mysql 4.1.0 and I'm getting
 errors.

 Here's my configure:

 ./configure \
 --enable-roaming-users=y \
 --enable-logging=p \
 --enable-defaultquota=20971520S \
 --enable-ip-alias-domains=n \
 --enable-passwd=n \
 --enable-clear-passwd=y \
 --enable-domain-quotas=n \
 --enable-mysql=y \
 --enable-many-domains=n \
 --enable-auth-logging=y \
 --enable-mysql-logging=y \
 --enable-valias=y \
 --enable-incdir=/usr/local/mysql/include \
 --enable-libdir=/usr/local/mysql/lib

 And here are the errors on make:

 gcc -I. -I/usr/local/mysql/include  -I. -I. -I. -g -O2 -Wall -c
`test -f
 'vpopmail.c' || echo './'`vpopmail.c
 gcc -I. -I/usr/local/mysql/include  -I. -I. -I. -g -O2 -Wall -c
`test -f
 'md5.c' || echo './'`md5.c
 gcc -I. -I/usr/local/mysql/include  -I. -I. -I. -g -O2 -Wall -c
`test -f
 'bigdir.c' || echo './'`bigdir.c
 gcc -I. -I/usr/local/mysql/include  -I. -I. -I. -g -O2 -Wall -c
`test -f
 'vauth.c' || echo './'`vauth.c
 vauth.c:33:19: mysql.h: No such file or directory
 vauth.c:40: parse error before mysql_update
 vauth.c:40: warning: type defaults to `int' in declaration of
`mysql_update'
 vauth.c:40: warning: data definition has no type or storage class
 vauth.c:41: parse error before mysql_read_getall
 vauth.c:41: warning: type defaults to `int' in declaration of

*** multiple other errors ***

 make[2]: *** [vauth.o] Error 1
 make[2]: Leaving directory `/usr/src/qmail/vpopmail-5.3.29'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/usr/src/qmail/vpopmail-5.3.29'
 make: *** [all] Error 2

==
Ron Dyck
Webbtech
www.webbtech.net  --  [EMAIL PROTECTED]
==




Re: [vchkpw] Compiling errors

2003-11-17 Thread Ron Dyck
  I'm trying to compiling vpopmail 5.3.29 with mysql 4.1.0 and I'm getting
   errors.
   'vauth.c' || echo './'`vauth.c
   vauth.c:33:19: mysql.h: No such file or directory

 Either you do not have the libmysqlclient headers installed, or the
configure
 script is unable to find them.  If they are installed, configure --help
should
 tell you how to tell it where the headers live.

 - Erik



Path was incorrect.

I had this:

--enable-incdir=/usr/local/mysql/include \
--enable-libdir=/usr/local/mysql/lib

but it should have been:

--enable-incdir=/usr/local/mysql/include/mysql \
--enable-libdir=/usr/local/mysql/lib/mysql

thanks for the help

ron