Perl vendorarch and vendorlib patches break FreeBSD

Andrew Bartlett abartlet at samba.org
Tue Apr 8 22:30:24 MDT 2014


Andreas,

With current master, it isn't possible to even configure on FreeBSD 9.0
without specifying both of these options
./configure --with-perl-vendorarch=/usr/local/perl
--with-perl-vendorlib=/usr/local/perl

I don't know if these guesses are correct for paths, I just needed the
configure step to pass for the patch review I was doing.

(and others for missing ldap and ADS, but those are expected,
eg ./configure --with-perl-vendorarch=/usr/local/perl
--with-perl-vendorlib=/usr/local/perl --without-ldap --without-ads).

This looks like an issue from your patch 

commit 48f0183dbeddd7bdf333a40fe0d3e1c7e7fe00f2
Author: Andreas Schneider <asn at samba.org>
Date:   Fri Feb 28 15:50:02 2014 +0100

    buildtools: Add perl vendorlib configure option.
    
    After this patch has been pushed, we need to change autobuild to
compile
    with this option or we will not be able to install pidl.
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>

The issue is that 

perl -MConfig -e 'print $Config{vendorarch}'

returns nothing on FreeBSD, whereas it returns "/usr/lib/perl5" on
Linux.

Can you please look into this?

Thanks,

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba






More information about the samba-technical mailing list