One tequila, two tequila, three tequila, floor.
Installing EZMLM-IDX on Debian
This time I started with the qmailrocks package. It doesn't include the last idx patch, but at least compiled successfully!
In case the ezmlm-mktab contains the following text:
This is the standard database version. You do not need to create any separate database.
it obviously means that you don't have compiled mysql support in ezmlm.
In order to activate the MySQL support, several steps are needed (not mentioned in the instructions!)
- Make sure you have libmysqlclient15-dev package (or the most resent available)
- check sub_mysql/conf-sqlcc and sub_mysql/conf-sqlld files
- run 'make mysql' before make && make setup
- In case you get the following error:
opensql.c: In function 'opensql':
opensql.c:95: error: lvalue required as left operand of assignment
opensql.c:99: warning: return discards qualifiers from pointer target type
You need to make the following patch:
if (!((MYSQL *)psql = mysql_init((MYSQL *) 0)))
if (!(psql = (void *)mysql_init((MYSQL *) 0)))