[PATCH 0/2] Fix pidl installation and add option to specifiy directory.

Kai Blin kai at samba.org
Wed Feb 26 07:14:53 MST 2014


On 2014-02-26 14:32, Andreas Schneider wrote:

> Autobuild fails during the installation cause if we ask perl for the vendor
> lib direcotry it tells us to use e.g. /usr/share/perl5/vendor_lib
>
> but we can't install to that directory as a user in autobuild.

Hm, I don't think we've got any business installing stuff outside the 
prefix if a prefix is given but no other overrides are set.

> We could fix it if we change autobuild to use:
>
> ./configure --bundled-libraries=NONE --abi-check --enable-debug -C --
> prefix=/m/asn/a/b989179/prefix/samba-libs --with-perl-
> vendordir=/m/asn/a/b989179/prefix/samba-libs/share/perl5/vendor_lib
>
> The other possibility is to change the default back to $prefix/share/perl5.
> This would fix autobuild but you can be sure that it will not work on a unix
> system. Perl will not check the where we install it.

That's my preferred option, and something that happens for the python 
code as well.

Cheers,
Kai

-- 
Kai Blin
Worldforge developer http://www.worldforge.org/
Wine developer http://wiki.winehq.org/KaiBlin
Samba team member http://www.samba.org/samba/team/


More information about the samba-technical mailing list