I'm really confused. I know that the version of Apache I'm running supports
'LoadModule'. But, I'm still getting the same error:
[EMAIL PROTECTED] AxKit-1.62]$ perl t/TEST -httpd /usr/local/apache/bin/httpd -apxs /
usr/local/apache/bin/apxs
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST -httpd '/usr/local/apache/bin/httpd' -apxs
'/usr/local/apache/bin/apxs'
APXS (/usr/local/apache/bin/apxs) query for SBINDIR failed
APXS (/usr/local/apache/bin/apxs) query for TARGET failed
APXS (/usr/local/apache/bin/apxs) query for SYSCONFDIR failed
APXS (/usr/local/apache/bin/apxs) query for PREFIX failed
APXS (/usr/local/apache/bin/apxs) query for PREFIX failed
APXS (/usr/local/apache/bin/apxs) query for PREFIX failed
APXS (/usr/local/apache/bin/apxs) query for LIBEXECDIR failed
APXS (/usr/local/apache/bin/apxs) query for LIBEXECDIR failed
APXS (/usr/local/apache/bin/apxs) query for LIBEXECDIR failed
/usr/local/apache/bin/httpd -d /usr/local/src/AxKit-1.62/t -f
/usr/local/src/AxKit-1.62/t/conf/httpd.conf -DAPACHE1 -DPERL_USEITHREADS
using Apache/1.3.27
waiting 60 seconds for server to start: .Syntax error on line 12 of
/usr/local/src/AxKit-1.62/t/conf/httpd.conf:
Invalid command 'LoadModule', perhaps mis-spelled or defined by a module not
included in the server configuration
!!!
server has died with status 255 (t/logs/error_log wasn't created, start the
server in the debug mode)
Here's the generated config file:
# WARNING: this file is generated, do not edit
# 01: /usr/lib/perl5/site_perl/5.8.0/Apache/TestConfig.pm:751
# 02: /usr/lib/perl5/site_perl/5.8.0/Apache/TestConfig.pm:769
# 03: /usr/lib/perl5/site_perl/5.8.0/Apache/TestConfig.pm:1301
# 04: /usr/lib/perl5/site_perl/5.8.0/Apache/TestRun.pm:436
# 05: /usr/lib/perl5/site_perl/5.8.0/Apache/TestRunPerl.pm:41
# 06: /usr/lib/perl5/site_perl/5.8.0/Apache/TestRun.pm:621
# 07: /usr/lib/perl5/site_perl/5.8.0/Apache/TestRun.pm:621
# 08: t/TEST:21
<IfModule !mod_php4.c>
LoadModule php4_module "/usr/local/apache/libexec/libphp4.so"
</IfModule>
<IfModule !mod_dav.c>
LoadModule dav_module "/usr/local/apache/libexec/libdav.so"
</IfModule>
<IfModule !mod_perl.c>
#unable to locate libperl.so (could be a static build)
</IfModule>
User jhart
Group jhart
ServerName leeds.bates.edu
Port 8529
Listen 8529
ServerRoot "/usr/local/src/AxKit-1.62/t"
DocumentRoot "/usr/local/src/AxKit-1.62/t/htdocs"
PidFile /usr/local/src/AxKit-1.62/t/logs/httpd.pid
ErrorLog /usr/local/src/AxKit-1.62/t/logs/error_log
LogLevel debug
<IfModule mod_log_config.c>
TransferLog /usr/local/src/AxKit-1.62/t/logs/access_log
</IfModule>
ServerAdmin [EMAIL PROTECTED]
#needed for http/1.1 testing
KeepAlive On
HostnameLookups Off
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<IfModule worker.c>
StartServers 1
MaxClients 1
MinSpareThreads 1
MaxSpareThreads 1
ThreadsPerChild 1
MaxRequestsPerChild 0
</IfModule>
<IfModule perchild.c>
NumServers 1
StartThreads 1
MinSpareThreads 1
MaxSpareThreads 1
MaxThreadsPerChild 1
MaxRequestsPerChild 0
</IfModule>
<IfModule prefork.c>
StartServers 1
MaxClients 1
MaxRequestsPerChild 0
</IfModule>
<IfDefine APACHE1>
StartServers 1
MaxClients 1
MaxRequestsPerChild 0
</IfDefine>
<IfModule mpm_winnt.c>
ThreadsPerChild 20
MaxRequestsPerChild 0
</IfModule>
<Location /server-info>
SetHandler server-info
</Location>
<Location /server-status>
SetHandler server-status
</Location>
<IfModule mod_alias.c>
Alias /getfiles-binary-perl /usr/bin/perl
Alias /getfiles-perl-pod /usr/lib/perl5/5.8.0/pod
Alias /getfiles-binary-httpd /usr/local/apache/bin/httpd
</IfModule>
TypesConfig "/usr/local/apache/conf/mime.types"
<IfModule mod_perl.c>
PerlRequire "/usr/local/src/AxKit-1.62/t/conf/startup.pl"
</IfModule>
<IfModule mod_perl.c>
PerlPassEnv APACHE_TEST_TRACE_LEVEL
</IfModule>
<IfModule mod_perl.c>
PerlRequire /usr/local/src/AxKit-1.62/t/conf/modperl_startup.pl
</IfModule>
Here are the Apache compile flags:
Server version: Apache/1.3.27 (Unix)
Server built: Jan 15 2004 15:23:19
Server's Module Magic Number: 19990320:13
Server compiled with....
-D HAVE_MMAP
-D HAVE_SHMGET
-D USE_SHMGET_SCOREBOARD
-D USE_MMAP_FILES
-D HAVE_FCNTL_SERIALIZED_ACCEPT
-D HAVE_SYSVSEM_SERIALIZED_ACCEPT
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D HARD_SERVER_LIMIT=256
-D HTTPD_ROOT="/usr/local/apache"
-D SUEXEC_BIN="/usr/local/apache/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/httpd.scoreboard"
-D DEFAULT_LOCKFILE="logs/httpd.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
-D ACCESS_CONFIG_FILE="conf/access.conf"
-D RESOURCE_CONFIG_FILE="conf/srm.conf"
And, the compiled in modules:
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_access.c
mod_auth.c
mod_setenvif.c
mod_perl.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
Quoting Kip Hampton <[EMAIL PROTECTED]>:
> [EMAIL PROTECTED] wrote:
>
> > That didn't work too well. The 'perl Makefile.PL...' yielded:
> >
> > '-APXS' is not a known MakeMaker parameter name.
> > '-HTTP' is not a known MakeMaker parameter name.
> > '/USR/LOCAL/APACHE/BIN/APXS' is not a known MakeMaker parameter name.
> > '/USR/LOCAL/APACHE/BIN/HTTPD' is not a known MakeMaker parameter name.
>
>
> Ack, that doesn't work in the released versions yet. You can pass those
> same args to the t/TEST script, directly though, to get the same effect:
>
> perl t/TEST -httpd /path/ -apxs /path/
>
> rather than running 'make test'
>
> Sorry for the confusion,
>
> -kip
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]