[MacRuby-devel] failing to build mysql gem

Laurent Sansonetti lsansonetti at apple.com
Sun May 23 01:02:51 PDT 2010


Hi Joel,

Indeed, we noticed that problem too. The plan for 0.7 is to clean out our public headers so that the true symbol is no longer pre-defined. Feel free to file a ticket if you want to track that issue.

In the meantime I'm afraid you will have to change the code manually, as you already did...

Laurent

On May 22, 2010, at 6:48 PM, Joel Reymont wrote:

> mysql-gem does not install with mysql-5.1.47 because ext/mysql_api/mysql.c:878 has this code:
> 
> 	my_bool true = 1;
> 
> Unfortunately, 'true' is defined as 1 so you end up with
> 
> 	my_bool 1 = 1;
> 
> which is an error. 
> 
> I fixed the issue in my local mysql-gem directory but for the life of me can't figure out how to make that into a proper gem and install it. Help!
> 
> 	Thanks, Joel
> 
> ---
> http://twitter.com/wagerlabs
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list