Bug 9893 - Wrong installation path for PIDL Perl modules
Summary: Wrong installation path for PIDL Perl modules
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: PIDL and libndr (show other bugs)
Version: unspecified
Hardware: All All
: P5 minor (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact:
Depends on:
Reported: 2013-05-16 14:13 UTC by Vadim Zhukov
Modified: 2019-04-01 21:20 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Vadim Zhukov 2013-05-16 14:13:21 UTC
On OpenBSD, Perl modules should be installed under ${PREFIX}/libdata/perl5 folder. Unfortunately, pidl/lib/wscript_build (as of Samba4) forcibly installs them under ${DATAROOTDIR}/perl5. So we likely either need either to add another configuration option; or to detect such situation, say, by parsing and interpreting "perl -V" output; or to do both things, defaulting first one to the data gathered via second. What way will be more correct and acceptable for you?

For now, I just patch the pidl/lib/wscript_build itself.
Comment 1 Jelmer Vernooij 2013-05-16 21:12:04 UTC
I'm not really a fan of adding another configuration option. A patch that parses the "perl -V" output would be great.
Comment 2 Andrew Bartlett 2019-04-01 21:20:25 UTC
Moving PIDL bugs into Samba as we do not release PIDL separately.