Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: compilation problems

by marto (Cardinal)
on Nov 28, 2017 at 13:40 UTC ( [id://1204433]=note: print w/replies, xml ) Need Help??


in reply to compilation problems

First hit from a web search for the product name and the error returns this, which looks like a good staring point. Perhaps some of the build scripts for openwrt need to be updated?. For the example above try:

$text =~ s/\$\{([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker($1 +)/ge;

perldelta says:

"You have to now say something like "\{" or "{" to specify to match a LEFT CURLY BRACKET; otherwise, it is a fatal pattern compilation error. This change will allow future extensions to the language.

These have been deprecated since v5.16, with a deprecation message raised for some uses starting in v5.22. Unfortunately, the code added to raise the message was buggy and failed to warn in some cases where it should have. Therefore, enforcement of this ban for these cases is deferred until Perl 5.30, but the code has been fixed to raise a default-on deprecation message for them in the meantime.

Some uses of literal "{" occur in contexts where we do not foresee the meaning ever being anything but the literal, such as the very first character in the pattern, or after a "|" meaning alternation. Thusn"

Regarding perlbrew issues, more details are required.

Replies are listed 'Best First'.
Re^2: compilation problems
by morgon (Priest) on Nov 28, 2017 at 17:18 UTC
    The thing is that the offending script itself is generated and I don't understand enough of how things fit together to easily find the spot where you would need to fix it.

      I won't have any real spare time to look into this until the weekend at the earliest. Perhaps grep for the offending line or raise an issue on the openwrt github?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1204433]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2024-04-18 22:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found