Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42595 - request for ns2 ebuild
Summary: request for ns2 ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on: 57294
Blocks:
  Show dependency tree
 
Reported: 2004-02-23 06:54 UTC by Fredrik Normann
Modified: 2004-07-28 01:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of the "emerge ns" (out.file2,4.62 KB, text/plain)
2004-03-26 08:42 UTC, Fredrik Normann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fredrik Normann 2004-02-23 06:54:00 UTC
http://www.isi.edu/nsnam/ns/

Ns is a discrete event simulator targeted at networking research. Ns provides substantial support for simulation of TCP, routing, and multicast protocols over wired and wireless (local and satellite) networks. 

Ns began as a variant of the REAL network simulator in 1989 and has evolved substantially over the past few years. In 1995 ns development was supported by DARPA through the VINT project at LBL, Xerox PARC, UCB, and USC/ISI. Currently ns development is support through DARPA with SAMAN and through NSF with CONSER, both in collaboration with other researchers including ACIRI. Ns has always included substantal contributions from other researchers, including wireless code from the UCB Daedelus and CMU Monarch projects and Sun Microsystems. For documentation on recent changes, see the version 2 change log.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
Can't find it

Expected Results:  
I could find it :-)

From the webpage:

Getting the Pieces

Important:Please check the bug fixes after you finish installation!. 

Ns depends on several externally available components. Below is a summary of 
where to get them and where they may already be (if you're a VINT developer). 
Since the components depend on each other, you should build them in the listed 
order. 

Ns is developed primarily on Unix (SunOS, FreeBSD, and Linux) and should build 
on most other versions of Unix. Ns should also build under 
Windows-95/98/2000/NT. 

Tcl/Tk 
Download source: 
A modestly up to date Tcl/Tk version Tcl-8.4.5 Tk-8.4.5 
web page: Scriptics Tcl/Tk resources. Note that while more up to date versions 
of tcl/tk are available, we have not tested with them (although we expect them 
to work). 

otcl 
Download source: 
version 1.8 (released Jan 9, 2004) 
daily snapshot 
anonymous CVS (package "otcl") 
web page: http://otcl-tclcl.sourceforge.net/otcl/. 

TclCL (the package formerly known as libTcl) 
Download source: 
The latest version tclcl-1.15 (released Jan 9, 2004) 
daily snapshot 
anonymous CVS (package "tclcl") 
web page: http://otcl-tclcl.sourceforge.net/tclcl/. 

ns-2 
Download source: 
most recent release (ns-2.27 released Jan 18, 2004) 
daily snapshot, 
anonymous cvs (package "ns-2"). 
web page: http://www.isi.edu/nsnam/ns/. 

Prebuilt binaries for the current release of ns-2.27 to run under cygwin for 
windows9x/2000/XP and instructions to build the cygwin environment are available 
from the cygwin page . 

There may be known problems with the current version of ns; please check the ns 
installation problems web page for patches. 

nam-1 (optional) 
Download source: 
most recent release (nam-1.10 released Jan 18, 2004 ) 
daily snapshot, 
anonymous cvs (package "nam-1"). 
web page: http://www.isi.edu/nsnam/nam/ 

Prebuilt binaries for nam-1.10 to run under cygwin for windows9x/2000/XP and 
instructions to build the cygwin environment are available from the cygwin page 
. You can find pre-built binary for Linux here . 

xgraph (optional, but needed for test suites) 
Download source: version 12.1, or by anonymous cvs (package "xgraph"). web page: 
http://www.isi.edu/nsnam/xgraph/. 

(This version is maintained by the ns maintainers and includes portability fixes 
over the older 12.0 release.) 

perl (optional, but needed for test suites) 
Download source: latest stable release; web page: http://language.perl.com/ 

Note that version 5.003 or later is required. 

tcl-debug (optional, available for Tcl debugging help) 
Download source: version 1.7; web page: http://expect.nist.gov/tcl-debug/ This 
version will work with Tcl/Tk 8.0 release. 

dmalloc (optional, available for memory debugging) 
Download source: version 4.8.0. web page: http://www.dmalloc.com; specify 
--with-dmalloc during configure to include. 

sgb2ns conversion program (optional, needed to convert GT-ITM output to ns-2 
format) 
Download source: sgb2ns conversion program. For more info on GT-ITM topology 
generators see GT-ITM Topology Generator. 

tiers2ns conversion program (optional, needed to convert Tiers output to ns-2 
format) 
Download source:tiers2ns.awk. For more info on Tiers topology generators see 
Tiers Topology Generator. 

Cweb and sgb source code (optional, required to create sgb-library that is used 
by gt-itm and sgb2ns programs) 
Download cweb source from cweb ftp page 
Download sgb source code from sgb ftp page 

VINT developers at ISI can find all of these packages in /nfs/filb2/public/pkgs.
Comment 1 Michael Boman (RETIRED) gentoo-dev 2004-02-27 07:25:25 UTC
NS2 looks like a very interesting software, unfortunatly we are short on man-power in the newly created 'netmon' herd.

Could you perhaps create the relivant .ebuild files and submit them for inclusion? It seems that you have much more expiriance of this software then we in the netmon herd currently have.

Please look at http://www.gentoo.org/doc/en/gentoo-howto.xml for instructions how to create ebuild files.
Comment 2 Michael Boman (RETIRED) gentoo-dev 2004-02-29 05:58:57 UTC
I saw that

net-analyzer/ns
net-analyzer/nam
dev-tcltk/otcl
dev-tcltk/tclcl

packages already exists in the portage tree, which makes this bug is invalid.

Comment 3 Fredrik Normann 2004-03-26 08:42:31 UTC
Created attachment 28066 [details]
Output of the "emerge ns"
Comment 4 Fredrik Normann 2004-03-26 08:44:04 UTC
This is my make.conf 

USE="DBM gnome ldap X alsa cups usb acpi avi dga tcltk encode gif gphoto2 jpeg maildir mmx mpeg mozilla mysql oggvorbis 
opengl  pam png quicktime sdl ssl tiff wmf zlib xml x86 curl doc dvd ethereal gpm fbcon freetds gb gd gtk2 imap innodb  
junit kerberos lcms lirc mpi pcmcia plotutils pnp ppds samba sasl scanner slp snmp socks5 sse tiff trusted vmf  xinerama
 opera xfce4 cdr gtk ruby -apm java kde -slang -berkdb -arts -alpha -sparc -mips -hppa -arm" 
 
CHOST="i686-pc-linux-gnu"

CFLAGS="-march=pentium3 -pipe -O2 -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-fu
nctions=64" 

CXXFLAGS="${CFLAGS}"

ACCEPT_KEYWORDS="~x86"
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-07-27 17:58:20 UTC
tclcl/otcl are fixed.
I put NS2 into the tree myself, many moons ago.

Fredrik: In future please do NOT reopen bugs because something is broken. Instead open a new bug.
Comment 6 Fredrik Normann 2004-07-28 01:59:14 UTC
Robin: ACK