Please use DarwinBuild <http://trac.macosforge.org/projects/ darwinbuild/> when building launchd. It takes care of dependencies such as the missing headers below (though the quarantine issue is separate). Problems building launchd outside of DarwinBuild probably won't receive much attention, since the issue is likely with the build environment, not launchd itself. - Kevin On Mar 17, 2008, at 9:40 AM, Dave MacLachlan wrote:
On Mar 17, 2008, at 02:55 , Quinn wrote:
At 18:00 -0700 16/3/08, Dave MacLachlan wrote:
I haven't found bootfiles.h, but from what I can glean:
#define kBootRootActiveKey "bootroot-active" #define SO_EXECPATH 0x1085
(could somebody please correct me if those values are wrong)
kBootRootActiveKey is defined in "bootfiles", which is open source.
<http://www.opensource.apple.com/darwinsource/10.5/IOKitUser-376/kext.subproj...
SO_EXECPATH is part of the kernel source.
<http://www.opensource.apple.com/darwinsource/10.5/xnu-1228/bsd/sys/socket.h
"quarantine.h" is part of the "quarantine" project, which is not open source AFAIK.
Thanks Quinn,
I will log a bug against darwinbuild to get IOKitUser added to the dependencies for launchd. I also found the launchd "HAVE_QUARANTINE" define, and turned that off. This allowed me to build liblaunch which is what I needed. Unfortunately to build libSystem (my end goal) I need to have libQuarantine, and libSandbox, both of which I am guessing are not opensource at this time.
Logged radars 5802544: launchd doesn't compile with HAVE_QUARANTINE undefined 5802557: launchd makefiles need a better way of determining if quarantine.h is available
and DarwinBuild bugs http://trac.macosforge.org/projects/darwinbuild/ticket/9 launchd depends on CoreFoundation http://trac.macosforge.org/projects/darwinbuild/ticket/10 Libsystem not building
Cheers, Dave _______________________________________________ launchd-dev mailing list launchd-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/launchd-dev