[OpenSER-Devel] Problem with 1.3 mysql module and FreeBSD

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Dec 14 09:08:41 UTC 2007


Hi Jesus,

That is strange as also on linux the include dir is similarly reported:
$ mysql_config  --include
-I/usr/include/mysql

I will investigate a bit .......

Thanks and regards,
bogdan


Jesus Rodriguez wrote:
> Hello,
>
> While i was updating the FreeBSD port to 1.3 i found that mysql module  
> does not compile. The problem is that if autodetection of mysql client  
> configuration is used, the includes <mysql/xxxxx> are not found.
>
> Mysql module Makefile executes:
>
> root at wandabsd /var/tmp/openser-1.3.0-tls/modules/mysql]# mysql_config  
> --include
> -I/usr/local/include/mysql
>
>
> Now, for example at db_mode.c line 35 we have:
>
> #include <mysql/mysql.h>
>
>
> which means that mysql.h is not found as all the others include <mysql/ 
> xxxx>. By the moment i will solve this in the port setting  
> "CROSS_COMPILE=true" to avoid autodetection but i think that this  
> should be fixed and maybe a new source tarball created.
>
> Regards... and sorry for not testing a simple build on FreeBSD  
> before :-/
>
> Saludos
> JesusR.
>
> ------------------------------------
> Jesus Rodriguez
> VozTelecom Sistemas, S.L.
> jesusr at voztele.com
> http://www.voztele.com
> Tel. 902360305
> -------------------------------------
>
>
>
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/devel
>
>   




More information about the Devel mailing list