<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Kevin,<br>
Just build a new Centos5.<br>
Followed the install process and came to a problem using perl 5.8.8<br>
component HTML::TextWrapper has to be manually intalled on cpan
because of two dependancies.<br>
component Text::Wrapper fails because of perl version<br>
<br>
here it is maybe to update requirements or documentation...<br>
<br>
cpan> install Text::Wrapper<br>
CPAN: Storable loaded ok<br>
Going to read /root/.cpan/Metadata<br>
Database was generated on Mon, 23 Apr 2012 13:39:03 GMT<br>
Running install for module Text::Wrapper<br>
Running make for C/CJ/CJM/Text-Wrapper-1.03.tar.gz<br>
CPAN: Digest::MD5 loaded ok<br>
CPAN: Compress::Zlib loaded ok<br>
Checksum for
/root/.cpan/sources/authors/id/C/CJ/CJM/Text-Wrapper-1.03.tar.gz ok<br>
Scanning cache /root/.cpan/build for sizes<br>
Text-Wrapper-1.03/<br>
Text-Wrapper-1.03/README<br>
Text-Wrapper-1.03/Changes<br>
Text-Wrapper-1.03/LICENSE<br>
Text-Wrapper-1.03/MANIFEST<br>
Text-Wrapper-1.03/META.yml<br>
Text-Wrapper-1.03/META.json<br>
Text-Wrapper-1.03/t/<br>
Text-Wrapper-1.03/t/00-load.t<br>
Text-Wrapper-1.03/t/20-unicode.t<br>
Text-Wrapper-1.03/t/10-wrapper.t<br>
Text-Wrapper-1.03/t/00-all_prereqs.t<br>
Text-Wrapper-1.03/t/release-pod-syntax.t<br>
Text-Wrapper-1.03/t/release-pod-coverage.t<br>
Text-Wrapper-1.03/Makefile.PL<br>
Text-Wrapper-1.03/lib/<br>
Text-Wrapper-1.03/lib/Text/<br>
Text-Wrapper-1.03/lib/Text/Wrapper.pm<br>
Text-Wrapper-1.03/example/<br>
Text-Wrapper-1.03/example/gettysburg.pl<br>
Removing previously used /root/.cpan/build/Text-Wrapper-1.03<br>
<br>
CPAN.pm: Going to build C/CJ/CJM/Text-Wrapper-1.03.tar.gz<br>
<br>
<b>Perl v5.10.0 required--this is only v5.8.8, stopped at
Makefile.PL line 5.</b><br>
BEGIN failed--compilation aborted at Makefile.PL line 5.<br>
Running make test<br>
Make had some problems, maybe interrupted? Won't test<br>
Running make install<br>
Make had some problems, maybe interrupted? Won't install<br>
<br>
cpan> <br>
<br>
<br>
<br>
<br>
El 23/04/12 18:03, Kevin Falcone escribió:
<blockquote cite="mid:20120423160343.GQ8185@jibsheet.com"
type="cite">
<pre wrap="">On Mon, Apr 23, 2012 at 04:39:17PM +0200, Jacobo Urdiales wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Actually on centos5 perl 5.8.8 is installed using yum. But there is
a cpan library with is not working with versions older than 5.10 so
i had to download and compile 5.14.
</pre>
</blockquote>
<pre wrap="">
RT should install just fine against 5.8.8, but obviously a newer perl
is nicer to have an easier to maintain.
</pre>
<blockquote type="cite">
<pre wrap="">So after the cpan and dependancies nightmare not sure if any package
is still pointing to the old perl...
</pre>
</blockquote>
<pre wrap="">
mod_perl is compiled into apache and judging from your error messages
is clearly pointing to 5.8.8
</pre>
<blockquote type="cite">
<pre wrap="">The system is going to have just 30 requests a month or so. So I do
not think using cgi would be a problem.
</pre>
</blockquote>
<pre wrap="">
fastcgi, not cgi.
You can read about the two fastcgi solutions (mod_fastcgi and
mod_fcgid) in docs/web_deployment.pod
-kevin
</pre>
<blockquote type="cite">
<pre wrap="">El 23/04/12 16:30, Kevin Falcone escribió:
</pre>
<blockquote type="cite">
<pre wrap="">On Mon, Apr 23, 2012 at 01:19:09PM +0200, Jacobo Urdiales wrote:
</pre>
<blockquote type="cite">
<pre wrap="">But upon restarting apache i get this error
Can't locate Plack/Handler/Apache2.pm in @INC (@INC contains:
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .
/etc/httpd) at /etc/httpd/conf.d/rt.conf line 11.\nBEGIN
failed--compilation aborted\t(in cleanup) Can't locate
Plack/Handler/Apache2.pm in @INC (@INC contains:
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .
/etc/httpd) at /etc/httpd/conf.d/rt.conf line 11.\nBEGIN
failed--compilation aborted at /etc/httpd/conf.d/rt.conf line 11.\n
The point is that I installed perl version 5.14 and compiled rt eith
that also installed the modules under that version. But I do not
know why seems that apache or whatever has the old path.
Tried to modify (even copy) the path contents to old locations but
more errors rise..
</pre>
</blockquote>
<pre wrap="">Did you compile apache/mod_perl with 5.14 or are you using vendor
packages that still point to the 5.8 install?
If you want to use your own perl build, fastcgi will be easier.
-kevin
</pre>
</blockquote>
</blockquote>
</blockquote>
</body>
</html>