2017-05-15 18 views
0

react-native을 osx에 설치하려고합니다. 그러기 위해 나는 내 컴퓨터에 watchman을 설치하고 있습니다. 그러나 나는 port 또는 brew을 사용하지 않습니다.OSX에서 react-native를 이진 소스와 함께 설치하는 방법은 무엇입니까?

내가 한 일은 다음과 같습니다.

  1. autoconf-2.69가 지금은 때 ./autogen.shglib에 다음과 같은 메시지가 직면하고 glib-2.52.2

를 설치,

  • libtool-2.4.6automake-1.9를 설치합니다.

    aclocal:configure.ac:72: warning: macro `AM_SILENT_RULES' not found in library 
    autoreconf: running: /usr/local/bin/autoconf --force 
    configure.ac:72: error: possibly undefined macro: AM_SILENT_RULES 
         If this token and others are legitimate, please use m4_pattern_allow. 
         See the Autoconf documentation. 
    configure.ac:88: error: possibly undefined macro: AC_DEFINE 
    autoreconf: /usr/local/bin/autoconf failed with exit status: 1 
    

    brew 또는 port없이 OSX에 react-native (또는 watchman)를 설치하는 다른 방법입니다.

    참고로, brew은 편리하지만 어떻게 자동으로 패키지를 관리하고 싶지는 않습니다. 나에게, brew, port은 필수 플러그인이 아닌 플러그인처럼 보입니다 - 그래서 나는 그것들을 사용하고 싶지 않습니다.

  • 답변

    0

    소스 파일 방식으로 설치하고 싶지만 의미없는 저항으로 보입니다. 나는 brew을 설치했다. :(

    당신은 npm install -g watchmanwatchman를 설치할 수 있지만 작동하지 않습니다. 설치할 때 그것은 OK이지만 react-native을 실행할 때, 그것은 EMFILE에 오류가 발생합니다.

    제발, 당신이 우회하는 방법을 알고있는 경우에 답장 이 문제 (패키지 관리자를 사용하지 않음을 의미)