Re: ppp source
Re: ppp source
- Subject: Re: ppp source
- From: Mike Gargano <email@hidden>
- Date: Tue, 7 Aug 2007 09:03:41 -0400
Hey Mo,
Thanks, someone else from the list had actually pointed me in that
direction earlier. It's just what I needed. I did have to fix some
stuff (a few files were missing and a few command line arguments),
but it was much easier from that point. Thanks.
-Mike
On Aug 6, 2007, at 5:51 PM, Mo McRoberts wrote:
On 3-Aug-2007, at 21:24, Mike Gargano wrote:
Hi all,
I think I found a bug in the pptp kernel extension. I downloaded
the source for the ppp package from opensource.apple.com for
10.4.9, but I'm having a hard time compiling a new PPTP NKE. I've
never built any of these packages from scratch and could use some
help. I tried building the PPTP NKE target and got a slew of
errors regarding missing headers. Someone from another list told
me that the missing header are private and that I need to get them
from the XNU kernel project. I've got that now, but when I
include those headers in my search path I still have problems with
missing #defs and such. Any pointers or suggestions?
It's not at all obvious since the demise of OpenDarwin and the
reshuffling that's followed (not least because macosforge.org
hasn't been visibly updated since 2006), but you really want to be
building Darwin components with darwinbuild. I don't know if it's
still the case (I'm assuming it is), but darwinbuild certainly used
to be the tool used by Apple themselves to build Mac OS X/Darwin
components.
Either grab the current darwinbuild from:
http://trac.macosforge.org/projects/darwinbuild
Get it via Subversion (DON'T download the 0.7.2 release), or (if
you're adverse to svn) you can get a snapshot of it from:
http://sourceforge.net/project/showfiles.php?
group_id=192771&package_id=240714
Once you've downloaded and extracted it, instructions are in
darwinbuild/www/index.html (ignore the old opendarwin.org URLs it
mentions, the current snapshot from SVN has been updated to use
macosforge.org)
*That said*, having just attempted to build ppp with darwinbuild
whilst writing this e-mail, it failed miserably (xcodebuild
bailed), but it did create a handy BuildRoot tree containing
everything that ppp depends on (including the private headers that
you need).
Hopefully that will help you some.
All the best,
Mo.
_______________________________________________
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