python2-pydot missing as well.
Search Criteria
Package Details: ns3 3.29-1
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: | |
Conflicts: | |
Provides: | |
Submitter: | yhfudev |
Maintainer: | Hotstoast (yhfudev) |
Last Packager: | yhfudev |
Votes: | 6 |
Popularity: | 0.000659 |
First Submitted: | 2015-10-07 15:56 |
Last Updated: | 2019-01-02 22:14 |
Dependencies (37)
- boost (boost-git)
- boost-libs (boost171, boost-libs-git)
- castxml (castxml-git)
- dia (dia-git)
- doxygen (doxygen-git)
- flex (flex-git)
- gcc (gcc-multilib-x32, fastgcc, gcc-multilib-git, gcc-git)
- goocanvas
- graphviz
- gsl
- imagemagick (graphicsmagick-imagemagick-compat, imagemagick-git, imagemagick-full-git, imagemagick-no-hdri, imagemagick-full, imagemagick-fftw)
- libgcrypt (libgcrypt15-git, libgcrypt-git)
- libxml2 (libxml2-linenum, libxml2-git)
- openmpi (openmpi-git, openmpi3, openmpi-gcc8, openmpi-gcc9, openmpi-cuda)
- pygccxml (python-pygccxml)
- pygoocanvas
- pygtk
- python2
- python2-gobject (python2-gobject-git)
- python2-pydot
- python2-pygraphviz
- python2-setuptools
- qt4 (qt4-revert80e3108)
- sqlite (sqlite-fossil, sqlite-replication, sqlite-fts3-parenthesis, sqlite-minimal-git)
- valgrind (valgrind-git)
- binutils (binutils-tune-bfd-hash, binutils-git) (make)
- bzr (bzr-bzr, breezy) (make)
- fakeroot (fakeroot-tcp, fakeroot-git) (make)
- findutils (findutils-git, findutils-selinux) (make)
- git (git-git) (make)
- mercurial (mercurial-hg, mercurial-stable-hg) (make)
- gdb (gdb-git, gdb-ibuclaw-git, gdb-trunk, gdb-mini) (optional)
- python2-sphinx (optional)
- tcpdump (tcpdump-git) (optional)
- texlive-bin (texlive-bin-svn, texlive-installer, texlive-full) (optional)
- uncrustify (uncrustify-git) (optional)
- wireshark-gtk (wireshark-gtk2) (optional)
Required by (0)
Sources (10)
Latest Comments
hashworks commented on 2020-04-09 21:26
FabioLolix commented on 2019-09-08 19:38
python2-pygraphviz don't exist anymore
khau commented on 2019-03-19 06:55
Just a heads up, the dependency "python2-pygraphviz" should be renamed to "python2-graphviz".
Lindhe commented on 2017-12-06 12:57
First of all, like FlorianJacob said, Mercurial should be a dependency or this will not install properly. And so should pygoocanvas.
Secondly, I thought this would have given me python bindings to ns3. Does it not? Because I can not import ns or ns.core in python. It says there is no such module.
j3thr0 commented on 2017-07-31 18:04
Hi,
It should work fine now, note:
1. pygoocanvas is breaking now so please use this to build
https://raw.githubusercontent.com/dnut/PKGBUILDs/master/pygoocanvas/PKGBUILD
2. NS3 has RAM requirement so please make sure you have at least 2G memory.
pasqui23 commented on 2017-03-20 19:18
below is a working PKGBUILD
pkgname=ns-3
pkgver=3.26
pkgrel=1
pkgdesc='Discrete-event network simulator to replace ns-2'
arch=('i686' 'x86_64')
url='http://www.nsnam.org/'
license=('GPL')
depends=('gsl'
'gtk2'
'libxml2'
'python2'
'sqlite3')
depends=('gsl' 'gtk2' 'pygtk' 'libxml2' 'python2' 'sqlite' 'openmpi'
'doxygen' 'graphviz' 'imagemagick' 'dia' 'qt4' 'pygccxml'
'tcpdump' 'wireshark-gtk' 'boost' 'boost-libs' 'valgrind'
'python2-setuptools' #'python2-pydot' #'goocanvas' 'pygoocanvas'
#'python2-pygraphviz'
'gdb')
makedepends=('fakeroot' 'findutils')
optdepends=('openmpi: mpi support''mercurial' 'bzr' 'texlive-bin'
'python2-sphinx' )
source=("https://www.nsnam.org/release/ns-allinone-$pkgver.tar.bz2")
# md5sums=('ebddcb29f86e42e2d13fc8277b30234a')
sha256sums=('af0dc9f71986199370188886ec240a983ed8ea3560353dda7e16d2d9f244ff69')
prepare()
{
cd $srcdir/ns-allinone-$pkgver
grep -rl '/usr/bin/env python' . | xargs sed -i \
's/\/usr\/bin\/env\/python/\/usr\/bin\/python2/g'
sed -i 's/\t/ /g' ./build.py
sed -i \
's/\/usr\/bin\/env\/python/\/usr\/bin\/python2/g' ./build.py
}
build()
{
cd $srcdir/ns-allinone-$pkgver
./build.py --enable-examples --enable-tests --qmake-path=/usr/bin/qmake-qt4 \
--build-options=--progress -- \
--enable-sudo --enable-mpi --with-python=/usr/bin/python2 --prefix=/usr \
--progress
}
package()
{
cd $srcdir/ns-allinone-$pkgver/ns-$pkgver
./waf install --destdir=$pkgdir/
}
str50 commented on 2016-09-13 19:00
The ns3 modules are installed into /usr/lib64 which would cause problems when installing.
Should add the following build option in PKGBUILD
--libdir=/usr/lib \
to ./build.py \
Also the pygccxml should suffice.
FlorianJacob commented on 2016-06-16 13:20
Maybe mercurial should not be an optional, but (or also) a build dependency? I got an error because it was not installed on my machine when it tried to download the sources.
Hawkido commented on 2016-05-19 12:15
I couldn't compile it using pygccxml-svn as dependency, i used pygccxml instead and it worked
Pinned Comments
j3thr0 commented on 2017-07-31 18:04
Hi,
It should work fine now, note:
1. pygoocanvas is breaking now so please use this to build
https://raw.githubusercontent.com/dnut/PKGBUILDs/master/pygoocanvas/PKGBUILD
2. NS3 has RAM requirement so please make sure you have at least 2G memory.