On 11/18/2016 06:56 AM, 'ptorab' via ns-3-users wrote:
> Thanks -- I was wondering if this has indeed been resolved in 3.26 and
> if installation with bake works with no tweaks. Thanks.
We did not get that upgrade done for ns-3.26, sorry. It is still an
open issue.
For Ubuntu, there might be a workaround with a gccxml wrapper if someone
wants to try to work through the issues and let us know. Ubuntu 16.04
(haven't checked with 16.10) distributes castxml as a package, and also
'python-pygccxml' package. It also distributes a gccxml wrapper around
castxml. I disabled some gccxml version checking in
bindings/python/wscript, and './waf configure' reported that API
scanning was enabled. However, when I performed an API scan, it errored
out as follows:
pygccxml.parser.source_reader.gccxml_runtime_error_t: Error occured
while running GCC-XML: GCC-XML compatibility CastXML wrapper
Error: unsupported argument: --gccxml-cxxflags
I don't know whether this is an easily surmountable problem or not; it
may be something that could be mapped to castxml (see this post:
http://public.kitware.com/pipermail/castxml/2015-July/000014.html)
Longer term, we aim to call castxml directly and upgrade our wscripts to
do so. castxml seems easiest to install via binary package if possible
(e.g. recent Ubuntu releases); building from source takes a long time.
- Tom
>
> On Tuesday, July 12, 2016 at 7:43:39 PM UTC-7, ptorab wrote:
>
> I've strictly followed the ns3.25 installation guide _using bake_ on
> a clean Ubuntu 16.04 LTS system, multiple times, and get build
> errors on gccxml-ns3 and pygccxml; has anyone been successful with
> bake and Ubuntu 16.04? Thanks.
>
> >> Building gccxml-ns3 - Problem
> > Problem: Optional dependency, module "gccxml-ns3" failed
> This may reduce the functionality of the final build.
> However, bake will continue since "gccxml-ns3" is not an
> essential dependency.
> For more information call bake with -v or -vvv, for full
> verbose mode.
> >> Building pygccxml - Problem
> >> Building netanim-3.107 - OK
> >> Building pybindgen-0.17.0.post49+ng0e4e3bc - Problem
> > Problem: Optional dependency, module
> "pybindgen-0.17.0.post49+ng0e4e3bc" failed
> This may reduce the functionality of the final build.
> However, bake will continue since
> "pybindgen-0.17.0.post49+ng0e4e3bc" is not an essential dependency.
> For more information call bake with -v or -vvv, for full
> verbose mode.
>
>
> --
> Posting to this group should follow these guidelines
>
https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
> ---
> You received this message because you are subscribed to the Google
> Groups "ns-3-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
ns-3-users+...@googlegroups.com
> <mailto:
ns-3-users+...@googlegroups.com>.
> To post to this group, send email to
ns-3-...@googlegroups.com
> <mailto:
ns-3-...@googlegroups.com>.
> Visit this group at
https://groups.google.com/group/ns-3-users.
> For more options, visit
https://groups.google.com/d/optout.