Vicki Brown wrote:
At 12:34 +1100 2003-02-09, Stas Bekman wrote:

Vicki, you are obviously missing some build steps.

Obviously :/


How about starting from
scratch again following the guide and get this frustration over?

Sadly, I started from scratch the first time.


Thousands of people have simply followed the instructions at:
http://perl.apache.org/docs/1.0/guide/getwet.html#Installing_mod_perl_in_Three_Steps

Those are the same steps I have been following. I reiterate:

Following the instructions in INSTALL-apaci (essentially identical to the web
page you supplied above)  I ran

  perl Makefile.PL APACHE_PREFIX=/usr/local/apache \
  APACHE_SRC=../apache_1.3.26/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1

  make

  make test

"The latter did many things" (meaning "printed many bytes of make output, cc
stuff, and cp commands to the screen...") and eventually complained

  Syntax error on line 3 of
  /ad4/ENV/common/src/WWW/mod_perl-1.27/t/conf/httpd.conf:
  Invalid command '=pod', perhaps mis-spelled or defined by a module not
  included in the server configuration

So, obviously, I needed to do a make clean in the apache tree... OK. I did
that. In fact, I downloaded a newer version of Apache.  I also added the
configure options I used to build Apache last time.

Then I tried again:

perl Makefile.PL APACHE_PREFIX=/usr/local/apache  \
APACHE_SRC=../apache_1.3.27/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 \
APACI_ARGS='--server-uid=www \
                --server-gid=www \
                --with-perl=/usr/bin/perl \
                --with-layout=Apache \
                --enable-module=most \
                --enable-shared=max \
                --enable-module=auth_db \
                --enable-module=mmap_static \
                --activate-module=src/modules/perl/libperl.a \
                --enable-shared=perl \
                --disable-module=auth_dbm \
                --disable-rule=EXPAT  \
'

Now I get (at the end of the make test)
     ../apache_1.3.27/src/httpd: not found


This would seem to indicate that the "1 2 3" step process doesn't build
Apache (as it claims: "If your goal is just to build and install Apache 1.3
with mod_perl out of their source trees and have no special interests in
further adjusting or enhancing Apache... the following... builds Apache
statically with mod_perl, installs Apache under </path/to/install/of/apache/>
and mod_perl into the <site_lib> hierarchy of your existing Perl
installation. All in one step.")


Ideas appreciated...  In the meantime, I will add a "4th step" and configure
Apache "by hand".
what happens if you do:

cd ../apache_1.3.27/src
make
cd -
make test

--


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to