2012-05-16 2 views
1

Ubuntu 10.04 LTS 컴퓨터에 CUnit lib를 설치하려고합니다. 나는 문제없이 우분투 11.04에 설치했습니다,하지만 난 10.04에 설치하려고 할 때 나는이 추적 가지고 : 나는 libs와 및 GCC 버전을 많이 시도C 컴파일러가 실행 파일을 만들 수 없습니다. Ubuntu 10.04 LTS

checking for a BSD-compatible install... /usr/bin/install -c 
checking whether build environment is sane... yes 
/home/cpcaserver5/Área de Trabalho/CUnit-2.1-2/missing: Unknown `--run' option 
Try `/home/cpcaserver5/Área de Trabalho/CUnit-2.1-2/missing --help' for more information 
configure: WARNING: `missing' script is too old or missing 
checking for a thread-safe mkdir -p... /bin/mkdir -p 
checking for gawk... gawk 
checking whether make sets $(MAKE)... yes 
---------- Disabling debug mode compilation. 
++++++++++ Enabling automated(XML) mode compilation 
++++++++++ Enabling basic mode compilation 
++++++++++ Enabling console mode compilation 
---------- Disabling curses mode compilation 
---------- Disabling examples mode compilation 
---------- Disabling test mode compilation 
---------- Disabling memtrace functionality at compile time 
---------- Disabling use of deprecated v1.1 names 
checking for gcc... gcc 
checking whether the C compiler works... no 
configure: error: in `/home/cpcaserver5/Área de Trabalho/CUnit-2.1-2': 
configure: error: C compiler cannot create executables 
See `config.log' for more details 

를, 그래서 문제가 있다고 생각 우분투에서,하지만 어디서 또는 왜, 나는 잘 몰라! 로그 파일의

관련 부분 :

configure:3399: checking whether the C compiler works 
configure:3421: gcc  -[email protected]@ -Wall -W -pedantic -Wshadow -ansi -I/home/cpcaserver5/Área de Trabalho/CUnit-2.1-2/CUnit/Headers   -L/home/cpcaserver5/Área de Trabalho/CUnit-2.1-2/CUnit/Sources conftest.c  >&5 
gcc: de: No such file or directory 
gcc: Trabalho/CUnit-2.1-2/CUnit/Headers: No such file or directory 
gcc: de: No such file or directory 
gcc: Trabalho/CUnit-2.1-2/CUnit/Sources: No such file or directory 
configure:3425: $? = 1 
configure:3463: result: no 

전체 config.log >>http://pastebin.com/SrWfar1Z

내가 잘 C 파일을 컴파일 할 수 있습니다. ./configure에서

답변

2

어딘가에서 인용 문제가 있으며, CUnit을 설치 한 디렉토리에 공백 (비 ASCII 문자)이 포함되어 있다는 사실이 엉망입니다.

이 작업을 수행하는 것이 가능할 수도 있지만 설치 디렉토리를 공백이 전혀없는 경로로 변경하고 일반 ASCII7 문자 (액센트, 라마, 물결표 또는 기타)를 사용하지 않는 것이 좋습니다. .
경로가 "이상한"경우 많은 스크립팅 문제가 발생합니다. 가로 간격을 원하면 밑줄 (_)을 사용하십시오.

+0

+1 : 잘 얼룩덜룩 한; 나는 그것을보아야 만했다. 필자는''외부 소스 저장소 (External Source Repositories) '라는 디렉토리를 가지고 있었지만 지금은 바로이 이유 때문에''외부 소스 저장소 (External-Source-Repositories)' '라는 디렉토리를 가지고 있습니다. –

+0

정확히 이랬습니다! 고마워요! – guisantogui

+0

글쎄,이 질문은 내게 전설적인 배지를주었습니다. :) – Mat

0

출력 한 라인을 제외하고, 악명 도움이되지 않는 경우 : 실제 오류 메시지가 어디에

See `config.log' for more details 

있다고.

관련 문제