[prev in list] [next in list] [prev in thread] [next in thread]
List: proftpd-users
Subject: Re: [Proftpd-user] Header problem with mod_sql_mysql.c
From: TJ Saunders <tj () castaglia ! org>
Date: 2007-01-17 18:41:53
Message-ID: Pine.LNX.4.58.0701171200100.31667 () mercury ! skynetbb ! com
[Download RAW message or body]
> 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 <mysql.h>
> +#include <mysql/mysql.h>
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?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
ProFTPD Users List <proftpd-users@proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic