On Feb 14, 2005, at 1:18 AM, Daniel Cańas wrote:

Hello,

I am installing on debian sarge with mysql. ./configure is not warning
me that I am not installing the libraries.

./configure didn't find my sql libraries

./configure \
--enable-roaming-users \
--enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
--disable-passwd \
--enable-relay-clear-minutes=60 \
--enable-ip-alias-domains \
--disable-domainquotas \
--enable-valias \
--enable-auth-module=mysql \
--enable-mysql-limits
............
checking whether an auth module has been specified... mysql
configure: error: Unable to find your MySQL lib dir, specify
--enable-libdir.
............

So I specified my lib dir and ran configure && make && make install
everything seemed to work fine, but the mysql table was not created.
I tried many different lib dirs and it turns out configure exits OK
with any directory that exists: Example:

./configure \
--enable-roaming-users \
--enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp \
--disable-passwd \
--enable-relay-clear-minutes=60 \
--enable-ip-alias-domains \
--disable-domainquotas \
--enable-valias \
--enable-auth-module=mysql \
--enable-mysql-limits \
--enable-libdir=/home/d/dcm/mail
&& echo $?
..................
auth inc = -I/usr/include/mysql
auth lib = -L/home/vpopmail  -lmysqlclient -lz -lm
..................
0
So it looks like vpopmail was not configured correctly, yet the make
and make install work... I am very confused.

By the way, where ARE the mysql libraries installed when by apt-get
libmysqlclient12-dev
I have tried /usr /usr/lib where they seem to be installed and it does
not work.


OK... After much work on this I realized ./configure was finding my mysql libraries as long as I assigned a valid directory to --enable-libdir.


The problem is the vpopmail.vpopmail table is not being created ( when should it be created, or do I do that manually? )
mysql is working... when I add a user to a domain using vadduser, the limits table gets created if not there, but the user is not because the table vpopmail.vpopmail does not exist.
I am using vpopmail 5.4.9




Reply via email to