gpt4 book ai didi

linux - 使用默认配置选项编译 lighttpd

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:09:34 26 4
gpt4 key购买 nike

我要编译 lighttpd。我想知道是否有显示选项数组的命令,如果我选择默认值,程序将被编译?

./configure

事实上,我在 ./configure --help 中看到其中一些是默认的,但我希望有完整的列表

换句话说:是

的结果
apt-get source lighttpd
./configure
make
make install
make clean

同样的想法

apt-get install lighttpd

最佳答案

最好的办法是找到与您的版本对应的构建日志。例如对于 ubuntu saucy build log lighttpd 显示

dh_auto_configure -- \
--disable-dependency-tracking \
--libdir=/usr/lib/lighttpd \
--libexecdir="/usr/lib/lighttpd" \
--with-attr \
--with-fam \
--with-gdbm \
--with-kerberos5 \
--with-ldap \
--with-lua=lua5.1 \
--with-memcache \
--with-mysql \
--with-openssl \
--with-pcre \
--with-webdav-locks \
--with-webdav-props \
CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" CPPFLAGS="-D_FORTIFY_SOURCE=2" CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" FFLAGS="-g -O2" LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro"

关于linux - 使用默认配置选项编译 lighttpd,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21970080/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com