Lighttpd 1.4.26 在 Lenny AMD64 上编译失败

发布于 2024-08-23 20:41:18 字数 2377 浏览 4 评论 0原文

昨天我尝试在 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

经过对 IRC、Google 和邮件列表 Libtools 的大量研究后,编译此文件似乎并不是最新的。 Limbootl 2.2+ 不在 Lenny 上的 AMD64 向后移植中... 有人对这个问题有想法或解决方案吗? 谢谢 !

yesterday I tried to compile Lighttpd 1.4.26 + mod_h264 on Debian Lenny ( AMD64 ) but it failed. I got those errors :

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

After lot of researches on IRC, Google and Mailing list Libtools seems not really up to date for compiling this. Libtootl 2.2+ is not in the backports for AMD64 on Lenny...
Anyone have an idea about the issue, or a solution ?
Thanks !

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

伏妖词 2024-08-30 20:41:18

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

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

无论如何,问题不在于您没有 libtool 2.2,因为 autogen.sh 脚本声称仅适用于 1.5 和 configure.ac 使用 1.5 风格的 libtool 调用。

In my experience, these types of errors mean that your libtool script was generated using a different version of libtool than currently installed. Try this:

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

In any case, the problem is not that you don't have libtool 2.2, because the autogen.sh script claims only to work with 1.5, and configure.ac uses 1.5-style libtool calls.

水波映月 2024-08-30 20:41:18

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

If you've already done the "autogen.sh" thing (which is the most likely fix) then post the parameters you are giving to "./configure" as it's possible one of those is causing the problems you are seeing (e.g. an attempt to add a feature that requires a dependency that the lighttpd build system doesn't handle correctly on your system).

不甘平庸 2024-08-30 20:41:18

我在尝试使用 H264 流模块安装 lighttpd 时遇到了完全相同的问题。最终对我有用的解决方案是更改 ./configure 行以删除 --prefix。

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

I had the exact same problem while trying to install lighttpd with the H264 Streaming Module. The solution that ended up working for me was changing the ./configure line to remove --prefix.

make maintainer-clean
./autogen.sh
./configure --enable-maintainer-mode
make
make install
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文