Package Details: ns3 3.40-2

Git Clone URL: https://aur.archlinux.org/ns3.git (read-only, click to copy)
Package Base: ns3
Description: Discrete-event network simulator for Internet systems
Upstream URL: http://www.nsnam.org/
Licenses: GPL2
Conflicts: ns3-hg
Provides: clickrouter, cppyy, ns3
Submitter: yhfudev
Maintainer: kyechou (yhfudev)
Last Packager: kyechou
Votes: 8
Popularity: 0.067195
First Submitted: 2015-10-07 15:56 (UTC)
Last Updated: 2024-01-28 17:13 (UTC)

Latest Comments

1 2 Next › Last »

maelstrom799 commented on 2024-02-22 04:43 (UTC)

I tried installing the package but i get this error:

Can't exec "gzcat": No such file or directory at ./click-elem2man line 1316.

To fix this i symlinked gzcat to zcat but now i get this error:

gzip: /home/maelstrom/.cache/yay/ns3/src/click-git/install/share/man/man7/FilterFailures.7click.gz: No such file or directory

And later on i get this warning:

-- NS3_BINDINGS_INSTALL_DIR was not set. The visualizer python module won't be installed with ./ns3 install.

and then the install ends abruptly with this error:

-- ---- Summary of ns-3 settings:
Build profile                 : default
Build directory               : /home/maelstrom/.cache/yay/ns3/src/ns-allinone-3.40/ns-3.40/build
Build with runtime asserts    : ON
Build with runtime logging    : ON
Build version embedding       : ON
BRITE Integration             : ON
DES Metrics event collection  : OFF (not requested)
DPDK NetDevice                : ON
Emulation FdNetDevice         : ON
Examples                      : ON
File descriptor NetDevice     : ON
GNU Scientific Library (GSL)  : ON
GtkConfigStore                : ON
LibXml2 support               : ON
MPI Support                   : ON
ns-3 Click Integration        : ON
ns-3 OpenFlow Integration     : ON
Netmap emulation FdNetDevice  : OFF (missing dependency)
PyViz visualizer              : ON
Python Bindings               : ON
SQLite support                : ON
Eigen3 support                : ON
Tap Bridge                    : ON
Tap FdNetDevice               : ON
Tests                         : ON


Modules configured to be built:
antenna                   aodv                      applications
bridge                    brite                     buildings
click                     config-store              core
csma                      csma-layout               dsdv
dsr                       energy                    fd-net-device
flow-monitor              internet                  internet-apps
lr-wpan                   lte                       mesh
mobility                  mpi                       netanim
network                   nix-vector-routing        olsr
openflow                  point-to-point            point-to-point-layout
propagation               sixlowpan                 spectrum
stats                     tap-bridge                test
topology-read             traffic-control           uan
virtual-net-device        visualizer                wifi
wimax


-- Configuring done (23.6s)
-- Generating done (1.8s)
-- Build files have been written to: /home/maelstrom/.cache/yay/ns3/src/ns-allinone-3.40/ns-3.40/cmake-cache
Finished executing the following commands:
mkdir cmake-cache
cd cmake-cache; /usr/bin/cmake -DPython3_LIBRARY_DIRS=/usr/lib -DPython3_INCLUDE_DIRS=/usr/include/python3.11 -DPython3_EXECUTABLE=/home/maelstrom/.cache/yay/ns3/src/.venv/bin/python3 -DCMAKE_BUILD_TYPE=default -DNS3_ASSERT=ON -DNS3_LOG=ON -DNS3_WARNINGS_AS_ERRORS=OFF -DNS3_NATIVE_OPTIMIZATIONS=OFF -DNS3_DPDK=ON -DNS3_EIGEN=ON -DNS3_ENABLE_BUILD_VERSION=ON -DNS3_EXAMPLES=ON -DNS3_GSL=ON -DNS3_GTK3=ON -DNS3_LOG=ON -DNS3_MONOLIB=ON -DNS3_MPI=ON -DNS3_PYTHON_BINDINGS=ON -DNS3_TESTS=ON -DNS3_WITH_BRITE=/home/maelstrom/.cache/yay/ns3/src/BRITE-30338f4f63b9 -DNS3_WITH_CLICK=/home/maelstrom/.cache/yay/ns3/src/click-git/install -DNS3_WITH_OPENFLOW=/home/maelstrom/.cache/yay/ns3/src/openflow-d45e7d184151 -DCMAKE_INSTALL_PREFIX=/usr -G Ninja .. ; cd ..
[0/2] Re-checking globbed directories...
[16/1998] Linking CXX executable ns3.40-stdlib_pch_exec-default
FAILED: ns3.40-stdlib_pch_exec-default
: && /usr/bin/c++ -march=native -O3 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -O2 -g -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto    -fuse-ld=lld CMakeFiles/stdlib_pch_exec.dir/build-support/empty-main.cc.o -o ns3.40-stdlib_pch_exec-default -L/home/maelstrom/.cache/yay/ns3/src/ns-allinone-3.40/ns-3.40/build/lib  && :
ld.lld: error: undefined symbol: main
>>> referenced by /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/Scrt1.o:(_start)
collect2: error: ld returned 1 exit status
[30/1998] Building CXX object src/test/CMakeF...raced/traced-callback-typedef-test-suite.cc.o
ninja: build stopped: subcommand failed.
Finished executing the following commands:
cd cmake-cache; /usr/bin/cmake --build . -j 15 ; cd ..
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: ns3-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
ns3 - exit status 4

I'm not quite sure what to do for "manual intervention"

NTickiTavi commented on 2024-02-02 16:42 (UTC)

@kyechou thanks alot, the download worked 100%, I'm just not sure how to use the package to run cpp files, ns3 does not run, and if I use g++ alot of the classes are not recognized, I tried using -L ns3, also didn't work, I couldn't find any documentation for this exact package, just for the ns3 compiler as a whole, if there's some documentation that I'm missing just point me to it and I'll be out of your hair.

kyechou commented on 2024-01-28 17:13 (UTC)

Hi @NTickiTavi, thanks for letting me know! I've updated the checksum and it should be fixed now.

NTickiTavi commented on 2024-01-28 15:39 (UTC)

Hello, currently on a fresh manjaro-xfce install, used normal yay -S to install and agreed to all dependencies, but cppyy 2.4.2 always fails to verify, I tried manually getting the file and putting in the build directory, same issue, not sure if I'm doing anything wrong, just thought I'd give some feedback

kyechou commented on 2024-01-10 22:50 (UTC)

Hi @danielphan2003, I've updated the package to 3.40 and also included cppyy 2.4.2 as provided by the package. Please let me know if the Python bindings are working or not. Thanks!

danielphan2003 commented on 2023-10-05 03:34 (UTC)

The latest build (https://aur.archlinux.org/cgit/aur.git/commit/?h=ns3&id=c56f59343ba35c968e99bb30692c0ff5f69174cb) doesn't recognize Pything bindings since ns3 v3.37+ uses cppyy instead of pybindgen.

I'm not sure why manually downgrading cppyy and its dependencies doesn't make ns3 recognizes them while building, as they pinned cppyy version to v2.4.2 (https://www.nsnam.org/docs/manual/html/python.html#using-the-bindings-from-the-ns-3-source) due to an issue with callbacks on v3.0.0 (https://gitlab.com/nsnam/ns-3-dev/-/issues/908).

doclai commented on 2023-04-20 07:35 (UTC)

This is the error I got when compiling the first.cc with ns3: /usr/bin/ld: /tmp/ccLRnrJX.o: warning: relocation against_ZN3ns34Time14g_markingTimesE' in read-only section .text._ZN3ns34TimeD2Ev[_ZN3ns34TimeD5Ev]' ... /usr/bin/ld: warning: creating DT_TEXTREL in a PIE collect2: error: ld returned 1 exit status Anyone know how to deal with this?

kyechou commented on 2022-04-21 14:53 (UTC)

Hi @lumpus, thanks for letting me know, but the error is not related to this package. Please report the error to https://aur.archlinux.org/packages/pygoocanvas.

FabioLolix commented on 2022-04-20 19:28 (UTC)

Renaming to the same name is pointless (pygoocanvas::)

lumpus commented on 2022-04-20 19:26 (UTC) (edited on 2022-04-20 19:27 (UTC) by lumpus)

Gives the following error:

Fetching origin fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

Changing source=("git://github.com/dnut/pygoocanvas.git") to source=("pygoocanvas::git+https://github.com/dnut/pygoocanvas.git") fixes it.