2013-02-04 1 views
1

컴파일러 및 링커/옵션을 찾고 있기 때문에 내가RVM 설치 REE는/옵션에 대한 엑스 코드와 산 사자에/지역 보이는 -하지만 난 MacPorts를에게없는

rvm install ree 

와 루비 REE를 설치할 수 없습니다입니다 /노동 조합 지부./opt/local에있는 것은 MacPorts를 사용하지 않기 때문에 X11입니다.

https://github.com/kennethreitz/osx-gcc-installer이 아닌 XCode 명령 줄 도구로 C/C++ 컴파일러를 설치했습니다. (. 내가 나에게 가능한 엑스 코드를 원하고 그들이 호환되지 않기 때문에)

로그를 설치 RVM의 지역/옵션 /의 첫 번째 기준은 다음과 같습니다

make PREINCFLAGS='-I/opt/local/include' PRELIBS='-L/opt/local/lib -Wl,-rpath,/Users/brian/.rvm/rubies/ree-1.8.7-2012.02/lib -L/Users/brian/.rvm/rubies/ree-1.8.7-2012.02/lib -lsystem_allocator' 

거기에서 내가 파일에 대한 많은 오류를 얻을 그것/opt/local/include 및/opt/local/lib에서 찾을 수 없습니다 (해당 디렉토리가 내 시스템에 없으므로).

설치 프로그램이/opt/local에 헤더 파일이나 libs를 찾을 수 있다고 생각하지 않습니다. 올바른 위치를 찾는 방법을 알아낼 수도 없습니다. 여기

내 GNU C++ 및 C 컴파일러입니다 : 나는 브루를 사용

/usr/bin$ ll g+* gcc* 
lrwxr-xr-x 1 root wheel 12 Feb 4 11:58 [email protected] -> llvm-g++-4.2 
lrwxr-xr-x 1 root wheel 12 Feb 4 12:16 [email protected] -> llvm-g++-4.2 
lrwxr-xr-x 1 root wheel 12 Feb 4 11:58 [email protected] -> llvm-gcc-4.2 
lrwxr-xr-x 1 root wheel 12 Jan 6 21:11 [email protected] -> llvm-gcc-4.2 

,하지만 난 아무것도 컴파일러가 관련 설치하지 않은 :

/usr/bin$ brew list 
ack   coreutils geoip  gnupg  libevent little-cms2 ossp-uuid qt   tmux 
autoconf ctags  gettext  htop-osx libpng  macvim  phantomjs readline tree 
automake fontconfig ghostscript imagemagick libtiff  memcached pkg-config redis  wget 
cmake  freetds  gist  jbig2dec libtool  mysql  postgresql sqlite  xz 
colordiff freetype git   jpeg  libyaml  ngrep  pstree  tig 

답변

1

내가이 과거를 얻을하는 방법을 알아 냈어 ./opt/local에 관한 모든 내용은 빨간 청어였습니다./opt/local이 없다는 사실로 인해 문제가 발생하지 않았습니다. REE 설치할 때 --without-tk --without-tcl를 사용하는 수정이

/usr/include/tk.h:78:23: error: X11/Xlib.h: No such file or directory 

:

진짜 문제는 더 아래로 install.log에 있었다 나는 아직도 REE를 설치하는 다른 관련이없는 문제가 발생

rvm install ree --without-tk --without-tcl 

을하지만, 적어도이 부분은 더 이상 문제가되지 않습니다.