#736: [PATCH] icu-config emits prefix with extra newline
------------------------+---------------------------------------------------
Reporter: hv | Type: patch
Status: new | Priority: normal
Milestone: | Component: configure
Version: 1.2.0 | Severity: low
Keywords: icu-config | Lang:
Patch: new | Platform: linux
------------------------+---------------------------------------------------
Having fetched, built and installed latest release icu library (configured
with './runConfigureICU Linux --prefix=/opt/icu-4.2.0.1'), I then tried to
configure parrot-1.2.0 with '/opt/perl-5.10.0/bin/perl Configure.pl
--prefix=/opt/parrot-1.2.0 --icu-config=/opt/icu-4.2.0.1/bin/icu-config'.
The result was an attempt to handle a path with a trailing newline,
because of this:
{{{
zen% /opt/icu-4.2.0.1/bin/icu-config --prefix
/opt/icu-4.2.0.1
zen%
}}}
.. as a result of which parrot's configure emitted:
{{{
auto::icu - Is ICU installed...Unsuccessful stat on filename
containing newline at config/auto/icu.pm line 331.
Unsuccessful stat on filename containing newline at config/auto/icu.pm
line 336.
...........................not found.
}}}
I'm not sure what guarantees *-config scripts are supposed to offer about
output, but the to-be-attached patch works for me.
Hugo
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/736>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets