2012-07-22 3 views
1

나는 떨어져 일을 내 I : 내가 모노 - 2.11.2.tar.bz2 내가 설치 한 다음 모노 소스 파일을 다운로드 한문제는

드라이브 에 모노 v2.11.2의 윈도우 버전 "I : \ 모노 2.11.2"

은 내가 대체 http://shana.worldofcoding.com/en/mono_cygwin_tutorial.html

다음 웹 페이지에있는 다음 지침에 따라 Cygwin에서 설치 "make.exe"은 지침에 따라 모노 웹 사이트에서 나온 것과 일치합니다. 나는 Cygwin에서 패키지 libintl2/libintl2-0.12.1-3

내가 추가 한 다음 내의 .bashrc 파일에있는 하나 이상의 파일 "cygintl-2.dll"을 얻어야했다. 내가 "C/모노-2.11.2/빈" "I/모노-2.11.2/빈"내가 지정한 폴더 아래에 내 모노 소스를 배치

PATH=.:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/i/Mono-2.11.2/bin 
PKG_CONFIG_PATH=.:/lib/pkgconfig:/cygdrive/i/Mono-2.11.2/lib/pkgconfig 
LD_LIBRARY_PATH=.:/usr/local/lib:/usr/lib:/lib:/cygdrive/i/Mono-2.11.2/lib 
export PATH PKG_CONFIG_PATH LD_LIBRARY_PATH 

로 변경했다 : 를/지금의 지시에 내가 DIRS는/usr/src에/모노/모노로 변경하고 "./autogen.sh을 실행해야한다고

i: 
i:\cygwin\ 
i:\cygwin\usr\src\mono 
i:\cygwin\usr\src\mono\mono 
i:\cygwin\usr\src\mono\mcs etc etc 
i:\Mono-2.11.2\bin etc 

: 같은 USR/SRC/모노/

그래서 내 DIRS 보인다 - -prefix =/usr/local " cygwin 터미널에서

그러나 그 doesnt 작품. /usr/src/mono/에서 위의 명령을 실행해도 문제가 없습니다.

이제 문제가 있습니다. 다음 명령어는 "make"을 실행하는 것입니다. 그러나 이것은 다음과 같이 나타납니다 :

$ make 
make: *** No targets specified and no makefile found. Stop. 

나는 심지어/usr/src/mono/mono 디렉토리에서 실행 해 보았습니다. 아직도 운이 없다. 누군가가 Windows 7에서 모노 소스를 빌드 할 수 있도록 어떻게해야합니까 제안 할 수 있습니까? ./autogen.sh --prefix=/usr/local 출력

Update: 
I needed to install the **gnu c++ compiler (g++)**. I just ran the cygwin setup again, searched for g++ and installed that. The autogen.sh ran to completion 

답변

2

마지막 라인은 끝에 Now type make to compile와 울부 짖는 소리처럼 보일 것입니다. 그리고 은 동일한 디렉토리에 Makefile을 생성합니다.

귀하의 경우에 ./autogen.sh이 (가) 실패했다고 생각합니다. 로그 파일 을 유지하고 불만 사항을 확인할 수 있습니다.

./autogen.sh --prefix=/usr/local 2>&1 | tee autogen.log 

상세 정보 : http://en.wikipedia.org/wiki/GNU_build_system

./autogen.sh ouptut의 끝 :

config.status: executing quiet-libtool commands 
config.status: executing default commands 

     mcs source: mcs 
     olive source: 

    Engine: 
    GC:  sgen and bundled Boehm GC with typed GC and parallel mark 
    TLS:   __thread 
    SIGALTSTACK: yes 
    Engine:  Building and using the JIT 
    oprofile:  no 
    BigArrays:  no 
    DTrace:  no 
    LLVM Back End: no (dynamically loaded: no) 

    Libraries: 
    Moon Profile: no (boehm) 
    MonoDroid:  no 
    MonoTouch:  no 
    Mobile:  no 
    JNI support: IKVM Native 
    libgdiplus: assumed to be installed 
    zlib:   system zlib 


Now type `make' to compile 
+0

이 정적 라이브러리를 구축 여부를 확인 출력 의 마지막 몇 줄입니다 .. . 예 C++ 전 처리기를 실행하는 방법을 확인하는 중 .../lib/cpp configure : error : in/usr/src/mono ': 구성 : 오류 : C++ 전 처리기 "/ lib/cpp"가 정상 검사에 실패 함 자세한 내용은 config.log를 참조하십시오. 나는 cpp 패키지를 다운로드하고 어떻게되는지 알려드립니다. – Eminem

+0

gnu C++ 컴파일러 (g ++)를 설치하는 데 필요합니다. 나는 autogenfails를 제안하고 로그를 검사 할 것을 제안했습니다. – Eminem