Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 2008 16:21:38 -0400
From:      Erik Van Benschoten <evanben@earthlink.net>
To:        "Scot Hetzel" <swhetzel@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: net/samba3 not installing VFS modules
Message-ID:  <4A0DC74B-8896-48D6-BE19-3FB2D117D629@earthlink.net>
In-Reply-To: <790a9fff0809261258m2f797986k831fc69c91ca54c5@mail.gmail.com>
References:  <BBDEA61C-E9CD-448A-9EA5-113CC5A7CD03@earthlink.net> <790a9fff0809260727t225dfe65u8372a858af1bca9b@mail.gmail.com> <E9D92821-32A4-4471-AA9A-E6CC73DA1ACF@earthlink.net> <790a9fff0809261258m2f797986k831fc69c91ca54c5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sep 26, 2008, at 3:58 PM, Scot Hetzel wrote:

> On Fri, Sep 26, 2008 at 11:36 AM, Erik Van Benschoten
> <evanben@earthlink.net> wrote:
>>
>> On Sep 26, 2008, at 10:27 AM, Scot Hetzel wrote:
>>> Then when a
>>> make install was performed, the recycle.so module was located in the
>>> PREFIX/lib/samba/vfs directory.
>>>
>>> Did you check this directory?
>>>
>>> Scot
>>
>> Scot,
>>
>> The problem was not getting the VFS modules compiled, but rather  
>> getting
>> them installed.
>>
> The VFS modules are installed on my system, and when i grepped the
> +CONTENTS file for recycle.so, it was listed in the package.
>
>> I found a brute force workaround was to manually add
>> 'lib/samba/vfs/recycle.so' to the '/net/samba3/pkg-plist' file.
>> I know this is not the proper thing to do, but it works for getting a
>> package built.  I would have preferred a tweak to the Makefile that  
>> would
>> work for everyone, but I'm afraid my Makefile reading skills are  
>> not up to snuff.
>
> There is no need to add 'lib/samba/vfs/recycle.so' to the
> samba3/pkg-plist, as the samba3/Makefile has automatic pkg-plist
> generation to  detect the files in PREFIX/lib/samba.  They get added
> to the ${TMPPLIST} file, which is used to create the package.
>
> Scot

Interesting. I did a 'make rmconfig' to clean out any old cruft  
followed my a 'make package-recursive' (selecting ACL_SUPPORT and  
EXP_MODULES along with the defaults). The vfs modules are being  
installed on the build machine and are also in the package now  
according to a 'pkg_info -L'. I have been using make.conf to customize  
my package builds up to this point instead of the 'make config'  
mechanism. I guess I'll have to take a closer look into why the builds  
didn't work properly the other way. Thanks for the response.

Erik




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A0DC74B-8896-48D6-BE19-3FB2D117D629>