#1716: Parrot won't install when there's a space in the --prefix path
--------------------+-------------------------------------------------------
 Reporter:  moritz  |       Owner:       
     Type:  bug     |      Status:  new  
 Priority:  normal  |   Milestone:       
Component:  none    |     Version:  2.5.0
 Severity:  medium  |    Keywords:       
     Lang:          |       Patch:       
 Platform:          |  
--------------------+-------------------------------------------------------
 Parrot fails to install when it was configured with --prefix='/tmp/spacey
 path'. Here's the symptom:

 {{{
 cc -o installable_parrot \
     src/main.o src/install_config.o \
     -Wl,-rpath=/home/moritz/tmp/spacey prefix/lib -L/nocrypt-
 home/moritz/source/parrot-all/blib/lib -lparrot -lpthread -lm -L/usr/lib
 -licuuc -licudata -lpthread -lm -ldl -lm -lpthread -lcrypt -lrt -lgmp
 -lreadline  -L/usr/local/lib -Wl,-E
 cc: prefix/lib: No such file or directory
 make: *** [installable_parrot] Error 1
 }}}

 The generated Makefile contains

 {{{
 $(INSTALLABLEPARROT) : src/main$(O) $(GEN_HEADERS) $(LIBPARROT) \
     src/install_config$(O) \
     $(PARROT)
         $(LINK) -o $@ \
     src/main$(O) src/install_config$(O) \
     -Wl,-rpath=/home/moritz/tmp/spacey prefix/lib $(ALL_PARROT_LIBS)
 $(LINKFLAGS)
 }}}

 Seems the rpath needs some escaping/quoting.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1716>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to