When trying to emerge vpopmail 5.4.x builds i got a compilation error. It looks like it is searching for mysql.h and it is available in /usr/include/mysql. Reproducible: Always Steps to Reproduce: 1. emerge vpopmail Actual Results: vauth.c:33:19: mysql.h: No such file or directory vauth.c:40: error: syntax error before "mysql_update" vauth.c:40: warning: type defaults to `int' in declaration of `mysql_update' vauth.c:41: error: syntax error before "mysql_read_getall" vauth.c:41: warning: type defaults to `int' in declaration of `mysql_read_getall ' Expected Results: Compiled vpopmail :) Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7- gentoo-r11) ================================================================= System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) MP 1900+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-mp -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s hare/config /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/ domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-mp -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache apm arts avi berkdb crypt cups encode esd foomaticdb gd gdbm gif gpm gtk2 imap imlib innodb java jikes jpeg kde libg++ libwww mad maildir mikmod mmx motif mpeg mysql ncurses nls nocd odbc oggvorbis opengl oss pam pdflib perl png prelude python qt quicktime readline ruby sdl slang snmp spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
please try vpopmail-5.4.6.
Same problem with 5.4.6 and 5.4.6, but now i get the problem. I tried a little work that thing out... and discovered that when compiling, configure reports this: auth inc = -I/usr/local/include/mysql auth lib = -L/usr/local/lib/mysql -lmysqlclient -lz -lm but it should be /usr/include/mysql and /usr/lib/mysql If i look into the original vpopmail configure options, I can see this: --enable-incdir=DIR Your MySQL/Oracle 'include' directory. --enable-libdir=DIR Your MySQL/Oracle 'lib' directory. Looking closer at the .ebuild files i can see this: --enable-libs=/usr/include/mysql \ --enable-sqllibdir=/usr/lib/mysql \ Looks like these configure options have been renamed. When replacing these with : --enable-incdir=/usr/include/mysql \ --enable-libdir=/usr/lib/mysql \ Everythings compile successfully. It would be nice to apply these changes to the original .ebuild files. Thank you.
In CVS now. In future, please don't mark a bug as resolved+fixed until we have it in CVS. It might easily get lost and forgotten about as already done.