0
/usr/bin/gcc-4.2 -dynamic -bundle -o ../../.ext/x86_64-darwin11.3.0/tcltklib.bundle
stubs.o tcltklib.o -L. -L../.. -L/Users/jasonvdm/.rvm/usr/lib -  L/System/Library/Frameworks/Tcl.framework -L/System/Library/Frameworks/Tk.framework -L. -L/usr/local/lib   -lpthread -framework CoreFoundation  -F/System/Library/Frameworks -framework Tcl    -lpthread -framework CoreFoundation -framework Cocoa -framework Carbon -framework IOKit   -lpthread -framework CoreFoundation  -F/System/Library/Frameworks -framework Tk -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace  -lruby.1.9.1 -lm -ldl  -lpthread -ldl -lobjc 
ld: in /usr/local/lib/libxml2.2.dylib, file was built for unsupported file format which is not      the architecture being linked (x86_64) for architecture x86_64
collect2: ld returned 1 exit status
make[1]: *** [../../.ext/x86_64-darwin11.3.0/tcltklib.bundle] Error 1
make: *** [mkmain.sh] Error 1

メイクエラーが発生します:

Error running 'make', please read /Users/jasonvdm/.rvm/log/ruby-1.9.2-p320/make.log
There has been an error while running make. Halting the installation.

これは p180 でも同じです。readline とすべてを既にインストールしています。同様のエラーで 1.9.3 をインストールしようとしています。clang および readline フラグを使用してインストールしようとしましたが、何も機能しません。

これが私の主なエラーのようです:

ld: in /usr/local/lib/libxslt.1.dylib, file was built for unsupported file format which
is not the architecture being linked (x86_64) for architecture x86_64
4

1 に答える 1

0

OSXを使用していますか??
使用を試すことができます:

rvm install ruby-1.9.2-p320 --with-gcc=clang

または:

CC=/usr/local/bin/gcc-4.2 rvm install ruby-1.9.2-p320
于 2012-06-18T21:11:51.657 に答える