difficulty building network_cmds - any hints for me?
difficulty building network_cmds - any hints for me?
- Subject: difficulty building network_cmds - any hints for me?
- From: Smith Kennedy <email@hidden>
- Date: Wed, 29 Nov 2006 11:12:07 -0700
Hello,
I am a newbie when it comes to building projects hosted the
www.opensource.apple.com website. I found myself here in the process
of discussing a problem with Apple engineering concerning "racoon".
They recommended that I try tweaking one line in "cfparse.y" and
rebuilding it. I have only found the identifier for the variable
whose value they instructed me to change in the sources on Apple's
open source website, in the "network_cmds" project. I tried
downloading and unpacking the network_cmds tarball from here:
http://www.opensource.apple.com/darwinsource/10.4.8.x86/
which I assumed would be the most likely one to build with no
problems on my MacBook Pro. Since there isn't anything in there that
resembles a "README.txt", I just tried doing "make". When the build
failed, I thought it might be possible that, since my new MacBook Pro
is a Core 2 Duo, which is a later version of the Darwin kernel, etc.
than what is available here, that might be the cause. So I tried
building on a different system (G5 tower running Mac OS X 10.4.8
8L127, Xcode 2.4.1). Unfortunately, it didn't build there either.
The errors I get when I do a make seem to indicate that a number of
headers are missing (netkey/key_var.h in particular at the moment).
There appears to be no system provided by Apple that I can find to
pull down dependencies as needed. I asked a friend who is an
engineer at Apple whether he had the same problems, and he did. He
had no other recommendations for me. So I started looking around for
hints on the ADC site, the Apple darwin site, the OpenDarwin site,
and using Google. Nothing that I have found has helped so that I can
build racoon. I tried the "darwinbuild" system, which I found
documented here:
http://www.opendarwin.org/projects/darwinbuild/doc/tools/index.html
Unfortunately, doing a "darwinbuild -init 8G1454" to set up the
latest Intel darwin version that system has available and then doing
"darwinbuild 8G1454", the build hangs after:
*** Mounting special filesystems ...
Mounting devfs ...
Mounting volfs ...
dyld: Library not loaded: /usr/lib/libgcc_s.1.dylib
Referenced from: /sbin/mount_volfs
Reason: image not found
and the hanging process is a tool named "crashdump", which starts
gobbling up CPU cycles on one core. I have to sudo kill -9 crashdump
twice before I get my prompt back.
Does anybody have experience building network_cmds? If so, can you
offer recommendations on kind of "environment setup" do I need to
perform so that this project can build? I am just trying to rebuild
racoon - I had no idea this would be so difficult.
Many thanks in advance for any help,
Smith
p.s. I didn't know whether this or the darwin-userlevel mailing list
would be more appropriate. If darwin-userlevel is a better place, I
will repost.Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden