2010-03-08 4 views
0

어제 Lighttpd 1.4.26 + mod_h264를 Debian Lenny (AMD64)에서 컴파일하려했지만 실패했습니다. 나는 그 오류를 가지고 : IRC에 대한 연구를 많이 한Lenny AMD64에서 Lighttpd 1.4.26에 대한 컴파일이 실패했습니다.

 
mail:/usr/src/lighttpd/lighttpd-1.4.26# make 
make all-recursive 
make[1]: Entering directory `/usr/src/lighttpd/lighttpd-1.4.26' 
Making all in src 
make[2]: Entering directory `/usr/src/lighttpd/lighttpd-1.4.26/src' 
gcc -DHAVE_CONFIG_H -DHAVE_VERSION_H -DLIBRARY_DIR="\"/usr/local/lib\"" -DSBIN_DIR="\"/usr/local/sbin\"" -I. -I.. -D_REENTRANT -D__EXTENSIONS__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -MT lemon.o -MD -MP -MF .deps/lemon.Tpo -c -o lemon.o lemon.c 
mv -f .deps/lemon.Tpo .deps/lemon.Po 
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -o lemon lemon.o 
../libtool: line 827: X--tag=CC: command not found 
../libtool: line 860: libtool: ignoring unknown tag : command not found 
../libtool: line 827: X--mode=link: command not found 
../libtool: line 994: *** Warning: inferring the mode of operation is deprecated.: command not found 
../libtool: line 995: *** Future versions of Libtool will require --mode=MODE be specified.: command not found 
../libtool: line 2239: X-g: command not found 
../libtool: line 2239: X-O2: command not found 
../libtool: line 2239: X-Wall: command not found 
../libtool: line 2239: X-W: command not found 
../libtool: line 2239: X-Wshadow: command not found 
../libtool: line 2239: X-pedantic: command not found 
../libtool: line 2239: X-std=gnu99: command not found 
../libtool: line 2408: Xlemon: command not found 
../libtool: line 2413: X: command not found 
../libtool: line 2420: Xlemon: command not found 
../libtool: line 5193: Xgcc "" "" "" "" "" "" "" -o @[email protected] lemon.o : command not found 
../libtool: line 5194: Xgcc "" "" "" "" "" "" "" -o @[email protected] lemon.o : command not found 
../libtool: line 5199: X: command not found 
../libtool: line 5203: : command not found 
rm -f configparser.h 
../src/lemon -q ./configparser.y ./lempar.c 
make[2]: ../src/lemon: Command not found 
make[2]: *** [configparser.c] Error 127 
make[2]: Leaving directory `/usr/src/lighttpd/lighttpd-1.4.26/src' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/usr/src/lighttpd/lighttpd-1.4.26' 
make: *** [all] Error 2 

를, 구글과 메일 링리스트 Libtools이 최신이 컴파일 정말 보인다. Libtootl 2.2+는 Lenny의 AMD64 백 포트에 없습니다 ... 누구나이 문제 또는 해결책에 대해 알고 있습니까? 감사합니다.

답변

0

내 경험상 이러한 유형의 오류는 libtool 스크립트가 현재 설치된 버전과 다른 버전의 libtool을 사용하여 생성되었음을 의미합니다. 이 시도 : 어떤 경우에

make maintainer-clean 
./autogen.sh 
./configure 
make 

을, 문제는 autogen.sh 스크립트 1.5 일 만 주장 때문에, 2.2 libtool이없는 것이 아니며, configure.ac 1.5 스타일의 libtool이 호출을 사용합니다.

+0

예, 가깝습니다. 비슷한 해결책을 찾았습니다. (Libtool을 옮겨서/usr/bin에서 심볼릭 링크를 만들었습니다.) 하지만 고마워! – Eno

0

"autogen.sh"(가장 가능성이있는 수정 사항)을 이미 수행 한 경우 "./configure"에 제공하는 매개 변수를 게시하십시오. 그 중 하나가 문제를 유발할 수 있습니다. seeing (예 : lighttpd 빌드 시스템이 시스템에서 올바르게 처리하지 못하는 종속성이 필요한 기능을 추가하려는 시도).

0

Lighttpd를 H264 스트리밍 모듈과 함께 설치하는 동안 똑같은 문제가 발생했습니다. 나를 위해 일한 해결책은 ./configure 행을 --prefix를 제거하도록 변경하는 것이 었습니다.

make maintainer-clean 
./autogen.sh 
./configure --enable-maintainer-mode 
make 
make install