> Hello All,
>   I'm compiling vpopmail-5.3.29 with mysql 4.0.16, and I gor this
>   error message during make:
>
> 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: error: 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: error: parse error before "mysql_read_getall"

That means that vpopmail cant locate your mysql installation

You will need to help vpopmail by using the following configure switches

  --enable-incdir=<the path to your mysql inc dir>
  --enable-libdir=<the path to your mysql lib dir>

eg


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

Michael.


Reply via email to