Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: Thorne45 on November 23, 2007, 02:56:29 AM
-
Hi
Does anyone have a howto on installing DSPAM?
Thanks
Thorne
-
Hi Thorne,
I am working on getting DSPAM installed at the moment and once I have it working I will post a HOWTO. Have you got anywhere with it??
I am currently a little stuck on gettting it to find libmysqlclient. When executing the following command...
# ./configure \
--sysconfdir=/etc \
--with-dspam-home=/var/lib/dspam \
--with-logdir=/var/log/dspam \
--with-storage-driver=mysql_drv \
--enable-daemon \
--enable-virtual-users \
--enable-preferences-extension \
--enable-long-usernames \
--with-dspam-owner=root \
--with-dspam-group=root \
--enable-clamav \
--with-mysql-libraries=/usr/lib/mysql
I receive this....
(code above removed)
# checking where to find MySQL headers... compiler default paths
# checking mysql.h usability... no
# checking mysql.h presence... no
# checking for mysql.h... no
# configure: error: Required version of libmysqlclient not found
I have established that I need to include
# --with-mysql-includes=/path/to/mysql/includes
into my ./configure comand but I don't know where the MySQL Includes Directory is located because /usr/include/mysql does not exist. If anybody could help me with this, it would be great.
Thanks in advance for your help.
Kit Norriss
-
Kit,
the parameter should be "/usr/include/mysql" and content to work with can be achieved by installing the mysql-devel. I guess you know enough now to round it up. I was able to get thru the configure entirely this way.
checking where to find MySQL headers... /usr/include/mysql
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking for library containing gzopen... -lz
checking where to find MySQL libraries... /usr/lib/mysql
Harro
-
What tables need to be configured in MYSQL? I've been trying to link into MYSQL but keep getting "access denied"
I'm slightly out of my depth I suspect and the DSPAM documentation I can find is a bit vague.
Thanks
Thorne