[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modperl
Subject: Can't start mod_perl
From: Jie Gao <J.Gao () isu ! usyd ! edu ! au>
Date: 1998-06-26 2:31:27
[Download RAW message or body]
I've just built apache 1.3 and mod_perl 1.2 with the same perl 5.004_4
on Solaris/Unix 2.6. But when I put this line in httpd.conf
PerlModule Apache::Registry
I get this error message:
[Fri Jun 26 12:16:43 1998] [notice] SIGHUP received. Attempting to restart
Syntax error on line 320 of /usr/local/apache/etc/httpd.conf:
Invalid command 'PerlModule', perhaps mis-spelled or defined by a module not included in the
server configuration
and the server, of course, did not start up.
Any ideas?
Jie
***Perl:
root@fiasco/usr/local:189> perl -V
Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration:
Platform:
osname=solaris, osvers=2.6, archname=sun4-solaris
uname='sunos fiasco 5.6 generic_105181-04 sun4m sparc sunw,sparcstation-10 '
hint=recommended, useposix=true, d_sigaction=define
bincompat3=n useperlio=undef d_sfio=undef
Compiler:
cc='gcc', optimize='-O3', gccversion=2.8.1
cppflags='-I/usr/local/include -I/opt/gnu/include'
ccflags ='-I/usr/local/include -I/opt/gnu/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=define, d_castneg=define
intsize=4, alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib'
libpth=/usr/local/lib /opt/gnu/lib /lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -lgdbm -ldl -lm -lc -lcrypt
libc=/lib/libc.so, so=so
useshrplib=true, libperl=libperl.so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -R
/usr/local/lib/perl5/sun4-solaris/5.00404/CORE'
cccdlflags='-fpic', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib'
Characteristics of this binary (from libperl):
Built under solaris
Compiled at Jun 25 1998 11:59:13
@INC:
/usr/local/lib/perl5/sun4-solaris/5.00404
/usr/local/lib/perl5
/usr/local/lib/perl5/site_perl/sun4-solaris
/usr/local/lib/perl5/site_perl
.
*** Modperl:
perl Makefile.PL APACHE_SRC=/u0/apache_1.3.0/src DO_HTTPD=1 USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1
make
make install
(No error mesg apart from that about SSI, which was ignored)
***apache:
./configure --prefix=/usr/local/apache --activate-module=src/modules/perl/libperl.a \
--enable-module=most --enable-shared=max
make
make install
(No error mesg)
root@fiasco/usr/local:191> httpd -l
Compiled-in modules:
http_core.c
mod_so.c
root@fiasco/usr/local:192> httpd -v
Server version: Apache/1.3.0 (Unix)
Server built: Jun 26 1998 12:10:42
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic