I have tried almost every variation of installation instructions, and all
have failed. I can't find anything in the FAQs so please help me.
Situation: Redhat 6.1 Linux 2.2.12, with pre-installed Apache
httpd. Removed pre-existing httpd from PATH. Installing new Apache to
different path. Source versions: apache_1.3.12, mod_perl-1.22.
Following instructions in INSTALL:
perl Makefile.pl
make
I get a dozen of these:
which: no apxs in (/usr/local/bin:/bin:/usr/bin:/usr/local/mysql/bin:.)
Following instructions in INSTALL.apaci, method 2 - the flexible way:
Makefile.PL \
APACHE_SRC=../apache_1.3.12/src \
DO_HTTPD=1 \
USE_APACI=1 \
PREP_HTTPD=1 \
EVERYTHING=1
I get a dozen of these:
which: no apxs in (/usr/local/bin:/bin:/usr/bin:/usr/local/mysql/bin:.)
After which, make test fails and nothing goes on.
Now, apxs is apache's DSO compiler and I am trying to get mod_perl
installed statically, so I was guessing mod_perl is reading an old config
file from somewhere and thinking it wants to be a DSO, so I uninstalled
(rpm -e) redhat's php,mod_perl, and apache, rebooted just for fun, created
clean source from the tar.gz's, and still, I am getting the "no apxs"
messages.
Anywhere I should be looking / anything I could be trying? Is mod_perl
really dependent on apxs? Do I really have to build Apache to get the apxs
to install mod_perl? Nowhere in the instructions does it says that's
necessary.
(BTW, when I do compile+install Apache first, then compile+install
mod_perl, it does end up with an executable, but that segmentation faults
when I try hitting the web server with a browser.)
Please help me!!!
Many Thanks,
Kenneth
P.S. Here's output from the perl Makefile.PL:
>perl Makefile.PL \
> APACHE_SRC=../apache_1.3.12/src \
> DO_HTTPD=1 \
> USE_APACI=1 \
> PREP_HTTPD=1 \
> EVERYTHING=1
>Will configure via APACI
>(cd ../apache_1.3.12/src && ./Configure -file Configuration)cp
>apaci/Makefile.libdir ../apache_1.3.12/src/modules/perl/Makefile.libdir
>cp apaci/Makefile.tmpl ../apache_1.3.12/src/modules/perl/Makefile.tmpl
>cp apaci/README ../apache_1.3.12/src/modules/perl/README
>cp apaci/configure ../apache_1.3.12/src/modules/perl/configure
>cp apaci/libperl.module ../apache_1.3.12/src/modules/perl/libperl.module
>cp apaci/mod_perl.config.sh
>../apache_1.3.12/src/modules/perl/mod_perl.config.sh
>cp apaci/load_modules.pl.PL
>../apache_1.3.12/src/modules/perl/load_modules.pl.PL
>cp apaci/find_source.PL ../apache_1.3.12/src/modules/perl/find_source.PL
>cp apaci/apxs_cflags.PL ../apache_1.3.12/src/modules/perl/apxs_cflags.PL
>cp apaci/mod_perl.exp ../apache_1.3.12/src/modules/perl/mod_perl.exp
>PerlDispatchHandler.........enabled
>PerlChildInitHandler........enabled
>PerlChildExitHandler........enabled
>PerlPostReadRequestHandler..enabled
>PerlTransHandler............enabled
>PerlHeaderParserHandler.....enabled
>PerlAccessHandler...........enabled
>PerlAuthenHandler...........enabled
>PerlAuthzHandler............enabled
>PerlTypeHandler.............enabled
>PerlFixupHandler............enabled
>PerlHandler.................enabled
>PerlLogHandler..............enabled
>PerlInitHandler.............enabled
>PerlCleanupHandler..........enabled
>PerlRestartHandler..........enabled
>PerlStackedHandlers.........enabled
>PerlMethodHandlers..........enabled
>PerlDirectiveHandlers.......enabled
>PerlTableApi................enabled
>PerlLogApi..................enabled
>PerlUriApi..................enabled
>PerlUtilApi.................enabled
>PerlFileApi.................enabled
>PerlConnectionApi...........enabled
>PerlServerApi...............enabled
>PerlSections................enabled
>PerlSSI.....................enabled
>Will run tests as User: 'kenneth' Group: 'kenneth'
>Checking CGI.pm VERSION..........ok
>Checking for LWP::UserAgent......ok
>Checking for HTML::HeadParser....ok
>Checking if your kit is complete...
>Looks good
>which: no apxs in (/usr/local/bin:/bin:/usr/bin:/usr/local/mysql/bin:.)
>Writing Makefile for Apache
>which: no apxs in (/usr/local/bin:/bin:/usr/bin:/usr/local/mysql/bin:.)
>Writing Makefile for Apache::Connection
>which: no apxs in (/usr/local/bin:/bin:/usr/bin:/usr/local/mysql/bin:.)
>Writing Makefile for Apache::Constants
>which: no apxs in (/usr/local/bin:/bin:/usr/bin:/usr/local/mysql/bin:.)
>Writing Makefile for Apache::File
>Writing Makefile for Apache::Leak
>which: no apxs in (/usr/local/bin:/bin:/usr/bin:/usr/local/mysql/bin:.)
>Writing Makefile for Apache::Log
>which: no apxs in (/usr/local/bin:/bin:/usr/bin:/usr/local/mysql/bin:.)
>Writing Makefile for Apache::ModuleConfig
>which: no apxs in (/usr/local/bin:/bin:/usr/bin:/usr/local/mysql/bin:.)
>Writing Makefile for Apache::PerlRunXS
>which: no apxs in (/usr/local/bin:/bin:/usr/bin:/usr/local/mysql/bin:.)
>Writing Makefile for Apache::Server
>Writing Makefile for Apache::Symbol
>which: no apxs in (/usr/local/bin:/bin:/usr/bin:/usr/local/mysql/bin:.)
>Writing Makefile for Apache::Table
>which: no apxs in (/usr/local/bin:/bin:/usr/bin:/usr/local/mysql/bin:.)
>Writing Makefile for Apache::URI
>which: no apxs in (/usr/local/bin:/bin:/usr/bin:/usr/local/mysql/bin:.)
>Writing Makefile for Apache::Util
>Writing Makefile for mod_perl