FUJILOG

見た、聴いた、触れたこと。 動かしたもの、書いたもの。 ウェブとリアルの備忘録です。

CGI::Application::Dispatch と Webアプリ

いざ起動しようとしたら、モジュール欠けメッセージ。

Can't locate CGI/Application/Dispatch.pm in @INC..

cpan -i CGI::Application::Dispatch
で、Apache周辺でつまずいているとのこと。。


~エラーメッセージ~
This module can optionally use Apache::Test to test the mod_perl functionality.
Undefined subroutine &ExtUtils::MakeMaker::prompt called at Makefile.PL line 31,
line 547.
Warning: No success on command[C:\Perl\bin\perl.exe Makefile.PL]
WONKO/CGI-Application-Dispatch-2.12.tar.gz
C:\Perl\bin\perl.exe Makefile.PL -- NOT OK


Apache::Testのことは、下記URLにて触れてあったけど何か違う気が‥。。
http://mt.endeworks.jp/d-6/2008/03/apache-test-starters.html


Apache::Testのインストールを試みるものの、続き。

We are now going to configure the Apache-Test framework.
This configuration process needs to be done only once.

ん?

First we need to know where the 'httpd' executable is located.
If you have more than one Apache server is installed, make sure
you supply the path to the one you are going to use for testing.
You can always override this setting at run time via the '-httpd'
option. For example:

% t/TEST -httpd /path/to/alternative/httpd

or via the environment variable APACHE_TEST_HTTPD. For example:

% APACHE_TEST_HTTPD=/path/to/alternative/httpd t/TEST

If for some reason you want to skip the test suite, type: skip
Please provide a full path to 'httpd' executable:


Apacheサーバまでのパスを指定しろとのこと。
xamppに入れていたものを使っていたので、c:\xampp\apache 直下にhttpd.exe と apache.exeがあるからいいのかな?と指定したものの、、


The path 't/TEST -httpd c:\xampp\apache\bin' is not an absolute path. Please specify an absolute path

Please provide a full path to 'httpd' executable:

とのことでした。

Apacheのことわかってないな、、と反省。。