[Rails] Image upload problems

Jarkko Laine jarkko at jlaine.net
Wed Jan 5 09:19:10 GMT 2005


On 5.1.2005, at 03:53, Tobias Luetke wrote:

> Its the mysql ruby driver and its fixed in the 0.9.3
>
> you should do gem update to get the latest rails and then gem install
> mysql to get the native c based mysql extensions which are faster.

I get this when trying to install the mysql driver:

Jarkko-Laines-Computer:~/ jarkko$ sudo gem install mysql
Attempting local installation of 'mysql'
Local gem file not found: mysql*.gem
Attempting remote installation of 'mysql'
Building native extensions.  This could take a while...
ERROR:  While executing gem ... (RuntimeError)
     ERROR: Failed to build gem native extension.
Gem files will remain installed in 
/usr/local/lib/ruby/gems/1.8/gems/mysql-2.5.1 for inspection.
   ruby extconf.rb install mysql\nchecking for mysql_query() in 
-lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... yes
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... no


Results logged to 
/usr/local/lib/ruby/gems/1.8/gems/mysql-2.5.1/gem_make.out


Any ideas what's causing this?

//jarkko


--
Jarkko Laine
http://jlaine.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2363 bytes
Desc: not available
Url : http://one.textdrive.com/pipermail/rails/attachments/20050105/ef280e1b/smime.bin


More information about the Rails mailing list