Linux 使用默认配置选项编译lighttpd
我即将编译lighttpd。我想知道是否有一个命令显示了选项数组,如果我选择默认值,程序将被编译Linux 使用默认配置选项编译lighttpd,linux,compilation,apt,Linux,Compilation,Apt,我即将编译lighttpd。我想知道是否有一个命令显示了选项数组,如果我选择默认值,程序将被编译 ./configure 事实上,我在./configure--help中看到了一些默认设置,但我希望有完整的列表 从另一个角度来说:这是 apt-get source lighttpd ./configure make make install make clean 同理 apt-get install lighttpd 最好的办法是找到与您的版本相对应的构建日志。例如,对于ubuntu的Ta
./configure
事实上,我在./configure--help中看到了一些默认设置,但我希望有完整的列表
从另一个角度来说:这是
apt-get source lighttpd
./configure
make
make install
make clean
同理
apt-get install lighttpd
最好的办法是找到与您的版本相对应的构建日志。例如,对于ubuntu的Taucy,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"
尝试dpkg buildpackage。请参阅此处了解更多信息:例如,默认前缀肯定不是
/usr/local
,但在安装了apt get
的软件包中,它通常是/usr
。我如何才能找到编译正式版本的选项?