I am attempting to install merb, and like alot of people, I am running
into a strange error when installing the do_mysql gem. I have been
combing the posts, and I dont see anything that is real similar to
this one. Any help is greatly appreciated! The install error is as
reads below;

macbox:/ my_user$ sudo gem install do_mysql
Password:
Building native extensions.  This could take a while...
ERROR:  Error installing do_mysql:
        ERROR: Failed to build gem native extension.

/usr/local/bin/ruby extconf.rb install do_mysql
checking for mysql.h... yes
checking for main() in -lmysqlclient... yes
checking for mysql_query()... yes
checking for mysql_ssl_set()... yes
creating Makefile

make
gcc -I. -I. -I/usr/local/lib/ruby/1.8/powerpc-darwin8.11.0 -I. -
DHAVE_MYSQL_H -DHAVE_MYSQL_QUERY -DHAVE_MYSQL_SSL_SET  -I/usr/local/
mysql/include -Os -arch ppc -fno-common -fno-common -D_XOPEN_SOURCE=1
-fno-common -pipe -fno-common -Wall   -c do_mysql_ext.c
do_mysql_ext.c: In function 'infer_ruby_type':
do_mysql_ext.c:90: error: 'MYSQL_TYPE_BIT' undeclared (first use in
this function)
do_mysql_ext.c:90: error: (Each undeclared identifier is reported only
once
do_mysql_ext.c:90: error: for each function it appears in.)
do_mysql_ext.c:100: error: 'MYSQL_TYPE_NEWDECIMAL' undeclared (first
use in this function)
do_mysql_ext.c: In function 'cConnection_initialize':
do_mysql_ext.c:499: error: 'MYSQL_OPT_RECONNECT' undeclared (first use
in this function)
make: *** [do_mysql_ext.o] Error 1


Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/
do_mysql-0.9.11 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/do_mysql-0.9.11/
ext/do_mysql_ext/gem_make.out


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to