you need to install mysql-server mysql-client AND mysql-devel
If you use the defaults, your --enable-incdir=/usr/include/mysql and your --enable-libdir=/usr/lib/mysql
without those being correct, vauth.c can't include the file mysql.h from /usr/include/mysql - and therefore all the functions referring to mysql will fail - obviously thats bad.