Ticket #1716 (closed bug: fixed)
Parrot won't install when there's a space in the --prefix path
| Reported by: | moritz | Owned by: | coke |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | none | Version: | 2.5.0 |
| Severity: | medium | Keywords: | |
| Cc: | Language: | ||
| Patch status: | Platform: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

