- xml - AJAX/Jquery XML 解析
- 具有多重继承的 XML 模式
- .net - 枚举序列化 Json 与 XML
- XML 简单类型、简单内容、复杂类型、复杂内容
这是在尝试安装 Ruby 2.0 时出现的错误
Error running 'make -j2',
please read /usr/local/rvm/log/ruby-2.0.0-p247/1372532765_make.log
There has been an error while running make. Halting the installation.
我尝试按照这些步骤操作但没有成功:Can't install Ruby 2.0.0-p0 with RVM. Error running 'make -j8'
如有任何帮助,我们将不胜感激。我不知道该怎么办...
这是日志:
[2013-06-29 15:06:05] make
CC = clang
LD = ld
LDSHARED = clang -dynamiclib
CFLAGS = -O3 -I/opt/sm/pkg/active/include -fno-common -pipe
XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin12.3.0 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -install_name /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/libruby.2.0.0.dylib -current_version 2.0.0 -compatibility_version 2.0.0 -fstack-protector -Wl,-u,_objc_msgSend -fstack-protector -Wl,-u,_objc_msgSend
SOLIBS =
linking miniruby
generating encdb.h
rbconfig.rb updated
generating enc.mk
encdb.h unchanged
generating prelude.c
making srcs under enc
make[1]: Nothing to be done for `srcs'.
generating transdb.h
compiling prelude.c
linking static-library libruby.2.0.0-static.a
verifying static-library libruby.2.0.0-static.a
transdb.h unchanged
linking shared-library libruby.2.0.0.dylib
making enc
making trans
make[1]: Nothing to be done for `enc'.
generating makefile exts.mk
make[1]: Nothing to be done for `./enc/trans'.
making encs
configuring -test-/array/resize
configuring -test-/bug-3571
configuring -test-/bug-3662
configuring -test-/bug-5832
configuring -test-/debug
configuring -test-/exception
configuring -test-/fatal
configuring -test-/funcall
configuring -test-/iter
configuring -test-/load/dot.dot
configuring -test-/marshal/compat
configuring -test-/marshal/usr
configuring -test-/method
configuring -test-/num2int
configuring -test-/old_thread_select
configuring -test-/path_to_class
configuring -test-/printf
configuring -test-/st/numhash
configuring -test-/st/update
configuring -test-/string
configuring -test-/symbol
configuring -test-/typeddata
configuring -test-/wait_for_single_fd
configuring -test-/win32/dln
Failed to configure -test-/win32/dln. It will not be installed.
configuring -test-/win32/fd_setsize
Failed to configure -test-/win32/fd_setsize. It will not be installed.
configuring bigdecimal
configuring continuation
configuring coverage
configuring curses
header: ncurses.h
library: ncursesw
configuring date
configuring dbm
header: ndbm.h
library: libc
configuring digest
configuring digest/bubblebabble
configuring digest/md5
configuring digest/rmd160
configuring digest/sha1
configuring digest/sha2
configuring dl
configuring dl/callback
configuring dl/win32
Failed to configure dl/win32. It will not be installed.
configuring etc
configuring fcntl
configuring fiber
configuring fiddle
configuring fiddle/win32
Failed to configure fiddle/win32. It will not be installed.
configuring gdbm
Failed to configure gdbm. It will not be installed.
configuring io/console
configuring io/nonblock
configuring io/wait
configuring json
configuring json/generator
configuring json/parser
configuring mathn/complex
configuring mathn/rational
configuring nkf
configuring objspace
configuring openssl
configuring pathname
configuring psych
configuring pty
configuring racc/cparse
configuring readline
configuring ripper
configuring sdbm
configuring socket
configuring stringio
configuring strscan
configuring syslog
configuring tk/tkutil
Failed to configure tk/tkutil. It will not be installed.
configuring win32ole
Failed to configure win32ole. It will not be installed.
configuring zlib
linking shared-object -test-/array/resize.bundle
linking shared-object -test-/bug-3571/bug.bundle
installing default bug libraries
installing default resize libraries
linking shared-object -test-/bug-5832/bug.bundle
linking shared-object -test-/bug-3662/bug.bundle
installing default bug libraries
installing default bug libraries
linking shared-object -test-/debug.bundle
linking shared-object -test-/exception.bundle
installing default exception libraries
installing default debug libraries
linking shared-object -test-/fatal/rb_fatal.bundle
linking shared-object -test-/funcall/funcall.bundle
installing default funcall libraries
installing default rb_fatal libraries
linking shared-object -test-/iter/break.bundle
linking shared-object -test-/load/dot.dot/dot.dot.bundle
installing default break libraries
installing default dot.dot libraries
linking shared-object -test-/marshal/usr.bundle
linking shared-object -test-/marshal/compat.bundle
installing default compat libraries
installing default usr libraries
linking shared-object -test-/num2int/num2int.bundle
linking shared-object -test-/method.bundle
installing default method libraries
installing default num2int libraries
linking shared-object -test-/path_to_class/path_to_class.bundle
linking shared-object -test-/old_thread_select/old_thread_select.bundle
installing default path_to_class libraries
installing default old_thread_select libraries
linking shared-object -test-/printf.bundle
linking shared-object -test-/st/numhash.bundle
installing default printf libraries
installing default numhash libraries
linking shared-object -test-/st/update.bundle
linking shared-object -test-/string/string.bundle
installing default update libraries
linking shared-object -test-/symbol/symbol.bundle
installing default string libraries
linking shared-object -test-/typeddata/typeddata.bundle
installing default symbol libraries
installing default typeddata libraries
linking shared-object -test-/wait_for_single_fd/wait_for_single_fd.bundle
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
linking shared-object bigdecimal.bundle
installing default wait_for_single_fd libraries
linking shared-object continuation.bundle
installing default bigdecimal libraries
linking shared-object coverage.bundle
installing default continuation libraries
linking shared-object curses.bundle
installing default coverage libraries
installing default curses libraries
linking shared-object date_core.bundle
linking shared-object dbm.bundle
installing default dbm libraries
installing default date_core libraries
linking shared-object digest.bundle
linking shared-object digest/bubblebabble.bundle
installing digest libraries
installing default digest libraries
installing default bubblebabble libraries
linking shared-object digest/md5.bundle
linking shared-object digest/rmd160.bundle
installing default rmd160 libraries
installing default md5 libraries
linking shared-object digest/sha1.bundle
linking shared-object digest/sha2.bundle
installing default sha1 libraries
installing default sha2 libraries
linking shared-object dl/callback.bundle
linking shared-object dl.bundle
installing dl libraries
installing default dl libraries
make[2]: Nothing to be done for `all'.
installing default callback libraries
linking shared-object etc.bundle
linking shared-object fcntl.bundle
installing default etc libraries
linking shared-object fiber.bundle
installing default fcntl libraries
linking shared-object fiddle.bundle
installing default fiber libraries
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
installing default fiddle libraries
linking shared-object io/console.bundle
linking shared-object io/nonblock.bundle
installing default console libraries
installing default nonblock libraries
linking shared-object io/wait.bundle
installing default libraries
linking shared-object json/ext/generator.bundle
installing default wait libraries
linking shared-object json/ext/parser.bundle
installing default generator libraries
installing default parser libraries
linking shared-object mathn/complex.bundle
linking shared-object mathn/rational.bundle
installing default complex libraries
installing default rational libraries
linking shared-object nkf.bundle
linking shared-object objspace.bundle
installing default objspace libraries
compiling openssl_missing.c
installing default nkf libraries
linking shared-object pathname.bundle
installing default pathname libraries
linking shared-object psych.bundle
In file included from openssl_missing.c:22:
./openssl_missing.h:71:6: error: conflicting types for 'HMAC_CTX_copy'
void HMAC_CTX_copy(HMAC_CTX *out, HMAC_CTX *in);
^
/opt/sm/pkg/active/include/openssl/hmac.h:102:5: note: previous declaration is here
int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
^
In file included from openssl_missing.c:22:
./openssl_missing.h:95:5: error: conflicting types for 'EVP_CIPHER_CTX_copy'
int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, EVP_CIPHER_CTX *in);
^
/opt/sm/pkg/active/include/openssl/evp.h:502:5: note: previous declaration is here
int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in);
^
openssl_missing.c:26:1: error: conflicting types for 'HMAC_CTX_copy'
HMAC_CTX_copy(HMAC_CTX *out, HMAC_CTX *in)
^
/opt/sm/pkg/active/include/openssl/hmac.h:102:5: note: previous declaration is here
int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
^
openssl_missing.c:121:1: error: conflicting types for 'EVP_CIPHER_CTX_copy'
EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, EVP_CIPHER_CTX *in)
^
/opt/sm/pkg/active/include/openssl/evp.h:502:5: note: previous declaration is here
int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in);
^
4 errors generated.
make[2]: *** [openssl_missing.o] Error 1
make[1]: *** [ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....
installing default psych libraries
make: *** [build-ext] Error 2
最佳答案
花了很多时间试图找到答案并环顾四周,这似乎行得通
CC=clang rvm install 2.0.0 -C --enable-shared, --with-openssl-dir=`brew --prefix openssl`
关于ruby - 运行 rvm install ruby-2.0.0-p247 时运行错误 'make -j2',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17383853/
关于strcat函数。 while (*p) p++; 和 while (*++p) ; 两者都有效,但是 while (*p++) ; 不起作用。我认为 first 和 th
" in HTML?(HTML中的““是什么
?)
下面例子中的第一行代码是什么。我看到一个YouTuber在写下面的代码,它显示了一个设计在csswar Challenges中。我也尝试了一下,它很管用。但我以前从未在任何HTML教程上看到过它,我在
vs.
是不间断空格,表示没有换行的空白处。 如果我用 我在两个段落之间有一个空格(更大的间隔)。如果我使用 我在两个段落之间只有一个新行(没有中断)。为什么? 最佳答案 在 HTML 中
这个问题已经有答案了: Why are these constructs using pre and post-increment undefined behavior? (14 个回答) 已关闭 9
我对编程还很陌生,只是想知道为什么这段代码: for ( ; *p; ++p) *p = tolower(*p); 当 p 指向一个字符串时,可以降低 c 中字符串的大小写吗? 最佳答案 一般来说,这
代码 int n = 25; int *p = &n; printf("%x\n %d\n %x\n", p, p[0], p[1]); 返回: \ 当然我永远不会这样做,但在 K&R 中声明
所以,我想创建一个简单的程序,返回有关连续素数的计算结果。首先,我创建一个包含所有这些素数的列表,然后尝试计算结果,但这给了我一个超出范围的索引。有人可以帮助我吗?我的程序: primes = []
这个问题在这里已经有了答案: With arrays, why is it the case that a[5] == 5[a]? (20 个答案) 关闭 9 年前。 我想知道 C/C++ 中以下四
我仍在努力理解 *p、&p 和 p 之间的区别。根据我的理解,* 可以被认为是“指向的值”,而 & 可以被认为是“地址”。换句话说,* 保存值,而 & 保存地址。如果这是真的,那么 *p 和 p 之间
你是吗? [xxxrecipientFirstNamexxx]
和你是吗? {recipientFirstName}
需要更换 你是吗? [xxxrecipientFirstNamexxx] 和 你是吗? {recipientFirstName} 。我尝试使用边界匹配器。但结果并不符合预期。我尝试使用下面的代码 "A
我想按 IsTop 属性升序排序对象,然后按 JobId 属性降序排序: query = query.OrderBy(p => p.IsTop).ThenOrderByDescending(p =
在我尝试使用 Apache POI 进行转换的 Excel 文件中,我有一个单元格的数值为 -3.97819466831428,自定义格式为“0.0 p.p.;(0.0 p.p.)”。因此,在 Exc
我想创建一个扩展方法,允许我调用 ToSerializableDictionary(p => p.ID)而不是 .ToDictionary(p => p.ID)在以下 LINQ 上下文中。虽然我不确定
在下面的 HTML 代码上运行此 jQuery 代码会返回不同的结果,我认为它们应该返回相同的值。 jQuery 代码: var counter = 0; $("p").each(function()
在下面的代码片段中,符号 *p 等同于 p[0],*(p + 1) 等同于p[1],依此类推。 int* p = new int[3] { 1, 2, 3}; cout << *p << ' ' <<
这个问题在这里已经有了答案: What will happen when I call a member function on a NULL object pointer? [duplicate]
这个问题在这里已经有了答案: 关闭 10 年前。 Possible Duplicate: Undefined Behavior and Sequence Points 按照标准中的定义,E1 +=
" in HTML?(在HTML中“
以下示例中的第一行代码是什么。我看到一个youtube用户写下面的代码,它显示在cssbattle挑战的设计。我也试过,它的作品。但我从来没有见过它在任何HTML教程之前,我在谷歌上搜索它,但它只显示
每当我收到来自 MS outlook 的电子邮件时,我都会收到此标记 & nbsp ; (没有空格)哪个显示为?在 <>. 当我将其更改为 ISO-8859-1 时,浏览器页面字符集编码为 UTF-8
p1
TESTp2
代码: from bs4 import BeautifulSoup soup = BeautifulSoup('p1TESTp2') print soup.div() 结果: [p1, p2] 为什么
我是一名优秀的程序员,十分优秀!