cons-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Active Perl 5.6.1 build 631 problem with cons?


From: Gary Oberbrunner
Subject: Active Perl 5.6.1 build 631 problem with cons?
Date: Mon, 07 Jan 2002 18:28:47 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.6) Gecko/20011120

I just tried installing ActiveState perl 5.6.1, build 631, and it seems to have fundamental problems when it is called *FROM* cons (not when calling or interpreting cons). For instance, this Construct fails:

%e = new cons()->copy();   $e{ENV}{PATH} = "c:/perl/bin";
$e = new cons(%e);
$e->Command('foo', qq(perl scr.pl > %>));


scr.pl contains:
print "Hello, World!\n";

If I run this using ActiveState Perl 5.6.1 build 631, I get this output:
perl scr.pl > foo
cons: *** [foo] Error 255 (executable not found in path?)
cons: errors constructing foo

But if I switch back to perl 5.6.0, it works fine, no error.

Has anyone else seen this problem? Anything I can do about it? I don't think, btw, that the error message "executable not found in path" is correct. I think somehow the system() function in action::command::win32::do_command is failing for some other reason.

Some commands, in fact most of them, *can* be invoked fine. There's something screwy about system() calling perl itself.


--
. . . . . . . . . . . . . . . . . . . . . . . . .
Gary Oberbrunner                address@hidden
GenArts, Inc.                   Tel: 617-492-2888
8 Clinton Street                Fax: 617-492-2852
Cambridge, MA 02139 USA         http://web.genarts.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]