Skip Menu |
Report information
Id: 76930
Status: open
Priority: 0/
Queue: perl6

Owner: coke <will [at] coleda.com>
Requestors: comdog <brian.d.foy [at] gmail.com>
pete [at] clueball.com
sven [at] genomics.princeton.edu
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: space in prefix path
Date: Mon, 02 Aug 2010 10:24:31 -0400
To: ´╗┐rakudobug [...] perl.org
From: Sven Heinicke <sven [...] genomics.princeton.edu>
Download (untitled) / with headers
text/plain 1021b
I tried to configure rakudo-star-2010.07 in a directory with a space in it (@#$% Ubuntu One) and it didn't work. It builds fine when I don't include the space. $ perl Configure.pl --gen-parrot --prefix=/home/sven/Ubuntu\ One/opt/perl6 . . . cc -o installable_parrot \ src/main.o src/install_config.o \ -Wl,-rpath=/home/sven/Ubuntu One/opt/perl6/lib -L/usr/local/src/rakudo-star-2010.07/parrot-2.6.0/blib/lib -lparrot -lm -L/usr/lib -licuuc -licudata -lm -ldl -lm -lpthread -lcrypt -lrt -lreadline -fstack-protector -L/usr/local/lib -Wl,-E cc: One/opt/perl6/lib: No such file or directory make: *** [installable_parrot] Error 1 Command failed (status 512): make install-dev ===SORRY!=== Unable to locate parrot_config To automatically build the version of Parrot that came with this distribution (2.6.0), try re-running Configure.pl with the '--gen-parrot' option. Or, use the '--parrot-config' option to explicitly specify the location of parrot_config to be used to build Rakudo Star.
Download (untitled) / with headers
text/plain 217b
FWIW, on my machine parrot doesn't even install with a space in the prefix path: http://trac.parrot.org/parrot/ticket/1716 I guess there's not much point in trying to tackle this issue until parrot gets some sanity.
Subject: Installation fails in directories with a literal space in the name
Date: Sat, 18 Feb 2012 13:24:31 +0000
To: rakudobug [...] perl.org
From: Peter Sergeant <pete [...] clueball.com>
Download (untitled) / with headers
text/plain 433b
12:23 < peteretep> The Configure.pl buildstep for rakudo-star-2012.01 appears to 
                   dislike my Cwd having a space in it
12:23 < peteretep> perl Configure.pl --gen-parrot
12:24 < peteretep> Tries to run:
12:24 < peteretep> /usr/bin/perl Configure.pl --with-parrot=/mnt/hgfs/Code 
                   Folder/rakudo-star-2012.01/install/bin/parrot --make-install

Eventually I got it working by installing it in /tmp/
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 549b
On Mon Aug 02 12:55:42 2010, moritz wrote: Show quoted text
> FWIW, on my machine parrot doesn't even install with a space in the > prefix path: > > http://trac.parrot.org/parrot/ticket/1716 > > I guess there's not much point in trying to tackle this issue until > parrot gets some sanity.
This seems to now fail when running nqp: Command failed (status 512): /Users/coke/perl5/perlbrew/perls/perl-5.16.0_THREAD/bin/perl Configure.pl --with-parrot=/tmp/a space/bin/parrot --make-install The argument to --with-parrot needs to be quoted. -- Will "Coke" Coleda
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 835b
On Thu Nov 15 19:25:59 2012, coke wrote: Show quoted text
> On Mon Aug 02 12:55:42 2010, moritz wrote:
> > FWIW, on my machine parrot doesn't even install with a space in the > > prefix path: > > > > http://trac.parrot.org/parrot/ticket/1716 > > > > I guess there's not much point in trying to tackle this issue until > > parrot gets some sanity.
> > This seems to now fail when running nqp: > > Command failed (status 512): /Users/coke/perl5/perlbrew/perls/perl- > 5.16.0_THREAD/bin/perl > Configure.pl --with-parrot=/tmp/a space/bin/parrot --make-install > > The argument to --with-parrot needs to be quoted.
I've updated parrot and nqp to better handle processing and passing quoting path arguments. An update to rakudo-star that pulls the latest nqp & parrot's should handle this now. Leaving open until R* is updated. -- Will "Coke" Coleda
Download (untitled) / with headers
text/plain 184b
This is still an issue. Fixing this will require a deep review of the build system (cmp. the following short discussion on #perl: http://irclog.perlgeek.de/perl6/2014-10-02#i_9447222).
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 334b
On Sat Oct 04 09:03:20 2014, bartolin@gmx.de wrote: Show quoted text
> This is still an issue. Fixing this will require a deep review of the > build system (cmp. the following short discussion on #perl: > http://irclog.perlgeek.de/perl6/2014-10-02#i_9447222).
Current status - This is busted in a MoarVM build, let alone star. -- Will "Coke" Coleda
Date: Wed, 19 Oct 2016 15:57:13 -0400
From: brian d foy <brian.d.foy [...] gmail.com>
Subject: [BUG] Configure.PL does not protect whitespace in --prefix
To: rakudobug [...] perl.org
Download (untitled) / with headers
text/plain 878b
In the rakudo-star-2016.07 release, the value given to Configure's --prefix might end up with whitespace (even if the initial value does not have it). This path is not quoted in nqp/Makefile, so that fails and the build cannot continue. I ran into this because I used a path that was a symlink: % perl Configure.pl --gen-moar --prefix /Users/brian/Dropbox/perl6s/rakudo-star-2016.07 Various things had the same problem: % perl Configure.PL --gen-moar --prefix "/Volumes/Big Scratch/Dropbox/perl6s/rakudo-star-2016.07" % perl Configure.PL --gen-moar --prefix /Volumes/"Big Scratch"/Dropbox/perl6s/rakudo-star-2016.07 % perl Configure.PL --gen-moar --prefix /Volumes/Big\\ Scratch/Dropbox/perl6s/rakudo-star-2016.07 Paths interpolated into shell programs or makefiles should be protected in some fashion. -- brian d foy <brian.d.foy@gmail.com> http://www.pair.com/~comdog/


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org