[ns] Successful Leopard install was Re: can't install otcl-1.13 on Mac OS X 10.5.2?
Tom Henderson
tomh at tomh.org
Sat Feb 23 14:42:54 PST 2008
Lloyd Wood wrote:
> Thanks to gier egeland and David Viera for the hints.
>
> ./configure --x-includes=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include --x-libraries=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib
> make
>
> worked for me to successfully configure and make otcl-1.13, tclcl-1.19, and ns-2.32 on Leopard.
>
> That also worked for configuring nam-1.13, but that failed at the linker stage bleating
> Undefined symbols:
> "__TkCreateXEventSource", referenced from:
> _TkpInit in tkUnixInit.o
> so I grabbed nam-1-20080222.tar, which failed with the same linker error.
>
> (I was using the available Tcl/Tk in the system, but using the allinone compiled Tcl/Tk made no difference here.)
>
> I expect that the above will work for any Mac OS X 10.4 or 10.5 with XCode with the added X11 headers -there's a pkg on Leopard Install disc 1. The parallel MacOSX10.5.sdk/ tree is pretty empty, relying heavily on the base code in 10.4u (for universal: on Intel and PowerPC). On 10.3, using directories under /Developer/MacOSX10.3.9.sdk/ *may* well work - that directory exists, but the tree under it is mostly empty under Leopard. Since 10.3 changed so much during its lifetime, probably easiest to forget about 10.3 support altogether.
>
> I think that these locations need to be special-cased for Darwin in the all-in-one installer, just as Cygwin is.
>
> My, validate complains about 'no class variable LanRouter::debug_' a lot...
Lloyd,
Thanks, I've added the above to the troubleshooting page:
http://nsnam.isi.edu/nsnam/index.php/Troubleshooting
I personally haven't had problems using allinone package with OS 10.4,
Xcode 2.4 on a G4 PPC, so maybe something has changed with Leopard or
the newer Xcode.
Tom
More information about the Ns-users
mailing list