------art_19322_5091857.1113866256414
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hello.
Im having a problem when trying to compile extensions for ruby.
I has happened with sqlite3-ruby and mysql-ruby.
In mysql-ruby when I try to run the command:
ruby extconf.rb
I get the following results:
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lsocket... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lnsl... no
checking for mysql_query() in -lmysqlclient... 

After running the command again with the options
--with-mysql-include-dir=/usr/include --with-mysql-lib-dir=/usr/lib

I get the same errors.
After looking at the the mkmf.log file
I saw the following error:
"gcc -o conftest
-I/home/giovanni/downloads/ruby/mysql-ruby-2.5.2-I/usr/lib/ruby/1.8/i686-linux
-I/usr/local/include -O2 -march=i686
-mtune=i686 -fPIC conftest.c -L'/usr/local/lib' -Wl,-R'/usr/local/lib' 
-L'/usr/lib' -Wl,-R'/usr/lib' -lruby-static -lmysqlclient -lpthread -ldl 
-lcrypt -lm -lc"

cc1: error: invalid option `tune=i686'

What it's causing this error? 

My plattaform is Slackware Linux 10.1 on a Athlon XP 1800 processor.

Thanks in advance.
-- 
Giovanni Degani
tiefox / gmail.com
ICQ 965609

------art_19322_5091857.1113866256414--