Patch for VFS Example

Richard Sharpe realrichardsharpe at gmail.com
Sun Feb 23 21:18:01 MST 2014


On Sun, Feb 23, 2014 at 6:31 PM, Dustin Oprea <myselfasunder at gmail.com> wrote:
>> Was that last patch going to be merged-in, to fix the example? I didn't
>> get
>>
>> > any feedback.
>>
>> We are under no obligation to provide feedback ...
>>
>
> Well, currently the example is broken, and I submitted a reasonable patch
> limited to a couple of changes. You can't tell me "okay, we'll look at
> merging it" or, even, "no way, stop submitting patches?"
>
> I'm just trying to help. Trying to get an example to work, as an outsider,
> has been unnerving since none of the documentation that Google sent me to
> was accurate. At least the example could be functional.

Welcome to the real world. Unfortunately, I have mislaid the latest
version of the source document for the PDF file that I put up there.

I will have rebuild it, so this is probably a good time to convert it
to Wiki format.

>> > Okay, so waf is being used. Based on the waf documentation, the commands
>> > that I should be able to run should be defined in the wscript module in
>> > whatever directory I'm currently running it from. The methods that
>> > correspond to these commands have a context parameter ("ctx", by
>> > convention). There are "configure" and "build" methods, but they are not
>> > defined in this way (and fail as expected).
>> >
>> > Do I need a specific version of waf? Is there an up-to-date walkthrough
>> > on
>> > how to build, somewhere online? Obviously, waf is a more obscure build
>> > tool,
>> > and I've never before used it.
>> >
>> > Can you just get me going on this...?
>>
>> I tried this in the examples/VFS directory:
>>
>> ../../buildtools/bin/waf
>> Waf: Entering directory `/home/rsharpe/samba/samba.master/bin'
>> Selected embedded Heimdal build
>> Waf: Leaving directory `/home/rsharpe/samba/samba.master/bin'
>> input file '../examples/VFS/version.h' could not be found
>> ('/home/rsharpe/samba/samba.master/dynconfig')
>>
>> Something is wrong with my sandbox at the moment ...
>
> I get the same error. I just did an update (and an ensuing configure).
>
> /home/dustin/build/samba_git/examples/VFS$ ../../buildtools/bin/waf
> Waf: Entering directory `/home/dustin/build/samba_git/bin'
>     Selected embedded Heimdal build
> Waf: Leaving directory `/home/dustin/build/samba_git/bin'
> input file '../examples/VFS/version.h' could not be found
> ('/home/dustin/build/samba_git/dynconfig')

I can't say what is happening at the moment.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list