Hey Ryan...
error: CoreFoundation/CFPriv.h: No such file or directory I'm running into problems getting launchd to compile as well, but at least for this part you can grab these headers from http://src.macosforge.org/Roots/9C31/CF.root.tar.gz Hope that helps somewhat. I'm still looking for bootfiles.h
Further follow up, 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) but I can't find quarantine.h anywhere, and radar is currently down so I can't log a bug against it. I'm trying to build up liblaunch, so I can build up a debug version of libSystem so I can verify what appears to be a bug in libc_debug which is occurring when I run my app against the _debug frameworks that DTS is shipping. Talk about yak shaving. Cheers, Dave
On Mar 16, 2008, at 18:00 , Dave MacLachlan wrote:
Hey Ryan...
error: CoreFoundation/CFPriv.h: No such file or directory I'm running into problems getting launchd to compile as well, but at least for this part you can grab these headers from http://src.macosforge.org/Roots/9C31/CF.root.tar.gz Hope that helps somewhat. I'm still looking for bootfiles.h
Further follow up,
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) but I can't find quarantine.h anywhere, and radar is currently down so I can't log a bug against it.
I'm trying to build up liblaunch, so I can build up a debug version of libSystem so I can verify what appears to be a bug in libc_debug which is occurring when I run my app against the _debug frameworks that DTS is shipping. Talk about yak shaving.
Logged as radar 5802196: Unable to build TOT launchd from macosforge.org Cheers, Dave
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/bootfiles.h> 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. S+E -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware
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
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
Hey Kevin, I did use DarwinBuild and logged an issue on it:
http://trac.macosforge.org/projects/darwinbuild/ticket/9 launchd depends on CoreFoundation
I was very busy logging DarwinBuild tickets this weekend ;-) Cheers, Dave On Mar 17, 2008, at 11:08 , Kevin Van Vechten wrote:
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
Excellent. It wasn't clear from the context of this thread, and I hadn't yet read darwinbuild-dev, but I now see that you were using DarwinBuild. Thanks for filing the tickets! - Kevin On Mar 17, 2008, at 11:24 AM, Dave MacLachlan wrote:
Hey Kevin,
I did use DarwinBuild and logged an issue on it:
http://trac.macosforge.org/projects/darwinbuild/ticket/9 launchd depends on CoreFoundation
I was very busy logging DarwinBuild tickets this weekend ;-)
Cheers, Dave
On Mar 17, 2008, at 11:08 , Kevin Van Vechten wrote:
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
Hi Kevin, Thank you for the tip, I did build mine outside of DarwinBuild. Thank you, Ryan PS - Thank you for the response ! On Mar 17, 2008, at 11:08 AM, Kevin Van Vechten wrote:
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/bootfiles.h>
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
_______________________________________________ launchd-dev mailing list launchd-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/launchd-dev
Hi Quinn, So I have DarwinBuild set up but I still cannot get launchd (258.1) to build. How do I install the headers below? Can I just stick them into the Headers directory. Also according to the two year README (http://darwinbuild.macosforge.org/trac/browser/trunk/README) there are the following commands called darwinbuildheaders and installheaders. I cannot find these anywhere under /usr/local. Have these commands been deprecated? Thank you, Ryan On Mar 17, 2008, at 2:55 AM, 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/bootfiles.h>
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.
S+E -- Quinn "The Eskimo!" <http://www.apple.com/ developer/> Apple Developer Relations, Developer Technical Support, Core OS/ Hardware _______________________________________________ launchd-dev mailing list launchd-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/launchd-dev
participants (5)
-
Dave MacLachlan
-
Dave MacLachlan
-
Kevin Van Vechten
-
Quinn
-
Ryan C. Spaulding