Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/36.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Compilation 在Lenny AMD64上编译Lighttpd 1.4.26失败_Compilation_Debian_Lighttpd_Libtool_Lenny - Fatal编程技术网

Compilation 在Lenny AMD64上编译Lighttpd 1.4.26失败

Compilation 在Lenny AMD64上编译Lighttpd 1.4.26失败,compilation,debian,lighttpd,libtool,lenny,Compilation,Debian,Lighttpd,Libtool,Lenny,昨天我尝试在Debian Lenny(AMD64)上编译Lighttpd 1.4.26+mod_h264,但失败了。我发现了这些错误: 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/s

昨天我尝试在Debian Lenny(AMD64)上编译Lighttpd 1.4.26+mod_h264,但失败了。我发现了这些错误:

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 @OUTPUT@ lemon.o : command not found ../libtool: line 5194: Xgcc "" "" "" "" "" "" "" -o @OUTPUT@ 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 邮件:/usr/src/lighttpd/lighttpd-1.4.26#make 使所有数据都递归 make[1]:进入目录“/usr/src/lighttpd/lighttpd-1.4.26” 在src中制作所有 make[2]:进入目录“/usr/src/lighttpd/lighttpd-1.4.26/src” gcc-DHAVE\u CONFIG\u H-DHAVE\u VERSION\u H-DLIBRARY\u DIR=“\”/usr/local/lib\”-DSBIN\u DIR=“\”/usr/local/sbin\”-I.-I-D_可重入-D_扩展名\u-D_文件偏移量\u位=64-D_大文件\u源-D_大文件-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未找到 ../libtool:第860行:libtool:忽略未知标记:未找到命令 ../libtool:line 827:X--mode=link:未找到命令 ../libtool:第994行:**警告:推断操作模式已被弃用。:未找到命令 ../libtool:第995行:**libtool的未来版本将要求指定--mode=mode.:未找到命令 ../libtool:找不到第2239行:X-g:命令 ../libtool:找不到第2239行:X-O2:命令 ../libtool:找不到第2239行:X-Wall:命令 ../libtool:找不到第2239行:X-W:命令 ../libtool:第2239行:X-Wshadow:未找到命令 ../libtool:第2239行:未找到X-pedantic:命令 ../libtool:line 2239:X-std=gnu99:未找到命令 ../libtool:line 2408:Xlemon:未找到命令 ../libtool:未找到第2413行:X:命令 ../libtool:line 2420:Xlemon:未找到命令 ../libtool:第5193行:Xgcc“”-o@OUTPUT@lemon.o:未找到命令 ../libtool:第5194行:Xgcc“”-o@OUTPUT@lemon.o:未找到命令 ../libtool:未找到第5199行:X:命令 ../libtool:找不到第5203行::命令 rm-f configparser.h ../src/lemon-q./configparser.y./lempar.c make[2]:../src/lemon:未找到命令 生成[2]:***[configparser.c]错误127 make[2]:离开目录“/usr/src/lighttpd/lighttpd-1.4.26/src” 生成[1]:***[all recursive]错误1 make[1]:离开目录“/usr/src/lighttpd/lighttpd-1.4.26” make:**[全部]错误2 在对IRC进行了大量研究之后,Google和邮件列表Libtools似乎并不是最新的编译工具。Lenny上AMD64的后端口中没有Libtootl 2.2+。。。 有人对这个问题或解决方案有想法吗?
谢谢

根据我的经验,这些类型的错误意味着您的
libtool
脚本是使用与当前安装的libtool不同的版本生成的。试试这个:

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

在任何情况下,问题不在于您没有libtool 2.2,因为
autogen.sh
脚本声称只适用于1.5,而
configure.ac
使用1.5样式的libtool调用。

如果您已经完成了“autogen.sh”操作(这是最有可能的修复),则将您提供的参数发布到“/configure”可能是其中一个问题导致了您所看到的问题(例如,试图添加需要lighttpd构建系统在您的系统上无法正确处理的依赖项的功能)。

我在尝试安装带有H264流媒体模块的lighttpd时遇到了完全相同的问题。最终对我有效的解决方案是将./configure行更改为remove--prefix

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

是的,很接近。我找到了另一个类似的解决方案(移动了Libtool并从/usr/bin创建了一个符号链接)。但是谢谢你!