查看: 1939|回复: 6

[已经过期] 我又来纠结了……

[复制链接]

傻♂逼

梦石
0
星屑
374
在线时间
1606 小时
注册时间
2007-3-13
回帖
6005

烫烫烫开拓者

发表于 2011-6-3 10:18:37 | 显示全部楼层 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有账号?注册会员

×
C:\DevKit>gem install curb
Building native extensions.  This could take a while...
ERROR:  Error installing curb:
        ERROR: Failed to build gem native extension.

C:/Ruby192/bin/ruby.exe extconf.rb
checking for curl-config... no
checking for main() in -lcurl... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=C:/Ruby192/bin/ruby
        --with-curl-dir
        --without-curl-dir
        --with-curl-include
        --without-curl-include=${curl-dir}/include
        --with-curl-lib
        --without-curl-lib=${curl-dir}/lib
        --with-curllib
        --without-curllib
extconf.rb:23:in `<main>':   Can't find libcurl or curl/curl.h (RuntimeError)

  Try passing --with-curl-dir or --with-curl-lib and --with-curl-include
  options to extconf.


Gem files will remain installed in C:/Ruby192/lib/ruby/gems/1.9.1/gems/curb-0.7.
15 for inspection.
Results logged to C:/Ruby192/lib/ruby/gems/1.9.1/gems/curb-0.7.15/ext/gem_make.o
ut

C:\DevKit>

点评

为啥 Ruby.exe 的 extconf.rb 的<main>出问题会跟 curl.h RuntimeError 有关?(我没有装Ruby.exe= =)  发表于 2011-6-3 18:20
哎呀,蛋疼什么的最有爱了
梦石
0
星屑
50
在线时间
40 小时
注册时间
2008-8-31
回帖
476

贵宾

发表于 2011-6-3 11:31:50 | 显示全部楼层
完全看不懂,     
      人去已镂空  今时不同往日
回复

使用道具 举报

追从自然的旅行者
奇特空·煦

梦石
0
星屑
107
在线时间
1387 小时
注册时间
2010-12-31
回帖
4794

开拓者贵宾

发表于 2011-6-3 11:43:05 | 显示全部楼层
羊狒狒总是会定期发一些只有很少一部分人能看懂的东西喵~
回复

使用道具 举报

梦石
0
星屑
239
在线时间
2399 小时
注册时间
2008-4-11
回帖
11727

贵宾第6届短篇游戏比赛季军

发表于 2011-6-3 17:01:13 | 显示全部楼层
不是羊狒狒,是痒肥肥
回复

使用道具 举报

梦石
0
星屑
310
在线时间
953 小时
注册时间
2007-4-25
回帖
798
发表于 2011-6-3 20:45:40 | 显示全部楼层
不是痒肥肥,是杨飞凤……

http://rubygems.org/gems/curl

Curl 依赖于:
awesome_print >= 0.2.1
unidecoder >= 1.1.1

点评

OpenGl呢?  发表于 2011-6-3 21:11
su@rpg.blue:~> repeat 1 fortune
Matz is nice, so we are nice.
回复

使用道具 举报

战国美少年森兰丸

梦石
0
星屑
204
在线时间
852 小时
注册时间
2008-7-20
回帖
3560
发表于 2011-6-3 22:27:26 | 显示全部楼层
不是杨飞凤,是杨菲菲~
回复

使用道具 举报

反伸手党斗士

梦石
0
星屑
91
在线时间
1128 小时
注册时间
2009-9-10
回帖
2407

贵宾

发表于 2011-6-3 23:31:31 来自手机 | 显示全部楼层
ls几位还真是创意无极限……
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部