On Tuesday, September 10, 2002, at 09:56 AM, Doug Wiebe wrote:
> On Tuesday, September 3, 2002, at 10:12 PM, Don Briggs wrote:
>> Were you able to make the addServer/addClient pair work?
> I'll look at the addSystem example. It worked the last time I tried
> it, which was quite a while ago.
I just tried the addSystem example and it does work. But I left out
some instructions on how to build it that might help. I'll add those
instructions to the man page.
1) Make sure that the "#!/usr/bin/perl" lines at the beginning of the
addServer and addClient programs have no leading whitespace (which they
might have if you just copy/paste the code from the man page into those
files).
2) After editing Makefile.PL, AddSystem.pm, and AddSystem.xs do (as
root or as an admin user) the following inside the AddSystem directory:
perl Makefile.PL
make install
3) After creating the addClient and addServer files do:
chmod +x addClient addServer
After doing those things the AddSystem example should work. I started
from scratch with just the code in the man page and these extra
instructions and the result worked OK.
Thanks for bringing this to my attention. Expect the revised man page
in the next major release of Mac OS X (i.e., don't hold breath, this
won't go out in a software update). I'll also make sure the revised man
page is part of the first open source version.
- Doug