Bug 245564

Summary: perl bindings - should check perl version due to PL_use_safe_putenv
Product: [Developer tools] bindings Reporter: tropikhajma <tropikhajma>
Component: generalAssignee: kde-bindings
Status: RESOLVED FIXED    
Severity: wishlist CC: chrisburel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:

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.