morgon has asked for the wisdom of the Perl Monks concerning the following question:
I am on Debian testing and my perl is 5.26.1.
When I try to compile the openwrt-toolchain it fails at one point because a perl-script gets generated that contains this:
Unfortunately my perl dies here with "Unescaped left brace in regex is illegal here in regex".sub substitute_ac_subst_variables { my ($text) = @_; $text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ( +$1)/ge; return $text; }
I decided to try an older perl and installed 5.20.3 but the problem persisted.
So I tried the even older perls 5.12.5 and 5.10.1 but to my surprise the attempt to install then via perlbrew failed in the tests.
So it seems the openwrt-toolchain cannot deal with the behaviour of newer perls while the installation of old perls fails...
Before I now set up a VM with an older debian-version, I wanted to see if anybody has any other idea on how to proceed.
Many thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: compilation problems
by marto (Cardinal) on Nov 28, 2017 at 13:40 UTC | |
by morgon (Priest) on Nov 28, 2017 at 17:18 UTC | |
by marto (Cardinal) on Nov 28, 2017 at 18:08 UTC | |
|
Re: compilation problems
by hippo (Archbishop) on Nov 28, 2017 at 13:34 UTC | |
by 1nickt (Canon) on Nov 28, 2017 at 14:00 UTC | |
|
Re: compilation problems
by Mr. Muskrat (Canon) on Nov 28, 2017 at 17:39 UTC | |
|
Re: compilation problems
by 1nickt (Canon) on Nov 28, 2017 at 13:24 UTC | |
by morgon (Priest) on Nov 28, 2017 at 17:16 UTC |