January 30, 2006

 Error compiling Exim for @Mail

Question: When installing @Mail the Exim SMTP server fails compiling with the error message:

mysql.c:33:49: error: mysql.h: No such file or directory
mysql.c:41: error: syntax error before 'MYSQL'
mysql.c:41: warning: no semicolon at end of struct or union
mysql.c:42: warning: data definition has no type or storage class
mysql.c:44: error: syntax error before '*' token
mysql.c:44: warning: data definition has no type or storage class
mysql.c: In function 'mysql_tidy':
mysql.c:71: error: 'cn' undeclared (first use in this function)
mysql.c:71: error: (Each undeclared identifier is reported only once
mysql.c:71: error: for each function it appears in.)
mysql.c: In function 'perform_mysql_search':
mysql.c:108: error: 'MYSQL' undeclared (first use in this function)
mysql.c:108: error: 'mysql_handle' undeclared (first use in this function)
mysql.c:109: error: 'MYSQL_RES' undeclared (first use in this function)
mysql.c:109: error: 'mysql_result' undeclared (first use in this function)
mysql.c:110: error: 'MYSQL_ROW' undeclared (first use in this function)
mysql.c:110: error: syntax error before 'mysql_row_data'
mysql.c:111: error: 'MYSQL_FIELD' undeclared (first use in this function)
mysql.c:111: error: 'fields' undeclared (first use in this function)
mysql.c:119: error: 'cn' undeclared (first use in this function)
mysql.c:205: warning: comparison between pointer and integer
mysql.c:273: error: 'mysql_row_data' undeclared (first use in this function)

What is the solution to the compile error?

Answer: The mysql-devel package is missing from your system ( the libmysqlclient library and mysql header files )

As a solution:

1: Download the mysql-devel package from the mysql.com website, and install for your system

2: Or install the mysql-devel/libmysqlclient package for your Linux distro.


Filed under: Installation — Ben Duncan @ 12:49 am

 

January 25, 2006

 pop before send

The current policy of pop before send does not work very well. It only allows people to send email out an hour from the FIRST time they pop in. This can be fix tho with a simple change to the addrelay function in Log.pm.Change the following: (more...)


Filed under: Customization — info @ 4:31 pm