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

Jesus Rodriguez jesusr at voztele.com
Tue Jan 15 22:40:31 UTC 2008


Hi Bogdan,


> I made a fix on SVN trunk. Instead of removing "mysql/" from the C  
> include directive (which may lead to some ambiguity in file names),  
> I preferred to remove the "/mysql" from the compile include path...
>
> I will ask as many people as possible to test this and see if there  
> are any problems, as we will need to do a backport, but not before  
> being 100% it is ok.


Great!, thanks for the fix.

By the way, will you create a new 1.3.0 tarball once the fix is  
backported or do i keep the local patch for the FreeBSD port?. The  
main problem is that 1.3.0 mysql module will not compile by default on  
any FreeBSD before the fix.

Saludos
JesusR.



> Jesus Rodriguez wrote:
>> Hi Bogdan,
>>
>>
>>> 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 .......
>>
>>
>> Could you take a look on this?. I'm waiting to commit the 1.3.0  
>> port on FreeBSD cvs until we can fix this.
>>
>> Thanks.
>>
>> Saludos
>> JesusR.
>>
>>
>>
>>
>>
>>> 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
>>>>
>>>>
>>>
>>>
>>
>>
>>
>>
>>
>> Saludos
>> JesusR.
>>
>> ------------------------------------
>> Jesus Rodriguez
>> VozTelecom Sistemas, S.L.
>> jesusr at voztele.com
>> http://www.voztele.com
>> Tel. 902360305
>> -------------------------------------
>>
>>
>>
>>
>>
>
>





Saludos
JesusR.

------------------------------------
Jesus Rodriguez
VozTelecom Sistemas, S.L.
jesusr at voztele.com
http://www.voztele.com
Tel. 902360305
-------------------------------------







More information about the Devel mailing list