如何确认编译参数 Apache
我需要编译 apache 来自源代码,但我以前的版本被加载 yum. 但我需要找到以前用于编译的参数 apache, 这样我就可以在重新编译时使用相同的参数。 我还希望确保在重新编译时未损坏我的配置文件。
注意:我尝试了以下命令,但结果没有帮助我,
有任何想法吗 ?
注意:我尝试了以下命令,但结果没有帮助我,
[root@test httpd-2.2.4]# yumdownloader --source httpd
Loaded plugins: fastestmirror
Repository c5-testing is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: mirrors.coreix.net
* epel: mirrors.coreix.net
* extras: centos.hyve.com
* fc6-base: ftp-stud.hs-esslingen.de
* rpmforge: www.mirrorservice.org
* updates: centos.hyve.com
drivesrvr | 951 B 00:00
Enabling epel-source repository
No source RPM found for httpd-2.2.3-5.x86_64
No source RPM found for httpd-2.2.3-83.el5.centos.x86_64
No source RPM found for httpd-2.2.3-82.el5.centos.x86_64
No source RPM found for httpd-2.2.26-1.el5.x86_64
Nothing to download
有任何想法吗 ?
没有找到相关结果
已邀请:
2 个回复
二哥
赞同来自:
例如,在我的情况下:
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (包括IPv4相关地址)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT = 256
-D HTTPD_ROOT = "/ usr"
-D SUEXEC_BIN = "/ usr / bin / suexec"
-D DEFAULT_PIDLOG = "/ var / run / httpd.pid"
-D DEFAULT_SCOREBOARD = "杂志 / apache_runtime_status"
-D DEFAULT_ERRORLOG = "杂志 / Magazine_obrokok."
-D AP_TYPES_CONFIG_FILE = "/ etc / httpd / mime.types"
-D SERVER_CONFIG_FILE = "/ etc / httpd / httpd.conf"
董宝中
赞同来自:
http://vault.centos.org/
对于您的操作系统版本并下载相应的来源 httpd rpm. 到 C6.2 地点 srmps 它是
但从版本开始 6.3 把它们放在
.
当你有 srpm, 你可以安装它,然后看看
什么应该有所帮助。