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
에서
+1 : 잘 얼룩덜룩 한; 나는 그것을보아야 만했다. 필자는''외부 소스 저장소 (External Source Repositories) '라는 디렉토리를 가지고 있었지만 지금은 바로이 이유 때문에''외부 소스 저장소 (External-Source-Repositories)' '라는 디렉토리를 가지고 있습니다. –
정확히 이랬습니다! 고마워요! – guisantogui
글쎄,이 질문은 내게 전설적인 배지를주었습니다. :) – Mat