[perl #76930] space in prefix path

Skip to first unread message

Sven Heinicke

Aug 2, 2010, 10:24:57 AM8/2/10
to bugs-bi...@rt.perl.org
# New Ticket Created by Sven Heinicke
# Please include the string: [perl #76930]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76930 >

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
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.

Will Coleda via RT

Nov 15, 2012, 10:26:00 PM11/15/12
to perl6-c...@perl.org
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.

Will "Coke" Coleda

Will Coleda via RT

Jun 8, 2013, 9:37:46 PM6/8/13
to perl6-c...@perl.org
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

Christian Bartolomaeus via RT

Aug 29, 2019, 4:30:04 PM8/29/19
to perl6-c...@perl.org
Using spaces in prefix path should work now. There was some serious revamp of the build system during the last couple of months. I didn't have all the details, but some relevant pull requests for Rakudo have probably been:
* https://github.com/rakudo/rakudo/pull/2693
* https://github.com/rakudo/rakudo/pull/3031


$ cd ~/perl6/tmp/dir\ with\ space/
$ mkdir perl6
$ git clone https://github.com/rakudo/rakudo.git
$ cd rakudo
$ perl Configure.pl --backends=moar --gen-nqp --gen-moar --prefix ~/perl6/tmp/dir\ with\ space/perl6 && make install
$ ~/perl6/tmp/dir\ with\ space/perl6/bin/perl6 -e 'say 42'

I'm closing this ticket as 'resolved'.
Reply all
Reply to author
0 new messages