> cc -DHAVE_CONFIG_H -DFREEBSD6_2 -DFREEBSD6 -I.. -I../include -I/usr/local/include -I/include -O2 -fno-strict-aliasing -pipe -Wall -c
> mod_sql_mysql.c
> mod_sql_mysql.c:138:19: mysql.h: No such file or directory
> mod_sql_mysql.c:164: error: syntax error before "MYSQL"
>
> The following patch is added before build:
>
> ---------------------------------------------------
> --- contrib/mod_sql_mysql.c.orig Tue Dec 12 19:52:15 2006
> +++ contrib/mod_sql_mysql.c Tue Dec 12 20:02:56 2006
> @@ -135,7 +135,7 @@
> #include "conf.h"
> #include "../contrib/mod_sql.h"
>
> -#include
> +#include


Don't do that; see:

http://bugs.proftpd.org/show_bug.cgi?id=1849

The usual way of addressing this is to use a proper --with-includes
configure option, e.g.:

--with-includes=/usr/local/mysql/include/

TJ

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Histories make men wise; poets, witty; the mathematics, subtle; natural
philosophy, deep; moral, grave; logic and rhetoric, able to contend.

-Francis Bacon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html