I am still here, trying to build mod_perl 2.
Many thanks to everyone who offered help.

To recap: I freshly installed RedHat 9 on a box,
then used RPM to remove modules involving httpd.
(See notes below).  Then I built perl 5.8.0 from
source, first doing a "export LANG=C" to address
the UTF bug.  The perl build worked.  I did everything
as non-root until the make install, which I did as
root.

I then built Apache 2.0.47 from source.
Seemed to go OK (there was no make test step...)
I did everything as non-root until the make install,
which I did as root.

Then as root I used CPAN to install 
Bundle::WWW, LWP, and HTML::Parser.  
Had some troubles, used the force option, and plowed
ahead.  (Maybe I should have stopped here at the first

sign of trouble....)

As non-root, did 
cd mod_perl-1.99_09/
perl Makefile.PL MP_AP_PREFIX=$HOME/httpd/prefork
MP_INST_APACHE2=1
make

which went fine.  

make tests did not work -- below is the bottom of the
output.

Argh!

Suggestions?

- A

PS Below the make test output below, I included a 
note file where I've been pasting commands I've run...
in some places, it contains notes, rather than exact
linux commands.

==================================
= BOTTOM OF FAILED make test 
==================================

<snip>
/usr/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST -clean
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST -clean
APACHE_USER= APACHE_GROUP= APACHE_PORT= APACHE= APXS=
\
/usr/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST -verbose=0
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST -verbose=0
/home/aprk/httpd/prefork/bin/httpd  -d
/home/aprk/src/mod_perl-1.99_09/t -f
/home/aprk/src/mod_perl-1.99_09/t/conf/httpd.conf
-DAPACHE2
using Apache/2.0.47 (prefork MPM)

waiting for server to start: ..[Fri Aug 01 22:34:36
2003] [info] 19 Apache:: modules loaded
[Fri Aug 01 22:34:36 2003] [info] 3 APR:: modules
loaded
[Fri Aug 01 22:34:36 2003] [info] base server + 8
vhosts ready to run tests
..
waiting for server to start: ok (waited 2 secs)
server SAM:8529 started
server SAM:8530 listening (TestProtocol::echo_filter)
server SAM:8531 listening (TestProtocol::echo)
server SAM:8532 listening (TestPreConnection::note)
server SAM:8533 listening (TestFilter::in_str_msg)
server SAM:8534 listening
(TestFilter__both_str_con_add)
server SAM:8535 listening (TestFilter::in_bbs_msg)
server SAM:8536 listening (TestDirective::perlmodule)
server SAM:8537 listening (TestDirective::perlrequire)
server SAM:8538 listening
(TestDirective::perlloadmodule4)
server SAM:8539 listening
(TestDirective::perlloadmodule5)
server SAM:8540 listening
(TestDirective::perlloadmodule3)
server SAM:8541 listening
(TestDirective::perlloadmodule6)
apache/add_config..............ok
apache/cgihandler..............ok
apache/conftree................ok
apache/constants...............ok
apache/post....................ok
apache/read....................ok
apache/scanhdrs................ok
apache/scanhdrs2...............ok
apache/send_cgi_header.........ok
apache/subprocess..............ok
apache/write...................ok
api/access.....................ok
api/aplog......................ok
api/conn_rec...................ok
api/lookup_uri.................ok
api/lookup_uri2................ok
api/module.....................ok
api/r_subclass.................ok
api/request_rec................ok
api/response...................ok
api/rutil......................ok
api/sendfile...................ok
api/server_rec.................ok
api/server_util................ok
api/uri........................ok
apr/base64.....................ok
apr/constants..................ok
apr/date.......................ok
apr/netlib.....................ok
apr/os.........................ok
apr/pool.......................ok
apr/socket.....................ok
apr/string.....................ok
apr/table......................ok
apr/threadmutex................skipped
        all skipped: Perl was not built with
'ithreads' enabled
apr/util.......................ok
apr/uuid.......................ok
compat/apache..................ok
compat/apache_file.............ok
compat/apache_table............ok
compat/apache_uri..............ok
compat/apache_util.............ok
compat/conn_authen.............ok
compat/request.................ok
compat/request_body............ok
compat/send_fd.................ok
directive/env..................ok
directive/perl.................ok
directive/perldo...............ok
directive/perlloadmodule.......ok
directive/perlloadmodule2......ok
directive/perlloadmodule3......ok
directive/perlloadmodule4......ok
directive/perlloadmodule5......ok
directive/perlloadmodule6......ok
directive/perlmodule...........ok
directive/perlrequire..........ok
directive/pod..................ok
directive/setupenv.............ok
error/api......................ok
error/runtime..................ok
error/syntax...................ok
filter/both_str_con_add........ok
filter/both_str_req_add........ok
filter/in_bbs_body.............ok
filter/in_bbs_msg..............ok
filter/in_init_basic...........ok
filter/in_str_consume..........ok
filter/in_str_declined.........ok
filter/in_str_lc...............ok
filter/in_str_msg..............ok
filter/in_str_sandwich.........ok
filter/out_bbs_basic...........ok
filter/out_bbs_ctx.............ok
filter/out_init_basic..........ok
filter/out_str_api.............ok
filter/out_str_ctx.............ok
filter/out_str_declined........ok
filter/out_str_lc..............ok
filter/out_str_remove..........ok
filter/out_str_req_eos.........ok
filter/out_str_reverse.........ok
hooks/access...................ok
hooks/authen...................ok
hooks/authz....................ok
hooks/cleanup..................ok
hooks/fixup....................ok
hooks/headerparser.............ok
hooks/init.....................ok
hooks/push_handlers............ok
hooks/stacked_handlers.........ok
hooks/trans....................ok
modperl/current_callback.......ok
modperl/dir_config.............ok
modperl/endav..................ok
modperl/env....................ok
modperl/exit...................ok
modperl/getc...................ok
modperl/method.................ok
modperl/methodname.............ok
modperl/methodobj..............ok
modperl/perl...................ok
modperl/pnotes.................ok
modperl/print..................ok
modperl/printf.................ok
modperl/readline...............ok
modperl/request_rec_tie_api....ok
modperl/sameinterp.............ok
modperl/setauth................ok
modperl/subenv.................ok
modperl/taint..................ok
modules/cgi....................ok
modules/cgiupload..............ok
modules/include................ok
modules/include2...............ok
preconnection/note.............ok
protocol/echo..................ok
protocol/echo_filter...........ok
All tests successful, 1 test skipped.
Files=118, Tests=621, 134 wallclock secs (117.14 cusr
+ 10.72 csys = 127.86 CPU)
*** server SAM:8529 shutdown
cd ModPerl-Registry && make test
make[1]: Entering directory
`/home/aprk/src/mod_perl-1.99_09/ModPerl-Registry'
/usr/bin/perl -I../blib/arch/Apache2
-I../blib/lib/Apache2 \
t/TEST -clean
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST -clean
APACHE_USER= APACHE_GROUP= APACHE_PORT= APACHE= APXS=
\
/usr/bin/perl -I../blib/arch/Apache2
-I../blib/lib/Apache2 \
t/TEST -verbose=0
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST -verbose=0
/home/aprk/httpd/prefork/bin/httpd  -d
/home/aprk/src/mod_perl-1.99_09/ModPerl-Registry/t -f
/home/aprk/src/mod_perl-1.99_09/ModPerl-Registry/t/conf/httpd.conf
-DAPACHE2
using Apache/2.0.47 (prefork MPM)

waiting for server to start: ....
waiting for server to start: ok (waited 3 secs)
server SAM:8529 started
206................ok
404................ok
500................ok
bad_scripts........ok
basic..............ok
cgi................NOK 2# Failed test 2 in cgi.t at
line 19
cgi................FAILED test 2
        Failed 1/2 tests, 50.00% okay
closure............ok
perlrun_require....ok
redirect...........ok
special_blocks.....ok
Failed Test Stat Wstat Total Fail  Failed  List of
Failed
-------------------------------------------------------------------------------
cgi.t                      2    1  50.00%  2
*** server SAM:8529 shutdown
!!! error running tests (please examine
t/logs/error_log)
make[1]: *** [run_tests] Error 1
make[1]: Leaving directory
`/home/aprk/src/mod_perl-1.99_09/ModPerl-Registry'
make: *** [run_tests] Error 2
[EMAIL PROTECTED]:~/src/mod_perl-1.99_09>
[EMAIL PROTECTED]:~/src/mod_perl-1.99_09>
[EMAIL PROTECTED]:~/src/mod_perl-1.99_09>


==================================
= MISC NOTES FROM INSTALL 
==================================

Note file where I've been pasting commands I've run...
in some places, it contains notes, rather than exact
linux commands, in other places, exact commands, or
copypaste from the terminal...




su
updatedb
[EMAIL PROTECTED] root]# rpm -e mod_ssl
[EMAIL PROTECTED] root]# rpm -e mod_python
[EMAIL PROTECTED] root]# rpm -e pho
[EMAIL PROTECTED] root]# rpm -e php-ldap
[EMAIL PROTECTED] root]# rpm -e php-imap
[EMAIL PROTECTED] root]# rpm -e php
[EMAIL PROTECTED] root]# rpm -e redhat-config-httpd
[EMAIL PROTECTED] root]# rpm -e webalizer
[EMAIL PROTECTED] root]# rpm -e httpd
[EMAIL PROTECTED] root]# rpm -e mod_perl
.....download perl, apache, mod_perl
-rw-rw-r--    1 aprk     aprk      6260081 Jul  7
11:09 httpd-2.0.47.tar.gz
-rw-rw-r--    1 aprk     aprk       918029 Apr 27
22:53 mod_perl-2.0-current.tar.gz
-rw-------    1 aprk     aprk      4145152 Aug  1
16:48 perl-5.8.0.tar.gz
........unzip and untar them
cd perl-5.8.0
./Configure -des
.......fix the UTF bug
export LANG=C  (from
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=87682)
make && make test
su
cd ....perl-5.8.0
make install
exit
cd .......httpd
./configure --prefix=$HOME/httpd/prefork
--with-mpm=prefork
make
su
make install
exit
cd mod_perl-1.99_09/
perl Makefile.PL MP_AP_PREFIX=$HOME/httpd/prefork
MP_INST_APACHE2=1
make
su
perl -MCPAN -eshell
force install HTML::Parser
force install LWP
force install WWW::Bundle (?not sure?)
exit
make test



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Reply via email to