Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#10862 closed defect (fixed)

BUG: rb-mysql-2.7.1 fails to build against mysql-5.024a — at Version 3

Reported by: mrgibson@… Owned by: yeled@…
Priority: High Milestone:
Component: ports Version:
Keywords: rb-mysql Cc: markd@…, jberry@…
Port:

Description (last modified by jberry@…)

Build failure:

--->  Building rb-mysql with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_ruby_rb-mysql/work/mysql-ruby-2.7.1" && make all RUBY="/opt/local/bin/ruby -rvendor-specific"" returned error 2
Command output: gcc -I. -I. -I/opt/local/lib/ruby/1.8/powerpc-darwin8.7.0 -I. -DHAVE_MYSQL_SSL_SET -DHAVE_MYSQL_MYSQL_H -I/opt/local/include/mysql5 -I/usr/local/include -O -pipe -I/opt/local/include -fno-common -O -pipe -I/opt/local/include  -fno-common -pipe -fno-common  -c mysql.c
mysql.c: In function `Init_mysql':
mysql.c:2015: error: `ulong' undeclared (first use in this function)
mysql.c:2015: error: (Each undeclared identifier is reported only once
mysql.c:2015: error: for each function it appears in.)
mysql.c:2015: error: parse error before numeric constant
mysql.c:2018: error: parse error before numeric constant
make: *** [mysql.o] Error 1

Error: Status 1 encountered during processing.

Change History (3)

comment:1 Changed 18 years ago by markd@…

Cc: markd@… jberry@… added
Summary: rb-mysql fails to buildBUG: rb-mysql-2.7.1 fails to build against mysql-5.024a

This is caused by a bug in mysql-50.24a. http://bugs.mysql.com/bug.php?id=22227

The workaround specifies using a my_global.h, but I can't find one on my disk. It has been fixed in 5.0.26 so whenever that gets updated it should fix rb-mysql too.

comment:2 Changed 18 years ago by jberry@…

Resolution: fixed
Status: newclosed

Upgraded mysql5 --> 5.0.26, which should resolve this. r20029.

comment:3 Changed 18 years ago by jberry@…

Description: modified (diff)

Better formatting of console output.

Note: See TracTickets for help on using tickets.