Bugzilla – Bug 1640
bake needs to test for g++
Last modified: 2013-04-24 20:43:06 UTC
Tried the release candidate on a new Ubuntu 13.04 (beta) system. Installed the dependencies requested by bake.py check and bake.py show (for ns-3.17 configuration). The build fails with this error: >> Building netanim-3.103 - Problem > Subprocess failed with error 2: ['make', '-j', '1'] > Problem: Unmet dependency on module: netanim-3.103. Bake will continue since this module is not in the critical path. For more information call bake with -vv. >> Building ns-3.17 - Problem > Subprocess failed with error 1: ['/home/buildslave/scratch/ns-allinone-3.17.rc1/bake/source/ns-3.17/waf', 'configure', '--prefix=/home/buildslave/scratch/ns-allinone-3.17.rc1/bake/build', '--enable-examples', '--enable-tests'] > Error: Unmet critical dependency on module: ns-3.17 For more information call Bake with --debug and/or -vvv (bake --help) The underlying problem is that gcc is present, but g++ is not. Probably should check for "g++' in the list of required system dependencies (bake.py check)
bake changeset: 867d988f97ce If/when other compilers are supported, could migrate this check to a conf_check of general C++ compiler availability.
Added a g++ system dependency to nsc. I guess it is better like that, it will stop the build of nsc if g++ is missing. changeset 221
Sorry netanime changeset 222