Bug 1784 - ns-allinone-3.18 does not build on OS 10.9 Xcode 5.0.1
ns-allinone-3.18 does not build on OS 10.9 Xcode 5.0.1
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: general
ns-3.18
Mac Intel Mac OS
: P5 critical
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-25 21:46 EDT by Tom Henderson
Modified: 2013-12-14 02:01 EST (History)
0 users

See Also:


Attachments
patch for ns-3.18 (305.66 KB, patch)
2013-10-25 21:49 EDT, Tom Henderson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Henderson 2013-10-25 21:46:28 EDT
This problem is due to OS X 10.9 moving to Xcode 5.0.1, which no longer includes gcc compiler.  Instead, the Apple LLVM compiler is provided.
Comment 1 Tom Henderson 2013-10-25 21:49:27 EDT
Created attachment 1687 [details]
patch for ns-3.18

This patch was tested against OS X 10.8 clang, and also contains the fix suggested in bug 1782.

To apply to ns-allinone-3.18:

  cd ns-allinone-3.18/ns-3.18
  patch -p1 -i ns-3.18-clang.patch
  ./waf configure --enable-examples --enable-tests
  ./waf build

This only covers ns-3.18 for C++ usage.

This will, in general, be fixed by a future ns-allinone-3.18.1 release.
Comment 2 Tom Henderson 2013-12-14 02:01:06 EST
fixed by ns-3.18.1 release