I'm having problems installing "Building BRITE Integration" on ns-3.45.

59 views
Skip to first unread message

Wagner de Oliveira

unread,
Aug 13, 2025, 6:34:38 PMAug 13
to ns-3-users

Good morning, my name is Wagner. I'm new to this software. I'm using VMware Workstation 17.5.1 and Ubuntu 24.04. I'm trying to install "Building BRITE Integration" on ns-3.45, according to the document "ns-3 Model Library, release ns-3.45, ns-3 project, June 2, 2025."

However, the directories and folders "brite/lib/libbrite.a" and "brite/include/brite.h" won't install.

1) I used the "hg" commands:
$ hg clone http://code.nsnam.org/BRITE
$ cd BRITE
$ make
$ ./ns3 configure --with-brite=/your/path/to/brite/source --enable-examples
$ ./ns3

2) These folders and files won't install.

ls .../ns-allinone-3.45/brite/lib/libbrite.a
ls .../ns-allinone-3.45/brite/include/Brite.h

3) I uninstalled and reinstalled.

4) I also used the "gitlab" command.
$ cd ~/ns-allinone-3.45
$ git clone https://gitlab.com/nsnam/brite.git
$ cd brite
$ make

./ns3 build
./ns3 show | grep -i brite

5) Install minimal dependencies

$ sudo apt update
$ sudo apt install -y build-essential bison flex

Can you please help me? I've already tried everything to install it, but it seems like a bug.

Tom Henderson

unread,
Aug 13, 2025, 7:34:12 PMAug 13
to ns-3-...@googlegroups.com

Sorry about that; we need to update our documentation.  brite has migrated to our GitLab.com and is using CMake; see:

https://gitlab.com/nsnam/BRITE.git

So instead of mercurial clone, I recommend that you instead git clone the above and use CMake.  I just tried this, successfully:

git clone https://gitlab.com/nsnam/BRITE.git

cd BRITE

mkdir build && cd build

cmake ..

make

This built a libbrite.so in the build directory.

I'll file a bug report to fix the documentation.

There is also another alternative to the above.  The following command is used by the ns-3 CI system to check the brite module; it will build brite internally and place it in build/lib/libbrite.so

./ns3 configure --enable-examples --enable-tests -- -DNS3_FETCH_OPTIONAL_COMPONENTS=ON
./ns3 build

(the above optional components flag will cause brite, click, and openflow libraries to be built within the ns-3 directory)

- Tom

--
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.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/fd7209e8-fba6-4783-a074-182fe069425an%40googlegroups.com.
Message has been deleted

Wagner de Oliveira

unread,
Sep 2, 2025, 9:36:05 AMSep 2
to ns-3-users


Hello "Tom Henderson"


Thanks (Obrigado)
Reply all
Reply to author
Forward
0 new messages