[Catalyst] Catalyst live tests

Will Hawes info at whawes.co.uk
Fri Dec 23 17:01:20 CET 2005


stephen joseph butler wrote:
> 2005/12/22, Will Hawes <info at whawes.co.uk <mailto:info at whawes.co.uk>>:
> 
>     Andy, thanks for this link. I replaced my nmake.exe with this one and
>     the tests now pass.
> 
>     Slightly confusing because both executables say they are version 1.5 and
>     I downloaded mine from microsoft.com <http://microsoft.com> only
>     recently.
> 
>     In case others have this problem later, the obvious difference I can see
>     is that nmake.exe from the above link is 50.7KB whereas the one I had
>     (i.e. the broken one) is 64.0KB. 
> 
> 
> 
> Do you still have the old nmake around? Open up HTTP::Request::AsCGI and 
> look at line 94:
> 
>     open( $self->{restore}->{stdin}, '>&', STDIN->fileno )
> 
> Change that to this and try to run your test again:
> 
>     open( $self->{restore}->{stdin}, '<&', STDIN->fileno )
> 
> I had a similar problem to yours when creating Fink packages for 
> catalyst. Seems to me that the root cause is that the author is trying 
> to dup stdin for writing instead of reading. I emailed the author but 
> never got around to filing a bug.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst

I often see the "bad file descriptor" error when installing modules 
using cpanp, e.g. "cpanp i HTTP::Request::AsCGI". I get this whether 
building with nmake or dmake. For reasons I don't understand, it then 
goes away when I do:

z <MODULE> (open a subshell in the build dir for <MODULE>)
perl Makefile.PL
dmake
dmake test
dmake install



More information about the Catalyst mailing list