Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't exec "C:/Program": No such file or directory at build/gen_parrot.pl line 63. #814

Closed
p6rt opened this issue Mar 21, 2009 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Mar 21, 2009

Migrated from rt.perl.org#64054 (status was 'resolved')

Searchable as RT64054$

@p6rt
Copy link
Author

p6rt commented Mar 21, 2009

From cyborg_big_pistol@hotmail.com

Hey , I was trying to install Raduko using the instruction from http://www.perlfoundation.org/perl6/index.cgi?rakudo

The files are downloaded to directory C​:\Program Files\Git\bin\raduko and when i tried to " perl Configure.pl --gen-parrot ' in the raduko folder , it downloaded some files and then gave error as ( the last part )​:

A parrot\examples\streams\SubHello.pir
A parrot\examples\streams\Combiner.pir
A parrot\examples\streams\ParrotIO.pir
A parrot\examples\streams\Include.pir
A parrot\examples\streams\Filter.pir
U parrot
Checked out revision 37535.
Can't exec "C​:/Program"​: No such file or directory at build/gen_parrot.pl line 63.
Use of uninitialized value in system at build/gen_parrot.pl line 68.
Unable to locate parrot_config.
To automatically checkout (svn) and build a copy of parrot,
try re-running Configure.pl with the '--gen-parrot' option.
Or, use the '--parrot-config' option to explicitly specify
the location of parrot_config.

masak suspected that the space after 'Program' is not quoted, so it's interpreted wrong.

_________________________________________________________________
Sadece e-posta iletilerinden daha fazlasý​: Diðer Windows Live özelliklerine göz atýn.
http://www.microsoft.com/windows/windowslive/

@p6rt
Copy link
Author

p6rt commented Apr 1, 2009

From @bacek

On Sat Mar 21 06​:28​:26 2009, Cybera wrote​:

Checked out revision 37535.
Can't exec "C​:/Program"​: No such file or directory at
build/gen_parrot.pl line 63.

Attached patch solves this (and possible some other issues)

--
Bacek

@p6rt
Copy link
Author

p6rt commented Apr 1, 2009

From @bacek

64054.patch
diff --git a/build/gen_parrot.pl b/build/gen_parrot.pl
index f20e2e6..22fa9b3 100644
--- a/build/gen_parrot.pl
+++ b/build/gen_parrot.pl
@@ -44,7 +44,7 @@ close $REQ;
 }
 
 print "Checking out Parrot r$required via svn...\n";
-system("svn checkout -r $required https://svn.parrot.org/parrot/trunk parrot");
+system("svn", split(' ', "checkout -r $required https://svn.parrot.org/parrot/trunk parrot"));
 
 chdir('parrot');
 
@@ -55,12 +55,12 @@ if (-f 'Makefile') {
     my $make = $config{'make'};
     if ($make) {
         print "Performing '$make realclean'\n";
-        system("$make realclean");
+        system($make, "realclean");
     }
 }
 
 ##  Configure Parrot
-system("$^X Configure.pl");
+system($^X, "Configure.pl");
 
 my %config = read_parrot_config();
 my $make = $config{'make'};

@p6rt
Copy link
Author

p6rt commented Apr 1, 2009

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Apr 2, 2009

From @moritz

Vasily Chekalkin via RT wrote​:

On Sat Mar 21 06​:28​:26 2009, Cybera wrote​:

Checked out revision 37535.
Can't exec "C​:/Program"​: No such file or directory at
build/gen_parrot.pl line 63.

Attached patch solves this (and possible some other issues)

Thanks, applied with some variations (and one more catch in
Configure.pl) as eda14fa060dc08050e21d6703d3aadbc697ab01c.

Could somebody please test that on a system where the path to perl
includes whitespaces? then we can close this ticket.

Cheers,
Moritz

@p6rt
Copy link
Author

p6rt commented Mar 9, 2010

@moritz - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Mar 9, 2010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant