[ns] ns2.35 Lion OS exception

Ahmed Hesham ahesham at live.com
Tue Apr 3 00:34:10 PDT 2012


Dear All,
please help with the following error as I fail to install ns2
I use mac os X 10.7 (lion) on a processor i7

I installed xcode with the command line tools to be able to install ns2 but i received the following exception during installation
o libotcl otcl.omake: o: No such file or directorymake: [libotcl] Error 1 (ignored)rm -f libotclgcc -o otclsh  -g -O2 -I. -I/Users/ahesham/ns-allinone-2.35/include -I/Users/ahesham/ns-allinone-2.35/include -I/Users/ahesham/ns-allinone-2.35/include -I/include  otclAppInit.c \	-L. -lotcl -L/Users/ahesham/ns-allinone-2.35/lib -ltk8.5 -L/Users/ahesham/ns-allinone-2.35/lib -ltcl8.5 -L/usr/X11R6/lib -lXext -lX11  -lmUndefined symbols for architecture x86_64:  "_CFLocaleCopyCurrent", referenced from:      _TclpSetVariables in libtcl8.5.a(tclUnixInit.o)  "_CFLocaleGetIdentifier", referenced from:      _TclpSetVariables in libtcl8.5.a(tclUnixInit.o)  "_CFStringGetCString", referenced from:      _TclpSetVariables in libtcl8.5.a(tclUnixInit.o)  "_CFRelease", referenced from:      _TclpSetVariables in libtcl8.5.a(tclUnixInit.o)      _Tcl_FinalizeNotifier in libtcl8.5.a(tclMacOSXNotify.o)      _Tcl_MacOSXOpenVersionedBundleResources in libtcl8.5.a(tclMacOSXBundle.o)  "_CFStringCreateWith!
 CString", referenced from:      _Tcl_MacOSXOpenVersionedBundleResources in libtcl8.5.a(tclMacOSXBundle.o)  "_CFBundleGetBundleWithIdentifier", referenced from:      _Tcl_MacOSXOpenVersionedBundleResources in libtcl8.5.a(tclMacOSXBundle.o)  "_CFBundleCopyBundleURL", referenced from:      _Tcl_MacOSXOpenVersionedBundleResources in libtcl8.5.a(tclMacOSXBundle.o)  "_CFURLCopyLastPathComponent", referenced from:      _Tcl_MacOSXOpenVersionedBundleResources in libtcl8.5.a(tclMacOSXBundle.o)  "_CFStringCompare", referenced from:      _Tcl_MacOSXOpenVersionedBundleResources in libtcl8.5.a(tclMacOSXBundle.o)  "_CFURLCreateCopyAppendingPathComponent", referenced from:      _Tcl_MacOSXOpenVersionedBundleResources in libtcl8.5.a(tclMacOSXBundle.o)  "_CFBundleCreate", referenced from:      _Tcl_MacOSXOpenVersionedBundleResources in libtcl8.5.a(tclMacOSXBundle.o)  "_CFBundleCopyResourceURL", referenced from:      _Tcl_MacOSXOpenVersionedBundleResources in libtcl8.5.a(tclMacOSXBundle.o)  !
 "_CFURLGetFileSystemRepresentation", referenced from:      _Tcl_MacOSX
OpenVersionedBundleResources in libtcl8.5.a(tclMacOSXBundle.o)  "_CFRunLoopGetCurrent", referenced from:      _Tcl_InitNotifier in libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopSourceCreate", referenced from:      _Tcl_InitNotifier in libtcl8.5.a(tclMacOSXNotify.o)  "_kCFRunLoopCommonModes", referenced from:      _Tcl_InitNotifier in libtcl8.5.a(tclMacOSXNotify.o)      _Tcl_ServiceModeHook in libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopAddSource", referenced from:      _Tcl_InitNotifier in libtcl8.5.a(tclMacOSXNotify.o)      _TclMacOSXNotifierAddRunLoopMode in libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopObserverCreate", referenced from:      _Tcl_InitNotifier in libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopAddObserver", referenced from:      _Tcl_InitNotifier in libtcl8.5.a(tclMacOSXNotify.o)      _TclMacOSXNotifierAddRunLoopMode in libtcl8.5.a(tclMacOSXNotify.o)  "_CFAbsoluteTimeGetCurrent", referenced from:      _Tcl_SetTimer in libtcl8.5.a(tclMacOSXNotify.o)      _Tcl_Sleep in l!
 ibtcl8.5.a(tclMacOSXNotify.o)      _Tcl_ServiceModeHook in libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopTimerSetNextFireDate", referenced from:      _Tcl_SetTimer in libtcl8.5.a(tclMacOSXNotify.o)      _Tcl_Sleep in libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopTimerGetNextFireDate", referenced from:      _Tcl_Sleep in libtcl8.5.a(tclMacOSXNotify.o)  "_kCFRunLoopDefaultMode", referenced from:      _Tcl_Sleep in libtcl8.5.a(tclMacOSXNotify.o)      _Tcl_WaitForEvent in libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopRunInMode", referenced from:      _Tcl_Sleep in libtcl8.5.a(tclMacOSXNotify.o)      _Tcl_WaitForEvent in libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopSourceSignal", referenced from:      _NotifierThreadProc in libtcl8.5.a(tclMacOSXNotify.o)      _Tcl_AlertNotifier in libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopWakeUp", referenced from:      _NotifierThreadProc in libtcl8.5.a(tclMacOSXNotify.o)      _Tcl_AlertNotifier in libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopTimerCreate", !
 referenced from:      _Tcl_ServiceModeHook in libtcl8.5.a(tclMacOSXNot
ify.o)  "_CFRunLoopAddTimer", referenced from:      _Tcl_ServiceModeHook in libtcl8.5.a(tclMacOSXNotify.o)      _TclMacOSXNotifierAddRunLoopMode in libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopSourceInvalidate", referenced from:      _Tcl_FinalizeNotifier in libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopObserverInvalidate", referenced from:      _Tcl_FinalizeNotifier in libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopTimerInvalidate", referenced from:      _Tcl_FinalizeNotifier in libtcl8.5.a(tclMacOSXNotify.o)  "___CFConstantStringClassReference", referenced from:      CFString in libtcl8.5.a(tclMacOSXNotify.o)      CFString in libtcl8.5.a(tclMacOSXBundle.o)      CFString in libtcl8.5.a(tclMacOSXBundle.o)ld: symbol(s) not found for architecture x86_64collect2: ld returned 1 exit statusmake: *** [otclsh] Error 1otcl-1.14 make failed! Exiting ...See http://www.isi.edu/nsnam/ns/ns-problems.html for problems


Regards,Ahmed Hesham


 		 	   		  


More information about the Ns-users mailing list