This took a while to track, but this may be useful in the
archives:
I was using an old version of apxs that came with Apache 1.3.12,
not 1.3.20. Change your path to include the newwer apxs and
everything's groovy. -sc
> Should I be worried? I've never seen this before... I want
> build mod_perl as a DSO. THoughts? -sc
>
> # perl Makefile.PL USE_APXS=1 EVERYTHING=1 PREFIX=/usr/local
>WITH_APXS=/usr/local/sbin/apxs
>PERL_EXTRA_CFLAGS='-DDEFAULT_PATH=\"/bin:/usr/bin:/usr/local/bin\"'
> Will configure via APXS (apxs=/usr/contrib/bin/apxs)
^^^^^^^^^^^^^^^^^^^^^
[snip]
> require: not found
> use: not found
> package: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> /usr/contrib/bin/apxs: 87: Syntax error: ";" unexpected
> require: not found
> use: not found
> package: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> /usr/contrib/bin/apxs: 87: Syntax error: ";" unexpected
> require: not found
> use: not found
> package: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> my: not found
> /usr/contrib/bin/apxs: 87: Syntax error: ";" unexpected
> Configuring mod_perl for building via APXS
> + Creating a local mod_perl source tree
> + Setting up mod_perl build environment (Makefile)
> + id: mod_perl/1.26
> + id: Perl/5.00503 (bsdos) [perl]
> Now please type 'make' to build libperl.so
> Checking CGI.pm VERSION..........ok
> Checking for LWP::UserAgent......ok
> Checking for HTML::HeadParser....ok
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Apache
> Writing Makefile for Apache::Connection
> Writing Makefile for Apache::Constants
> Writing Makefile for Apache::File
> Writing Makefile for Apache::Leak
> Writing Makefile for Apache::Log
> Writing Makefile for Apache::ModuleConfig
> Writing Makefile for Apache::PerlRunXS
> Writing Makefile for Apache::Server
> Writing Makefile for Apache::Symbol
> Writing Makefile for Apache::Table
> Writing Makefile for Apache::URI
> Writing Makefile for Apache::Util
> Writing Makefile for mod_perl
--
Sean Chittenden
PGP signature