Help for installation....

2000-09-06 Thread Derrick

Dear all,
Does anybody know how to fix the following error?
I am sure i already have the license file directive in the configuration
file.  Everything runs fine except when i was trying to install this
mod-perl.  I am using Freebsd4 and stronghold.  I got the following error
when i ran "make test" after "make" for mod-perl.



Skip blib/arch/auto/Apache/include/include/compat.h (unchanged)
/usr/local/stronghold/src/httpsd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t 
httpd listening on port 8529
will write error_log to: t/logs/error_log
LICENSE: No StrongholdLicenseFile directive
Add a StrongholdLicenseFile directive into your configuration file
giving the file containing your license block.
letting apache warm up...\c
To get a license block, see http://www.int.c2.net/stronghold/lbfail
done
/usr/bin/perl t/TEST 0
still waiting for server to warm up...not ok
server failed to start! (please examine t/logs/error_log) at t/TEST line 95.
*** Error code 61

Stop in /usr/derrick/modperl.

===
Thanks,

Derrick




Re: Help for installation....

2000-09-06 Thread Pramod Sokke

Derrick,

We've all had the same problem with running 'make test' under stronghold.
All my queries to the Stronghold folk about this went unanswered.
Carl Hansen detailed me about the steps to go through for a successful
installation and advised not to run 'make test'. I followed exactly that and
everything's working fine for me.

Here's what I followed:

install stronghold via their script into /export/home/strongholdtest
then
cd /export/home
zcat mod_perl-1.24.tar.gz | tar xvf -
cd mod_perl-1.24
perl Makefile.PL APACHE_SRC=../strongholdtest/src/ DO_HTTPD=1 USE_APACI=0
EVERYTHING=1
make

Note well USE_APACI=0 ie dont use it. Stronghold seems to be set up to build
using
the older system. You may have to go into ../strongholdtest/src/ and make
sure
Configuration is the way you want it.

The other complication is that Stronghold comes with an installation of perl
in it's
own directories. I didn't want to use theirs. Look in bin. They have a
wrapper script
'shperl' which just points to their version. I edited it to point to the
right version.
May have something to do with the 'make test' problem:
I suggest you do ' httpd -l ' to see that the modules you want are
indeed compiled in. Then , I just skipped 'make test', moved the httpd to
the right
directory, and just start using it.  If it works that is sufficient test.

You could debug their test script , but it is a waste of time.


Hope this helps!
-Pramod



- Original Message -
From: Derrick [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 06, 2000 2:28 PM
Subject: Help for installation


 Dear all,
 Does anybody know how to fix the following error?
 I am sure i already have the license file directive in the configuration
 file.  Everything runs fine except when i was trying to install this
 mod-perl.  I am using Freebsd4 and stronghold.  I got the following error
 when i ran "make test" after "make" for mod-perl.



 
 Skip blib/arch/auto/Apache/include/include/compat.h (unchanged)
 /usr/local/stronghold/src/httpsd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t

 httpd listening on port 8529
 will write error_log to: t/logs/error_log
 LICENSE: No StrongholdLicenseFile directive
 Add a StrongholdLicenseFile directive into your configuration file
 giving the file containing your license block.
 letting apache warm up...\c
 To get a license block, see http://www.int.c2.net/stronghold/lbfail
 done
 /usr/bin/perl t/TEST 0
 still waiting for server to warm up...not ok
 server failed to start! (please examine t/logs/error_log) at t/TEST line
95.
 *** Error code 61

 Stop in /usr/derrick/modperl.


 ===
 Thanks,

 Derrick