Can anyone help build Darwin 9.8 . Ive got all parts built except for relpath what fails to build stating TargetConfig not defined.
Thank you for the reply. I’ve read that page already. I couldn’t decipher how to use the information as I’m not using darwinbuild as that will not compile correctly either. So I’m just looking for a solution to make relpath. Then I think xnu may finally build.
As soon as I figure out what I’m doing I’m happy to help you get started lolLearning to build the kernel has been on my todo list for a while now. What's a good guide for getting started?
Thanks I’ll check out the linksI've built Linux From Scratch (lfs) but not the Darwin kernel. I suspect it would be fraught with lots of compiler errors, but don't let that discourage anyone.
- Building Your First Kernel developer.apple.com
- Building the Darwin Kernel docstore.mik.ua
- Is it possible to compile a Darwin Distro from source, like you can a build a Linux Distro? superuser.com
I was looking on macports.org for this!(Darwinbuild may be another option, but it has to be fixed first.)
I know it’s a shame. What I really need is someone to help me get relpath to build. It’s looking for targetconfig if I can set targetconfig then I think relpath will compile then I should be able to compile xnudarwinbuild is there, but it is broken (there are two ports, and neither works, AFAIK).
I wouldn't skip or deviate from any of the steps.I haven't built darwin, but looking at the document: https://developer.apple.com/library...//apple_ref/doc/uid/TP30000905-CH221-CIHFEIFII know it’s a shame. What I really need is someone to help me get relpath to build. It’s looking for targetconfig if I can set targetconfig then I think relpath will compile then I should be able to compile xnu
sudo mkdir -p /usr/local/bin |
sudo mkdir -p /usr/local/lib |
cd bootstrap_cmds-version/relpath.tproj |
make |
sudo make install |
I am not sure what this old posting is talking about. "CF Lite" may be totally off-topic. I am not sure.Its actually a problem in CF Lite, though your point that darwinbuild
should set RC_TARGET_CONFIG is also part of the fix. The Default.plist
symlink is in TargetConfig_headers, but using the env var is better
than adding 1 dependency to all of the projects using TargetConfig IMO.
Anyway, the CF Lite people are looking into it. Hopefully we'll have a
patch soon.
-Bill
You need to build TargetConfig from the Apple Open Source Projects, then you will have the tconf binary which will search the plist for the RC_Target_Config that you define as a build flag. You may also need to symlink the plist if it cannot be located on your system.Can anyone help build Darwin 9.8 . Ive got all parts built except for relpath what fails to build stating TargetConfig not defined.
You need to build TargetConfig from the Apple Open Source Projects, then you will have the tconf binary which will search the plist for the RC_Target_Config that you define as a build flag. You may also need to symlink the plist if it cannot be located on your system.