遇到 no such file to load -- mkmf 这个错误的解决办法》的相关内容

[求助]Ubuntu Dapper从源码安装ruby-1.8.5-p2成功,但rubygems 0.9.0安装出错

具体报错信息如下: /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- zlib (LoadError)         from /usr/loca ...
by sean_gao 2006-12-28 浏览 (6060) 回复 (22) 关键字:

关于ruby mysql库安装的问题.

环境:Win XPSP2,ruby 1.8.6,mysql-ruby-2.7.3.tar.gz 安装时执行下面两个命令: ruby extconf.rb ruby extconf.rb --with-mysql-dir=D:/MySQL5 --with-mysql-include=D:/MySQL5/include --with-mysql-lib=D:/MySQL5/lib 皆报错误(mysql ...
by s00n 2007-04-15 浏览 (1432) 回复 (3) 关键字:

ruby 安装路径被改变了,GEM不能用了怎么办?

我的RUBY以前是装在/home/myuser/lib/ruby-1.8.6下的。这个/home是从一个服务器上mount过来的,但是那个服务器有一天坏了,我的home就移(copy)到了本机的/myhome下,这样ruby的安装路径变成了/myhome/myuser/lib/ruby-1.8.6。我用which ruby得到的也是这个路径。 虽然ruby还能用,但是我发现gem install ...
by cncba 2008-03-19 浏览 (525) 回复 (9) 关键字:

Rails Linux安装配置全集

最近在railscn的群里面总是看到很多朋友希望在linux里面安装rails缺不得其法,我将自己的安装笔记整理了下,包括ubuntu通用安装系列(ruby, ror, mysql, other plugins, etc),apache/mongrel安装,mysql拷贝备份,以及附带的cvs与ftp安装配置。也希望其他朋友有更好的做法能在本贴下留言,解决新手们此类问题。 转发本帖或引用文档,请 ...
by huangye177 2007-04-11 浏览 (3151) 回复 (3) 关键字:

linux下安装ruby的mysql库

运行以下代码安装ruby的mysql库: sudo gem install mysql 结果报以下错误: Building native extensions. This could take a while... ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError) ERROR: Fa ...
by hideto 2007-04-06 浏览 (795) 回复 (0) 关键字: ruby mysql

no such file to load -- mkmf

在 Debian 这样有强大的包管理系统的发行版里面,通常会有许多地方和已有的插件管理系统有重叠,例如 Ruby 的扩展(gem)、Firefox 的扩展等等,用哪个管理系统就是仁者见仁了。全部都用系统提供的管理系统当然保证了统一性,更加方便。但是特定的管理系统通常更全更新。例如 Ruby 的话,安装扩展的时候我通常都是通过 gem 直接从 RubyForge 上安装的。 如果 Ruby 本 ...
by wxmfly 2008-09-02 浏览 (99) 回复 (0) 关键字: ferret

do_mysql problem

引用martin@martin-laptop:~/$ sudo gem install data_objects do_sqlite3 do_mysql dm-core dm-more ..... ..... Building native extensions.  This could take a while... ERROR:  Error installing do_m ...
by xxj 2008-06-05 浏览 (249) 回复 (0) 关键字: merb do_mysql

solution for installing mysql lib under ubuntu

I've reinstalled my computer  with ubuntu,and i had to reconfiguration  my environment ,but when i  was installing mysql lib sudo gem install mysql -r an error occured Building nativ ...
by xxj 2006-10-10 浏览 (753) 回复 (0) 关键字: ruby rails gcc ubuntu

一些编译问题的个人记录

1、RoR安装mysql驱动问题的解决方法 错误提示: checking for mysql_query() in -lmysqlclient... *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or hea ...
by freespace 2006-12-14 浏览 (589) 回复 (0) 关键字:

D语言的红黑树的添加和删除操作,谁能教教我怎么从上倒下一次遍历完成的算法

module dstl.drbtree; private import std.stdio; private import dstl.dfreelist; private enum rb { red = 0 , block} private enum lr { left = 0,right = 1,none = 2} public class rbTreeNode(T) { T ...
by myyxm 2007-12-29 浏览 (403) 回复 (1)

Rails2.1中的新东西之二: Gem Dependencies

Ryan Daigle发布了一系列关于rails2.1中新特性的文章.这里是这个系列中的一篇. rails的plugin机制的杰出是有很多理由的,其中一个是使用plugin可以获得额外的功能但不用依赖工程外部的东西,因为他们和你的工程是打包到一起的.但是直到最近,并没有好得 方法来管理一个rails工程对gem的依赖,所以我们不得不使用自己的策略. 但rails新的版本中使用了一个很好的办法 ...
by luoye6401531 2008-05-23 浏览 (1352) 回复 (6) 关键字: rails2.1

rubygems 1.1.1发布了

rubygems 发布了1.1.1版本,这个版本修复了很多bug: 引用     * Gem.prefix now returns non-nil only when RubyGems was installed outside sitelibdir or libdir.     * The gem server gem list no ...
by robbin 2008-04-13 浏览 (645) 回复 (0) 关键字: rubygems

使用遗传算法对Ruby1.8 1.9,JRuby和Rubinius测试的结果

这个星期我使用charlie(一个遗传算法库)和重写的TSP范例来测试Ruby1.8, Ruby 1.9, JRuby和Rubinius(Ruby虚拟机)。测试结果让人吃惊,数据如下: Ruby 1.8 (MRI): $ time ruby tsp_solver.rb real 0m34.940s user 0m34.398s sys 0m0.125s Ruby 1.9 : $ time ru ...
by QQbyte 2008-04-26 浏览 (1022) 回复 (5) 关键字:

相关问答

赞助商链接