Problem building ruby-mysql


(Martin Stannard) #1

I’m getting this error when trying to build ruby-mysql on Mandrake 8.2:

[martin@co3013842-a mysql-ruby-2.4.2a]$ ruby extconf.rb
checking for mysql_query() in -lmysqlclient… yes
checking for mysql.h… no
checking for mysql/mysql.h… yes
creating Makefile
[martin@co3013842-a mysql-ruby-2.4.2a]$ make
gcc -fPIC -g -O2 -I. -I/usr/local/lib/ruby/1.7/i686-linux -I.
-DHAVE_MYSQL_MYSQL_H -I/usr/local/include -c mysql.c
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See URL:https://qa.mandrakesoft.com/ for instructions.
make: *** [mysql.o] Error 1

Any clues?

Martin