Re: Skipped Tests (was: handler help)

2003-08-04 Thread Perrin Harkins
On Fri, 2003-08-01 at 22:53, Tofu Optimist wrote:
 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

FYI, this was probably also because of the locale issue.  Best to make
it a global change so you won't have to set it every time you want to
run (or install) perl stuff.

- Perrin


Re: Skipped Tests (was: handler help)

2003-08-03 Thread Ron Savage
We're getting out of my area of experience here, I don't use
mod_perl2,
but I hear there are recent changes to CGI.pm.  Did you install the
latest CGI.pm?  You should.

73,
Ged.

For the record, the last CGI.pm which I could get to work under
Win2K/IE 6 is 2.97.

V 2.99 corrupts the string returned by $q - url() by %-etc encoding
/-etc characters.
--
Ron Savage, [EMAIL PROTECTED] on 04/08/2003. Room EF 312
Deakin University, 221 Burwood Highway, Burwood, VIC 3125, Australia
Phone: +61-3-9251 7067, Fax: +61-3-9251 7604
http://www.deakin.edu.au/~rons




Re: Skipped Tests (was: handler help)

2003-08-01 Thread Ged Haywood
Hi there,

On Fri, 1 Aug 2003, Tofu Optimist wrote:

 sorry to break the thread in two.

:(


 Why did it skip 6 tests?

How did you do the

perl Makefile.PL

step?

73,
Ged.




Re: Skipped Tests (was: handler help)

2003-08-01 Thread Tofu Optimist
Exactly like it said in 

http://perl.apache.org/docs/1.0/guide/install.html#A_Summary_of_a_Basic_mod_perl_Installation

% cd /usr/src
  % lwp-download
http://www.apache.org/dist/httpd/apache_1.3.xx.tar.gz
  % lwp-download
http://perl.apache.org/dist/mod_perl-1.xx.tar.gz
  % tar xzvf apache_1.3.xx.tar.gz
  % tar xzvf mod_perl-1.xx.tar.gz
  % cd mod_perl-1.xx
  % perl Makefile.PL APACHE_SRC=../apache_1.3.xx/src \
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
  % make  make test  make install
  % cd ../apache_1.3.xx
  % make install


--- Ged Haywood [EMAIL PROTECTED] wrote:
 Hi there,
 
 On Fri, 1 Aug 2003, Tofu Optimist wrote:
 
  sorry to break the thread in two.
 
 :(
 
 
  Why did it skip 6 tests?
 
 How did you do the
 
 perl Makefile.PL
 
 step?
 
 73,
 Ged.
 
 


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


Re: Skipped Tests (was: handler help)

2003-08-01 Thread Ged Haywood
Hello again,

On Fri, 1 Aug 2003, Tofu Optimist wrote:

 --- Ged Haywood [EMAIL PROTECTED] wrote:
 
  How did you do the
  
  perl Makefile.PL
  
  step?
 
 % cd /usr/src
   % tar xzvf apache_1.3.xx.tar.gz
   % tar xzvf mod_perl-1.xx.tar.gz
   % cd mod_perl-1.xx
   % perl Makefile.PL APACHE_SRC=../apache_1.3.xx/src DO_HTTPD=1 USE_APACI=1 
 EVERYTHING=1

So your non-root user has write permission in /usr/src?  H...

   % make  make test  make install

This can't work, you need to be root to make install.

73,
Ged.

PS:
Did you build your own Perl?
Have you cleaned up any old Apaches and mod_perls?
(RH9 comes with Apache2, you probably want to get rid of that:).



Re: Skipped Tests (was: handler help)

2003-08-01 Thread Tofu Optimist

Ged -- Sorry I wasn't fully explicit, it is still
early in the morning:

 So your non-root user has write permission in
 /usr/src?  H...

Rather than /usr/src, I put in /home/aprk

   % make  make test  make install
  This can't work, you need to be root to make
 install.
 

Yes, you are correct.  make  make test as non-root,
then install as root.  (Odd, isn't it, the docs at
http://perl.apache.org/docs/1.0/guide/install.html#A_Summary_of_a_Basic_mod_perl_Installation

don't make this explicit?)

 PS:
 Did you build your own Perl?

Yes, 5.8.0

 Have you cleaned up any old Apaches and mod_perls?
 (RH9 comes with Apache2, you probably want to get
 rid of that:).

Excellent point.   No.  There are probably hordes of
perls and hpptds and mod_perls running amok on the box
throwing wild parties;  I don't know.

I think my next step should be to start over fresh. 
Again.

As a newbie, may I ask 4 basic questions:

[1] How do I find *everything* on the box related to
perl / apache / mod_perl, both 1 and 2, both the RH
install and from my own ftp / tar / make fumblings?

[2] How do I uninstall everything from [1], so I can
start fresh?

[3] I'd prefer to use modperl 2 and apache 2, as that
is what my ISP is using.  And I think I'd prefer to
use RH rpm to install them, as again, that is what my
ISP did.  (Want my dev box to match the outside box as
much as possible).  This newsgroup keeps mentioning
build from sources, will I be going astray trying
the rpm route?

[4] Is a full uninstall enough, or should I reinstall
RH itself?

Many thanks for your generosity explaining these
mysteries to a newcomer.

-- A

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


Re: Skipped Tests (was: handler help)

2003-08-01 Thread Perrin Harkins
On Fri, 2003-08-01 at 10:31, Tofu Optimist wrote:
 [1] How do I find *everything* on the box related to
 perl / apache / mod_perl, both 1 and 2, both the RH
 install and from my own ftp / tar / make fumblings?

Well, you can run updatedb and then use locate to look for things like
apachectl and Apache.pm.

 [2] How do I uninstall everything from [1], so I can
 start fresh?

There is no simply way to uninstall software that you installed from
source.  There are things you can do though.  First uninstall any apache
or mod_perl rpms.  Then you can clear out all the Apach::* modules from
your perl lib, and delete all the web server stuff (which is typically
installed under a single directory).

 [3] I'd prefer to use modperl 2 and apache 2, as that
 is what my ISP is using.

Okay, then stop reading docs for mod_perl 1.

 And I think I'd prefer to
 use RH rpm to install them, as again, that is what my
 ISP did.

Don't do that.  mod_perl 2 is basically in alpha right now and changes
every day.  If you plan to run it, you must keep on top of development. 
The rpms for mod_perl 2 are ancient at this point.

 [4] Is a full uninstall enough, or should I reinstall
 RH itself?

The latter is more complete, but if you don't see any more httpd.conf
files or Apache:: modules, you have probably cleaned things close
enough.

- Perrin



Re: Skipped Tests (was: handler help)

2003-08-01 Thread Ged Haywood
Hi there,

On Fri, 1 Aug 2003, Tofu Optimist wrote:

 Rather than /usr/src, I put in /home/aprk

That's fine.  But in future, tell us what you did, not some fiction... :)

 Yes, you are correct.  make  make test as non-root,
 then install as root.  (Odd, isn't it, the docs at
 http://perl.apache.org/docs/1.0/guide/install.html#A_Summary_of_a_Basic_mod_perl_Installation
 don't make this explicit?)

Yes, I always think that, but many of the Open Source packages neglect
to mention this point every time it might be mentioned.  I think authors
expect it to be either very obvious or else perhaps unnecessary - some
operating systems don't have a Unix-like permisisons system.

  Did you build your own Perl?
 
 Yes, 5.8.0

Good.  You might want to try 5.8.1 soon, but I don't think that's a
problem here.

  Have you cleaned up any old Apaches and mod_perls?
 
 No.  There are probably hordes of perls and hpptds and mod_perls
 running amok on the box throwing wild parties; I don't know.

Argh.  The Apache2/modperl2 that comes with RH9 is junk.  Get rid of
it all.  Use 'ps' to see what processes you have running and stop any
httpd processes that you don't think you started.  RH will start an
Apache when it boots if you let it, I wish they wouldn't do that.
Read 'man chkconfig'.  Go into /etc/rc.d and look at the startup
scripts.  Use chkconfig to prevent Apache being started at boot so
you can start it manually when you've built it.  When you're happy
that it's all as you wnt it, you might want to use chkconfig to set
it up to start at boot again.

 I think my next step should be to start over fresh. 
 Again.

:)

 [1] How do I find *everything* on the box related to
 perl / apache / mod_perl, both 1 and 2, both the RH
 install and from my own ftp / tar / make fumblings?
 [2] How do I uninstall everything from [1], so I can
 start fresh?

Well RH should let you uninstall packages with rpm, but I don't use
rpm and I tend to avoid RedHat so I don't know exactly how you'd do
it.  My preference would be to look in /usr/local/ and /var/lib to see
if there are any apache things such as /usr/local/apache, and if so go
in there as root and rm -rf the entire apache directory.  That will
perhaps throw away config files etc. you've been working on, you might
want to make backups.  When you've done that you might want to use
slocate to build a database of filenames on your filesystem, then use
it to search for any httpd or apachectl files that escaped.  If so
there'll probably be truckloads of files in there with them.  Nukem.
The source trees in your home directory don't matter.  Nuke them too.
You won't need to do anything about Perl on your system if you really
did compile it from source yourself.

 [3] I'd prefer to use modperl 2 and apache 2, as that is what my ISP
 is using.  And I think I'd prefer to use RH rpm to install them, as
 again, that is what my ISP did.  (Want my dev box to match the
 outside box as much as possible).  This newsgroup keeps mentioning
 build from sources, will I be going astray trying the rpm route?

I hate RPMs.  For Apache2/modperl2 you would be better off going to
the CVS sources unless you can get hold of a very recent RPM, things
are changing really fast in the mod_perl version 2 codebase.  True, it
could be important for your dev box to match your prod box, but when
you figure out what's going on it will probably matter less - until
you start doing really fancy stuff, when it will start to matter again.

 [4] Is a full uninstall enough, or should I reinstall RH itself?

No, don't reinstall the entire OS.  Get used to what your system feels
like and eventually you'll know what to leave alone and what to change.

 mysteries to a newcomer.

FWIW you sound like you're picking it up quickly.

73,
Ged.



Re: Skipped Tests (was: handler help)

2003-08-01 Thread Tofu Optimist
Thanks Ged.

 [4] Is a full uninstall enough, or should I
 reinstall RH itself?
 
 No, don't reinstall the entire OS.  Get used to what
 your system feels
 like and eventually you'll know what to leave alone
 and what to change.

Well, I opted to reinstall everything, starting with a
fresh RH9.

Then I removed all the relevant RH9 RPMS:

[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 mod_perl
[EMAIL PROTECTED] root]# rpm -e httpd

(I had to take out mod_ssl, mod_python, etc so as to
free up dependencies.)

MY QUESTION:

Now I want to remove perl, too:

[EMAIL PROTECTED] root]# rpm -e perl
error: Failed dependencies:
perl is needed by (installed) logwatch-4.3.1-2
perl is needed by (installed) w3m-0.3.2.2-5
perl = 0:5.002 is needed by (installed)
perl-Filter-1.29-3
perl = 0:5.00503 is needed by (installed)
perl-DateManip-5.40-30
perl = 0:5.000 is needed by (installed)
perl-DateManip-5.40-30
perl = 0:5.00503 is needed by (installed)
perl-HTML-Tagset-3.03-28
perl = 1:5 is needed by (installed)
perl-HTML-Tagset-3.03-28
perl = 5.6.0 is needed by (installed)
perl-HTML-Parser-3.26-17
perl = 0:5.004 is needed by (installed)
perl-HTML-Parser-3.26-17
perl = 0:5.00503 is needed by (installed)
perl-Parse-Yapp-1.05-30
perl = 0:5.004 is needed by (installed)
perl-Parse-Yapp-1.05-30
perl = 0:5.00503 is needed by (installed)
perl-URI-1.21-7
perl = 0:5.00503 is needed by (installed)
perl-libwww-perl-5.65-6
perl = 0:5.002 is needed by (installed)
perl-libwww-perl-5.65-6
perl = 0:5.004 is needed by (installed)
perl-libwww-perl-5.65-6
perl = 0:5.005 is needed by (installed)
perl-libwww-perl-5.65-6
perl = 2:5.8.0 is needed by (installed)
perl-XML-Parser-2.31-15
perl = 0:5.004 is needed by (installed)
perl-XML-Parser-2.31-15
perl = 5.6.0 is needed by (installed)
perl-libxml-perl-0.07-28
 perl = 0:5.005 is needed by (installed)
perl-libxml-perl-0.07-28
perl = 5.6.0 is needed by (installed)
perl-XML-Dumper-0.4-25
perl = 5.6.0 is needed by (installed)
perl-XML-Encoding-1.01-23
perl = 0:5.005 is needed by (installed)
perl-XML-Encoding-1.01-23
perl = 0:5.00503 is needed by (installed)
perl-libxml-enno-1.02-29
perl = 5.6.0 is needed by (installed)
perl-XML-Grove-0.46alpha-25
perl = 0:5.005 is needed by (installed)
perl-XML-Grove-0.46alpha-25
perl = 0:5.004 is needed by (installed)
perl-XML-Twig-3.09-3
perl = 5.6.1 is needed by (installed)
foomatic-2.0.2-15
perl is needed by (installed)
redhat-config-printer-0.6.47-1
perl = 1:5 is needed by (installed)
emacs-21.2-33
perl is needed by (installed)
libgnomeprint22-2.2.1.1-3
perl is needed by (installed)
docbook-dtds-1.0-17
perl is needed by (installed)
libgnomeprint-1.116.0-6
perl is needed by (installed)
desktop-printing-0.1.10-6
perl = 1:5 is needed by (installed)
xscreensaver-4.07-2
perl is needed by (installed) autoconf-2.57-3
perl = 0:5.000 is needed by (installed)
autoconf-2.57-3
perl = 0:5.005_03 is needed by (installed)
autoconf-2.57-3
perl is needed by (installed)
automake14-1.4p6-5.1
perl is needed by (installed) automake15-1.5-6
perl = 0:5.005 is needed by (installed)
automake15-1.5-6


Now, in this forum I heard the importance of building
perl with the same compiler that you use for httpd and
mod_perl.

Am I going to have problems following the MP 2.0
install instructions

http://perl.apache.org/docs/2.0/user/install/install.html

if I don't nuke the current perl first?

Thanks.

And this time I'll restrict my reading to the 2.0
install docs, rather than dipping back into the 1.0
docs in the middle of 2.0 install.  (Doh!)

Thanks for advice on this --

A






   Did you build your own Perl?
  Yes, 5.8.0
 Good.  You might want to try 5.8.1 soon, but I don't
 think that's a
 problem here.
 
   Have you cleaned up any old Apaches and
 mod_perls?
  
  No.  There are probably hordes of perls and hpptds
 and mod_perls
  running amok on the box throwing wild parties; I
 don't know.
 
 Argh.  The Apache2/modperl2 that comes with RH9 is
 junk.  Get rid of
 it all.  Use 'ps' to see what processes you have
 running and stop any
 httpd processes that you don't think you started. 
 RH will start an
 Apache when it boots if you let it, I wish they
 wouldn't do that.
 Read 'man chkconfig'.  Go into /etc/rc.d and look at
 the startup
 scripts.  Use chkconfig to prevent Apache being
 started at boot so
 you can start it manually when you've built it. 
 When you're 

Re: Skipped Tests (was: handler help)

2003-08-01 Thread Perrin Harkins
On Fri, 2003-08-01 at 16:24, Tofu Optimist wrote:
 Am I going to have problems following the MP 2.0
 install instructions
 
 http://perl.apache.org/docs/2.0/user/install/install.html
 
 if I don't nuke the current perl first?

No, you should be fine.  However, I have also simply installed a new
perl on top of the one shipped by RH with no problems.  (I did this
because I wanted to use 5.6.1 rather than 5.8.0.)  You will be blowing
the RPM system by doing that, so it's not an advisable way to handle a
large cluster of machines, but it works fine if you just need to get a
quick dev environment bootstrapped.

- Perrin


Re: Skipped Tests (was: handler help)

2003-08-01 Thread Tofu Optimist
Ack!!  My perl build failed.

Here's what I did

 nuke the RPMS
[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

ls
-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, then 

cd perl-5.8.0
./Configure -des
make  make test

Here's the failure

Failed Test   Stat Wstat Total
Fail  Failed  List of Failed
---
../lib/Locale/Codes/t/all.t 20   
2  10.00%  9-10
../lib/Locale/Codes/t/languages.t   59   
1   1.69%  22
42 tests and 406 subtests skipped.
Failed 2/712 test scripts, 99.72% okay. 3/68552
subtests failed, 100.00% okay.


Oh helpful gurus, any advice?

With gratitude --

A

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


Re: Skipped Tests (was: handler help)

2003-08-01 Thread Perrin Harkins
On Fri, 2003-08-01 at 17:46, Tofu Optimist wrote:
 Ack!!  My perl build failed.
[...]
 Failed Test   Stat Wstat Total
 Fail  Failed  List of Failed
 ---
 ../lib/Locale/Codes/t/all.t 20   
 2  10.00%  9-10
 ../lib/Locale/Codes/t/languages.t   59   
 1   1.69%  22
 42 tests and 406 subtests skipped.
 Failed 2/712 test scripts, 99.72% okay. 3/68552
 subtests failed, 100.00% okay.

You didn't follow my earlier advice about changing the locale, did you? 
I wasn't kidding about that.  You can't build perl 5.8.0 successfully on
a RH 9 system unless you change the locale.

Note that 5.8.1 does not have this problem and is about to be released.

- Perrin


Re: Skipped Tests (was: handler help)

2003-08-01 Thread Tofu Optimist
I'm not TRYING to be difficult; I am clueless.
:)

Exactly HOW do I change the locale?

And after I do that, I do my

make  make install

again, yes?

Many thanks!
:)

A


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


Re: Skipped Tests (was: handler help)

2003-08-01 Thread Tofu Optimist
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/conftreeok
apache/constants...ok
apache/postok
apache/readok
apache/scanhdrsok
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_uri2ok
api/module.ok
api/r_subclass.ok
api/request_recok
api/response...ok
api/rutil..ok
api/sendfile...ok
api/server_rec.ok
api/server_utilok
api/uriok
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/threadmutexskipped
all skipped: Perl was not built with
'ithreads' enabled
apr/util...ok
apr/uuid...ok
compat/apache..ok
compat/apache_file.ok
compat/apache_tableok
compat/apache_uri..ok
compat/apache_util.ok
compat/conn_authen.ok
compat/request.ok
compat/request_bodyok
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_addok
filter/both_str_req_addok

Re: Skipped Tests (was: handler help)

2003-08-01 Thread Ged Haywood
Hi there,

On Fri, 1 Aug 2003, Tofu Optimist wrote:

 Exactly HOW do I change the locale?

http://twiki.org/cgi-bin/view/Codev/UsingPerl58OnRedHat8

about half a dozen messages down.  See also

http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=87682

 make  make install
 
 again, yes?

Better start with

% cd  /home/directory/src

(or whatever your home directory is) and then

% rm -rf apache_1.3.28
% rm -rf mod_perl-1.28
% tar xzvf apache_1.3.28.tgz
% tar xzvf mod_perl-1.28
% perl Makefile.PL 

and I would suggest that in future instead of

% make  make install

that you do these steps as separate commands

% make
% make test
% su
Password:
# make install
# exit
%

which will give you the opportunity to abandon ship at any point
before the install.  Finally if you do

% script

before you start the 'perl Makefile.PL' step then everything you see
on the screen will be logged to a file so you can peruse it later if
you feel the need.  It will help you to become familiar with build the
process.  It looks a lot more complicated than it is.  Really.

% man script

for more details.  I'd use 'less -S' to look at the scriptfile.
In fact I always alias 'less -S' to 'li' in my login scripts... :)

73,
Ged.



Re: Skipped Tests (was: handler help)

2003-08-01 Thread Ged Haywood
Hello again,

On Fri, 1 Aug 2003, Tofu Optimist wrote:

 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

why not

LANG=en_US

?

 Then as root I used CPAN to install 
 Bundle::WWW, LWP, and HTML::Parser.  
 Had some troubles, used the force option,

Oooohhh.  Don't do that...

We're getting out of my area of experience here, I don't use mod_perl2,
but I hear there are recent changes to CGI.pm.  Did you install the
latest CGI.pm?  You should.

73,
Ged.