Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Darwin Newbie needs some help on compiling



Finlay's correct, you don't want to re-install CoreFoundation over a Mac OS X system (CoreFoundation is an exception to most Darwin projects). The real issue is that webdavfs apparently relies on CoreFoundation's private headers. The Mac OS X Developer Tools do not install any private headers.

From CoreFoundation, try the following, it will install only the header files to the directory /tmp/cf.dst:

$ mkdir /tmp/cf.dst
$ sudo make installhdrs DSTROOT=/tmp/cf.dst

Again, you do not want to install a Darwin CoreFoundation on Mac OS X, so you probably want to copy only the PrivateHeaders directory into place:

$ cd /tmp/cf.dst/System/Library/Frameworks/CoreFoundation.framework/ Versions/A
$ sudo cp -R PrivateHeaders /System/Library/Frameworks/CoreFoundation.framework/Versions/A/
$ cd /System/Library/Frameworks/CoreFoundation.framework/
$ sudo ln -s Versions/Current/PrivateHeaders

- Kevin

On May 21, 2004, at 9:30 AM, Finlay Dobbie wrote:

On 21 May 2004, at 12:43, Alex v.Below wrote:

My goal is to compile the mount_webdav tool, from webdavfs-148.5 on
Mac OS X (10.3.3, but I am flexible on that).

This seems to be dependent on the DiskArbitration Framework. When I
tried to compile that, it asked for CFRuntime.h

*snip*

The big question is: What is the best way to compile mount_webdav?
The detail question probably is: How do I compile the CoreFoundation
Framework.

You don't want to compile CoreFoundation - the CF in the Darwin sources
is actually CF-Lite, a cut-back restricted version. If you try to use
it on OS X things *will* break.
You probably don't want to compile DiskArbitration either - the
frameworks are all there in OS X, but missing headers. If you copy the
headers from the source tree into the right place it'll probably be OK.
(Operative word: probably).

There's generally a lot of pain involved in building Darwin source
code. I suggest you try the #opendarwin channel on irc.freenode.net if
you can, try and corner kvv or fkr or someone like that ;-)

-- Finlay

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.


References: 
 >Darwin Newbie needs some help on compiling (From: "Alex v.Below" <email@hidden>)
 >Re: Darwin Newbie needs some help on compiling (From: Finlay Dobbie <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.