Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Devel

'make test' fails on HTTP::Server::Simple::Mason

 

 

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded


justin at brighton

Oct 27, 2008, 10:51 AM

Post #1 of 2 (1134 views)
Permalink
'make test' fails on HTTP::Server::Simple::Mason

Hi all,
I'm installing RT 3.8.1 on a brand new RHEL 5.2 x86_64 installation.

All Perl modules have installed successfully, except for
HTTP::Server::Simple::Mason which fails on the 01live test and some
subsequent tests (see attached file for full history):

t/01live...............ok 1/5Use of uninitialized value in pattern match
(m//) at t/01live.t line 18, <DATA> line 16.

# Failed test 'Returns a page containing only 2'
# at t/01live.t line 18.
# undef
# doesn't match '(?-xism:2$)'
# Looks like you failed 1 test of 5.

I know very little about CPAN modules ;-)
I originally installed this machine a month ago and didn't experience
this problem. I just wiped the machine and am attempting a complete
re-install.
As I believe HTTP::Server::Simple::Mason is only used for development,
I'll try forcing an installation so I can proceed.

Best regards,
Justin
Attachments: HTTP-Server-Simple-Mason.txt (16.0 KB)


justin at brighton

Nov 20, 2008, 1:57 AM

Post #2 of 2 (984 views)
Permalink
Re: 'make test' fails on HTTP::Server::Simple::Mason [In reply to]

Hi Angus,
Well spotted! Thanks so much for replying!
I would have had the http_proxy env var defined.
In the end I found and installed an RPM for HTTP::Server::Simple::Mason
from EPEL. ;-)
I'm sure your post will help someone else, or us when we re-install :)

Best regards,
Justin


Angus Rea wrote:
> Hi Jason,
>
> I just came across the same problem and stumbled on the answer...
>
> I happened to be checking the log files for the proxy server (which
> runs on another server)
> and noticed that it contained entries for GET http://localhost:13432
> which is the URL used
> by the Mason test scripts in t/*.t.
>
> In other words, the test scripts are using the HTTP proxy defined in
> the environment variable
> http_proxy which it is not required when accessing a 'localhost' server.
>
> So I used the commands to successfully test and install
> HTTP-Server-Simple-Mason:
>
> cd /root/.cpan/build/HTTP-Server-Simple-Mason-0.09/
> unset http_proxy
> make test
> make install
>
> Rgds - Angus
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.