> Sean, > > I can't get vpopmail.pm to compile. Here are the warnings: > > vpopmail.c: In function `XS_vpopmail_vauth_user': > vpopmail.c:191: warning: assignment makes integer from pointer > without a cast > vpopmail.xs: In function `XS_vpopmail_vauth_getpw': > vpopmail.xs:115: warning: initialization from incompatible pointer type > vpopmail.xs: In function `XS_vpopmail_vauth_getall': > vpopmail.xs:185: warning: initialization from incompatible pointer type > > It compiles, but make test fails here: > > t/03_vlistusers.....NOK 1FAILED test 1 > Failed 1/1 tests, 0.00% okay > > > All other tests pass. I'm using mysql 3.23.43 and vpopmail-5.0 (with > maildirquota patch), and edited the Makefile.PL so that it looks like > this (just showing the middle part): > > 'NAME' => 'vpopmail', > 'VERSION_FROM' => 'vpopmail.pm', # finds $VERSION > 'LIBS' => ['-L/usr/local/mysql/lib/mysql -lmysqlclient -L/var/ > vpopmail/lib -lvpopmail'], # e.g., '-lm' > 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING' > 'INC' => '-I/var/vpopmail/include > -I/usr/local/mysql/include/mysql',
Sean, I recompiled vpopmail with cdb, and now vpopmail.pm works as expected (althought the warnings persist). Looks like vauth_getall (mysql) has some issues, but I can't figure them out yet. Anyway, vadmin is pretty cool. I'll try to put together some feedback. But it definitely works. -Bill
