Re: Perl 5.8.0 to 5.8.1 under RH 9 - mod_perl problem

2004-01-27 Thread Perrin Harkins
On Tue, 2004-01-27 at 17:10, Rafael Caceres wrote:
> But while 5.8.0 compiles clean (after a LANG=;export LANG), trying to
> get 5.8.1, 5.8.2 and 5.8.3 to compile on Red Hat 9 (gcc 3.2.2-5 and
> glibc 2.3.2-27.9.7) with:
> sh Configure -de
> make
> make test
> 
> fails on test 17 at lib/Time/Local
> 
> The problems seem to have to do with my PCs havint PET (Lima, Peru time)
> timezone, and have thus far precluded my upgrading perl.

One failed test does not necessarily mean you shouldn't install.  It
depends on what is being tested and what the failure could mean to your
applications.

You should report the bug if you haven't already.  I had no problems
testing 5.8.1/2/3 on Red Hat 9 and Fedora on machines with US timezones.

- Perrin


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Re: Perl 5.8.0 to 5.8.1 under RH 9 - mod_perl problem

2004-01-27 Thread Rafael Caceres
On Tue, 2004-01-27 at 11:24, Perrin Harkins wrote:
> 
> > Seems like a lot of upgrading just to
> > go from 5.8.0 to 5.8.1, but I guess a lot of bug fixes
> > and enhancements were added.
> 
> There were a few.  The one that mattered the most to me is that the
> locale issues are fixed so that you don't have to reset your locale on
> Red Hat 9 anymore.  But really, if it was working for you, you don't
> need to upgrade.
> 

But while 5.8.0 compiles clean (after a LANG=;export LANG), trying to
get 5.8.1, 5.8.2 and 5.8.3 to compile on Red Hat 9 (gcc 3.2.2-5 and
glibc 2.3.2-27.9.7) with:
sh Configure -de
make
make test

fails on test 17 at lib/Time/Local

The problems seem to have to do with my PCs havint PET (Lima, Peru time)
timezone, and have thus far precluded my upgrading perl.

Rafael




-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Re: Perl 5.8.0 to 5.8.1 under RH 9 - mod_perl problem

2004-01-27 Thread Perrin Harkins
On Tue, 2004-01-27 at 11:16, Mike NoLast wrote:
> Thanks. As noted before, that means a major upgrade to
> several components (apache, arp, mod_perl, and so on).
> I guess I can get those components from Fedora and
> give it a whirl.

You need to understand that mod_perl 2 is still undergoing significant
development, so using it means you need to keep up.  People don't want
to try and fix compile bugs for you on a 6-month old version of
something that has had lots of bug fixes since then.  If you want a
stable mod_perl branch that doesn't need to be tracked as carefully you
would be better off with the 1.x branch.

> Seems like a lot of upgrading just to
> go from 5.8.0 to 5.8.1, but I guess a lot of bug fixes
> and enhancements were added.

There were a few.  The one that mattered the most to me is that the
locale issues are fixed so that you don't have to reset your locale on
Red Hat 9 anymore.  But really, if it was working for you, you don't
need to upgrade.

- Perrin


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Re: Perl 5.8.0 to 5.8.1 under RH 9 - mod_perl problem

2004-01-27 Thread Mike NoLast

--- Perrin Harkins <[EMAIL PROTECTED]> wrote:
> On Tue, 2004-01-27 at 08:56, Mike NoLast
> wrote:  
>   
> > rpmbuild --rebuild mod_perl-1.99_07-5.src.rpm
> 
> Don't do that; that version is ancient.  Use the
> latest.  Make your own
> RPM if you need to.
> 

Thanks. As noted before, that means a major upgrade to
several components (apache, arp, mod_perl, and so on).
I guess I can get those components from Fedora and
give it a whirl. Seems like a lot of upgrading just to
go from 5.8.0 to 5.8.1, but I guess a lot of bug fixes
and enhancements were added.


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Re: Perl 5.8.0 to 5.8.1 under RH 9 - mod_perl problem

2004-01-27 Thread Perrin Harkins
On Tue, 2004-01-27 at 08:56, Mike NoLast
wrote: 
> rpmbuild --rebuild mod_perl-1.99_07-5.src.rpm

Don't do that; that version is ancient.  Use the latest.  Make your own
RPM if you need to.

- Perrin


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Perl 5.8.0 to 5.8.1 under RH 9 - mod_perl problem

2004-01-27 Thread Mike NoLast
I am trying to upgrade perl on a RH 9 Linux system
using Fedora src.rpms.
  
I built perl and perl_suid from Fedora 5.8.1 src.rpms
without problems and installed same (had to use
--force because the CGI's man and other bundle files
conflict with the man's from the CGI bundle). I did
cpan2rpm on some of them to upgrade them.
  
However, it broke mod_perl and killed the httpd
server. Apache was unhappy with LoadModule perl_module
modules/mod_perl.so - the libperl.so referenced by
mod_perl.so was not up to its standard.
  
So, when I attempt to rebuild mod_perl from src.rpm, I
get
  
rpmbuild --rebuild mod_perl-1.99_07-5.src.rpm

gcc
-I/home/admin/rpms/BUILD/mod_perl-1.99_07/src/modules/perl
-I/home/admin/rpms/BUILD/mod_perl-1.99_07/xs
-I/usr/include/httpd
-D_REENTRANT
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing
-I/usr/local/include  -I/usr/include/gdbm
-I/usr/lib/perl5/5.8.1/i386-linux-thread-multi/CORE
-DMOD_PERL -O2 -g
-pipe
-march=i386 -mcpu=i686 -fPIC \
-c modperl_env.c && mv modperl_env.o modperl_env.lo
modperl_env.c: In function `modperl_env_hash_keys':
modperl_env.c:48: `my_perl' undeclared (first use in
this function)
modperl_env.c:48: (Each undeclared identifier is
reported only once
modperl_env.c:48: for each function it appears in.)
make[1]: *** [modperl_env.lo] Error 1
make[1]: Leaving directory
`/home/admin/rpms/BUILD/mod_perl-1.99_07/src/modules/perl'
make: *** [modperl_lib] Error 2
error: Bad exit status from
/home/admin/rpms/tmp/rpm-tmp.88664
(%build)
  
I do not see anything at line 48 along those lines.
Also, the src.rpm completes without error under 5.8.0
so it must be a 5.8.1 thingy that the src.rpm spec
file does not handle correctly or a missing patch or
what?
  
I tried using a later version of mod_perl and run into
all sorts of dependencies, including wanting me to
upgrade httpd 
  
[EMAIL PROTECTED] SRPMS]$ rpmbuild --rebuild 
mod_perl-1.99_09-10.src.rpm
Installing mod_perl-1.99_09-10.src.rpm
error: Failed build dependencies:
   httpd-devel >= 2.0.45-14 is needed by
mod_perl-1.99_09-10
   apr-devel is needed by mod_perl-1.99_09-10
   apr-util-devel is needed by mod_perl-1.99_09-10
[EMAIL PROTECTED] SRPMS]$ rpm -qa | grep -i apr-
[EMAIL PROTECTED] SRPMS]$ rpm -qa | grep -i httpd-devel
httpd-devel-2.0.40-21.9
  and so on.
  
Back to good ole 5.8.0 
  
Argg, why is it always so complicated ??
  
I googled but did not see anything that would help.
Suggestions please?

Hopefully, an upgraded mod_perl would resolve the
libperl.so issue?

Any way to use cpan2rpm to achieve a fix?


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html