[darwinbuild] Problem compiling samba

Antoine Duchâteau ad at taktik.be
Sat Aug 27 14:11:12 PDT 2005


On 26 Aug 2005, at 20:01, Kevin Van Vechten wrote:

> I think your diagnosis is correct, but in the future when asking  
> about missing dependencies it would be helpful to include your  
> build log, or at least the portion that lists which dependencies  
> are found in the BuildRoot.

OK, will.

>
> The ByteRangeLocking framework is not open source, so you have a  
> few options:
>
> 1) cp -R /System/Library/PrivateFrameworks/ 
> ByteRangeLocking.framework BuildRoot/System/Library/PrivateFrameworks/

I actually tried that before posting but I got an error which I  
understood to be linked to the framework not being universal.
How do you darwinbuild for one specific architecture (ppc in this  
case) ?

> 2) `darwinbuild -nochroot samba` which will try to build samba "out  
> in the open" where the ByteRangeLocking framework is present.

Nice option, will try.

> 3) Modify samba to compile without the ByteRangeLocking framework:
> <http://cvs.opendarwin.org/index.cgi/~checkout~/src/release/8.2.1/ 
> Sources/samba-92.9.p1.patch?rev=1.1.1.1&content-type=text/plain>
>
> Hope this helps,

It helps a lot, thanks Kevin.

Antoine

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-dev/attachments/20050827/ca935de9/attachment.html


More information about the darwinbuild-dev mailing list