- - PR -
Apache + SSLのインストール
1
投稿者 | 投稿内容 | ||||
---|---|---|---|---|---|
|
投稿日時: 2007-12-19 16:08
RedHatLinux4上に
デフォルトでインストールされたhttpd-2.0.52を使用しています。 mod_jkを使いたく、httpd-2.0.61にアップデート したいのですが、下記のエラーが出てしまい先に進めない状況です。 何が原因なのでしょうか? ↓↓↓エラー状況↓↓↓ [root@localhost httpd-2.0.61]# ./configure --enable-ssl checking for chosen layout... Apache checking for working mkdir -p... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu Configuring Apache Portable Runtime library ... checking for APR... reconfig configuring package in srclib/apr now checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu Configuring APR library Platform: i686-pc-linux-gnu checking for working mkdir -p... yes APR Version: 0.9.16 checking for chosen layout... apr checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. configure failed for srclib/apr <追記> 最後にSee `config.log' for more details.とあるので、 config.logの中身を見てみましたが、よくわかりませんでした。 ↓↓config.logの内容↓↓ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.60. Invocation command line was $ ./configure --enable-ssl ## --------- ## ## Platform. ## ## --------- ## hostname = localhost.localdomain uname -m = i686 uname -r = 2.6.9-42.ELsmp uname -s = Linux uname -v = #1 SMP Wed Jul 12 23:27:17 EDT 2006 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2129: checking for chosen layout configure:2131: result: Apache configure:2933: checking for working mkdir -p configure:2949: result: yes configure:2966: checking build system type configure:2984: result: i686-pc-linux-gnu configure:3006: checking host system type configure:3021: result: i686-pc-linux-gnu configure:3043: checking target system type configure:3058: result: i686-pc-linux-gnu configure:3101: checking for APR configure:3161: result: reconfig ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-l/usr/kerberos/include ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=i686-pc-linux-gnu ac_cv_mkdir_p=yes ac_cv_target=i686-pc-linux-gnu ## ----------------- ## ## Output variables. ## ## ----------------- ## APACHECTL_ULIMIT='' APR_BINDIR='' APR_INCLUDEDIR='' APU_BINDIR='' APU_INCLUDEDIR='' AP_BUILD_SRCLIB_DIRS='' AP_CLEAN_SRCLIB_DIRS='' AP_LIBS='' AP_SIG_GRACEFUL='' AP_SIG_GRACEFUL_SHORT='' AP_SIG_GRACEFUL_STRING='' AWK='' BUILTIN_LIBS='' CC='' CFLAGS='' CORE_IMPLIB='' CORE_IMPLIB_FILE='' CPP='' CPPFLAGS='-l/usr/kerberos/include' CXX='' CXXFLAGS='' DEFS='' DSO_MODULES='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' EXTRA_CFLAGS='' EXTRA_CPPFLAGS='' EXTRA_CXXFLAGS='' EXTRA_INCLUDES='' EXTRA_LDFLAGS='' EXTRA_LIBS='' GREP='' HTTPD_LDFLAGS='' HTTPD_VERSION='' INCLUDES='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_PROG_FLAGS='' INSTALL_SCRIPT='' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='' LN_S='' LTCFLAGS='' LTFLAGS='' LTLIBOBJS='' LT_LDFLAGS='' MK_IMPLIB='' MODULE_CLEANDIRS='' MODULE_DIRS='' MPM_LIB='' MPM_NAME='' MPM_SUBDIR_NAME='' NOTEST_CFLAGS='' NOTEST_CPPFLAGS='' NOTEST_CXXFLAGS='' NOTEST_LDFLAGS='' NOTEST_LIBS='' OBJEXT='' OS='' OS_DIR='' OS_SPECIFIC_VARS='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PORT='' POST_SHARED_CMDS='' PRE_SHARED_CMDS='' RANLIB='' RM='' SHELL='/bin/sh' SHLIBPATH_VAR='' SHLTCFLAGS='' SH_LDFLAGS='' SH_LIBS='' SH_LIBTOOL='' UTIL_LDFLAGS='' ab_LTFLAGS='' abs_srcdir='' ac_ct_CC='' ap_make_delimiter='' ap_make_include='' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' cgidir='${datadir}/cgi-bin' checkgid_LTFLAGS='' datadir='${prefix}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' errordir='${datadir}/error' exec_prefix='${prefix}' exp_bindir='/usr/local/apache2/bin' exp_cgidir='/usr/local/apache2/cgi-bin' exp_datadir='/usr/local/apache2' exp_errordir='/usr/local/apache2/error' exp_exec_prefix='/usr/local/apache2' exp_htdocsdir='/usr/local/apache2/htdocs' exp_iconsdir='/usr/local/apache2/icons' exp_includedir='/usr/local/apache2/include' exp_installbuilddir='/usr/local/apache2/build' exp_libdir='/usr/local/apache2/lib' exp_libexecdir='/usr/local/apache2/modules' exp_localstatedir='/usr/local/apache2' exp_logfiledir='/usr/local/apache2/logs' exp_mandir='/usr/local/apache2/man' exp_manualdir='/usr/local/apache2/manual' exp_proxycachedir='/usr/local/apache2/proxy' exp_runtimedir='/usr/local/apache2/logs' exp_sbindir='/usr/local/apache2/bin' exp_sysconfdir='/usr/local/apache2/conf' host='i686-pc-linux-gnu' host_alias='' host_cpu='i686' host_os='linux-gnu' host_vendor='pc' htdbm_LTFLAGS='' htdigest_LTFLAGS='' htdocsdir='${datadir}/htdocs' htmldir='${docdir}' htpasswd_LTFLAGS='' iconsdir='${datadir}/icons' includedir='${prefix}/include' infodir='${datarootdir}/info' installbuilddir='${datadir}/build' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/modules' localedir='${datarootdir}/locale' localstatedir='${prefix}' logfiledir='${localstatedir}/logs' logresolve_LTFLAGS='' mandir='${prefix}/man' manualdir='${datadir}/manual' nonssl_listen_stmt_1='' nonssl_listen_stmt_2='' oldincludedir='/usr/include' other_targets='' pdfdir='${docdir}' perlbin='' prefix='/usr/local/apache2' progname='' program_transform_name='s,x,x,' proxycachedir='${localstatedir}/proxy' psdir='${docdir}' rel_bindir='bin' rel_cgidir='cgi-bin' rel_datadir='' rel_errordir='error' rel_exec_prefix='' rel_htdocsdir='htdocs' rel_iconsdir='icons' rel_includedir='include' rel_installbuilddir='build' rel_libdir='lib' rel_libexecdir='modules' rel_localstatedir='' rel_logfiledir='logs' rel_mandir='man' rel_manualdir='manual' rel_proxycachedir='proxy' rel_runtimedir='logs' rel_sbindir='bin' rel_sysconfdir='conf' rotatelogs_LTFLAGS='' runtimedir='${localstatedir}/logs' sbindir='${exec_prefix}/bin' shared_build='' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/conf' target='i686-pc-linux-gnu' target_alias='' target_cpu='i686' target_os='linux-gnu' target_vendor='pc' configure: exit 1 [ メッセージ編集済み 編集者: ごろう 編集日時 2007-12-19 17:10 ] | ||||
|
投稿日時: 2007-12-19 16:19
[quote]
checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. configure failed for srclib/apr [quote] ログに書かれていることくらいはチェックするクセを身につけましょう! 詳細は「config.log」を見れ! と書いてあるわけだし、config.logも 提示したほうがいいのでは? このエラーだけで推測できるのは a.outが出力できないとかですが、 なんとなく必要なライブラリとかがないような希ガス [test.c] int main(int argc, char *argv[]){ return 0; } のようなコードを書いたとしてコンパイルできますか? | ||||
|
投稿日時: 2007-12-19 17:12
[quote]
末記人さんの書き込み (2007-12-19 16:19) より: [quote] checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. configure failed for srclib/apr
失礼しました、config.logの内容を上に追記しました。 また、gccがないのが原因のようだったので、OSをCDBootしてUpdateしたら最後までconfigureが動いたようです。 |
1