From: Younes Baghor Date: 2010-09-21T05:36:27+09:00 Subject: Re: Problem install mysql Gem OS 10.6.4 Luis Lavena wrote: > On Sep 20, 1:46�pm, Younes Baghor wrote: >> > Leopard, Leopard and even Windows. >> >> > Please be more specific on what you mean by that. >> >> > It is clear from the mkmf.log output that either the wrong mysql or >> > the wrong compilation options are attempted to be feed into the >> > compile process. >> >> if it works with you can you tel me how for snowleopard. For you it is >> obvious but not for me > > How you installed MySQL? using binaries form dev.mysql.com or using > MacPorts (sudo port install mysql5?) > > If using ports, it should find the path automatically. If not and was > installed by binary packages, first you need to ensure the binaries > are in the same architecture your Ruby installation. > > After checking that, you need to ensure mysql_config or mysql5_config > is available in the path (using which). > > Then you can provide it to the gem installation process: > > gem install mysql -- --with-mysql-config=/path/to/mysql/bin/ > mysql_config Everybody thanks voor the help, also i have to apologize to all of you. Because i forgot that i had a clean install of OSX, So wen Luis wrote: "How you installed MySQL? " I remembered that i dident instlall MySql. Again i apologize Younes Baghor -- Posted via http://www.ruby-forum.com/.