はじめての自宅サーバ構築 - Fedora/CentOS -
Last Update 2018/05/30
[ 更新履歴 ] [ サイト マップ ] [ 質問掲示板 ] [ 雑談掲示板 ] [ リンク ]
トップ >> 当サイト情報 >> スレッド

????????????????????¨????°???¨??§????????°???????¨??????¬???????????°?????±??????????????§??????

このスレッドはクローズされています。記事の閲覧のみとなります。

 ApacheとTomcatの連携モジュール「mod_jk2.so」の生成
????????? 2006/09/24 20:05
????????? kyo

?不明点・障害内容:

管理者 樣

お世話になります。
Eメールの説明通に
「# yum install gcc」を実行しましたが、
インストールできませんでした。
ご意見宣しくお願いいたします

?ログの有無   :
  (有:その内容):

[root@fe ~]# cd jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/
[root@fe native2]# ./configure --with-apxs2=/usr/sbin/apxs
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking target system type... x86_64-redhat-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
[root@fe native2]# yum install gcc
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
[root@fe native2]#

?Distribution  :
      Version:
?Service Name  :
      Version:
?ネットワーク構成:OSはCentOS4.3 64bit,
          それ以外は全部当サイトのインストール手順とおりのソースです。

■ コンテンツ関連情報

 Re: ApacheとTomcatの連携モジュール「mod_jk2.so」の生成 ( No.1 )
????????? 2006/09/24 20:15
????????? kyo

補注説明です。
以下のようにjavaは「jdk1.5.0_08」です。
---------------------------------------------------------------
[root@fe native2]# ll /usr/local/
合計 88
drwxr-xr-x 11 root root 4096 9月 24 18:05 apache-tomcat-5.5.12
drwxr-xr-x  2 root root 4096 9月 24 17:45 bin
drwxr-xr-x  2 root root 4096 2月 18 2005 etc
drwxr-xr-x  2 root root 4096 2月 18 2005 games
drwxr-xr-x  2 root root 4096 2月 18 2005 include
lrwxrwxrwx  1 root root  23 9月 24 17:57 java -> /usr/local/jdk1.5.0_08/
drwxr-xr-x  9 root root 4096 6月 28 19:51 jdk1.5.0_08
drwxr-xr-x  2 root root 4096 2月 18 2005 lib
drwxr-xr-x  2 root root 4096 2月 18 2005 lib64
drwxr-xr-x  2 root root 4096 2月 18 2005 libexec
drwxr-xr-x  2 root root 4096 2月 18 2005 sbin
drwxr-xr-x  4 root root 4096 9月 24 16:59 share
drwxr-xr-x  2 root root 4096 2月 18 2005 src
lrwxrwxrwx  1 root root  32 9月 24 18:06 tomcat -> /usr/local/apache-tomcat-5.5.12/
[root@fe native2]#
 Re: ApacheとTomcatの連携モジュール「mod_jk2.so」の生成 ( No.2 )
????????? 2006/09/25 07:07
????????? 管理者

> checking whether we are using the GNU C++ compiler... no
> checking whether g++ accepts -g... no

コンパイラが不足の様です。
「gcc-c++」「cpp」パッケージも同様にインストールしてみてください。
 Re: ApacheとTomcatの連携モジュール「mod_jk2.so」の生成 ( No.3 )
????????? 2006/09/30 01:22
????????? kyo

管理者 様

Tomcatインストール成功しました。
ありがとうございました。
これからも宜しくお願い致します。
 Re: ApacheとTomcatの連携モジュール「mod_jk2.so」の生成 ( No.4 )
????????? 2006/09/30 01:28
????????? kyo

PASSをわすれまして、
クローズできないです。
すみません。

■ その他

ページ先頭へ


Copyright(©)2004-2018 First home server construction. All Right Reserved.