« [sendmail] やる夫がsendmailで転送設定をするようです。 | トップページ | やる夫がAdaptec SCSI Card ドライバインストールするようです。 »

2007-12-28

やる夫がapache-1.3.36のインストールをするようです。

はじめてのapacheインストール

単に”./configure --> makeinstall”でインストールが完了しますが、Linuxのインストール時に最小構成のインストールとかにしてしまうと、gooコンパイラ等がインストールされていない場合があります。そこで詰まった人用(初歩だが・・・)。

ファイル取得

http://www.apache.jp/ から適当に落としてください。バージョンによっては、”mod_proxy_balancer ”等のモジュールが使えない場合があります。今回は”apache-1.3.36”をインストールしてみることにします。

apache-1.3 インストール

# cd apache_1.3.36
[root@test01 apache_1.3.36]# ls
ABOUT_APACHE     LICENSE               NWGNUmakefile     WARNING-WIN.TXT  htdocs
Announcement     Makefile.tmpl         NWGNUtail.inc     cgi-bin          icons
Announcement.de  NOTICE                README            conf             logs
Announcement.ja  NWGNUenvironment.inc  README-WIN.TXT    config.layout    src
INSTALL          NWGNUhead.inc         README.configure  configure
# ./configure
Configuring for Apache, Version 1.3.36
+ Warning: Configuring Apache with default settings.
+ This is probably not what you really want.
+ Please read the README.configure and INSTALL files
+ first or at least run './configure --help' for
+ a compact summary of available options.
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
Error: could not find any of these C compilers
anywhere in your PATH:  gcc cc acc c89
Configure terminated

       ____
     /ノ   ヽ、_\
   /( ○)}liil{(○)\
  /    (__人__)   \     gccコンパイラって普通デフォで
  |   ヽ |!!il|!|!l| /   |      はいってんじゃねぇ~の?????
  \    |ェェェェ|     /

”Error: could not find any of these C compilers” コンパイラが入ってないよってエラーです。

  • 対外は問題なく入っている筈。

コンパイラインストール

もう一回

# ./configure
Configuring for Apache, Version 1.3.36
+ Warning: Configuring Apache with default settings.
+ This is probably not what you really want.
+ Please read the README.configure and INSTALL files
+ first or at least run './configure --help' for
+ a compact summary of available options.
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ using "tr [a-z] [A-Z]" to uppercase
+ checking for system header files
+ adding selected modules
+ using builtin Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/lib/expat-lite
Creating Makefile in src/modules/standard

# make
# make install

apache-1.3 起動

# /usr/local/apache/bin/apachectl start
/usr/local/apache/bin/apachectl start: httpd started

|

apache」カテゴリの記事

トラックバック

この記事のトラックバックURL:
http://app.f.cocolog-nifty.com/t/trackback/488651/9604454

この記事へのトラックバック一覧です: やる夫がapache-1.3.36のインストールをするようです。:

コメント

コメントを書く