Bug 245564 - perl bindings - should check perl version due to PL_use_safe_putenv
Summary: perl bindings - should check perl version due to PL_use_safe_putenv
Status: RESOLVED FIXED
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR wishlist
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-23 19:44 UTC by tropikhajma
Modified: 2021-03-09 12:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tropikhajma 2010-07-23 19:44:46 UTC
Version:           unspecified (using Devel) 
OS:                Solaris

kdebindings from svn fails with 
...
"QtCore4.xs", line 417: Error: PL_use_safe_putenv is not defined.

This is because the default perl on OpenSolaris is still 5.8.4.
As soon as I replaced it with perl 5.10, the build continued fine.

You might consider checking perl version and only enable perl bindings with perl>5.x (I don't know when this was introduced to perl)

this is on OpenSolaris b134

Reproducible: Always
Comment 1 Chris Burel 2010-07-24 02:23:33 UTC
Looks like it was first introduced in 5.8.6.
Comment 2 Justin Zobel 2021-03-09 05:24:41 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 3 tropikhajma 2021-03-09 12:18:45 UTC
I no longer build KDE on *Solaris
However, Solaris 11 updated the default Perl in the meantime, so if someone tries that, I believe they wouldn't experience this issue.