ns 2.31 installation on fedro14 Error
for installation of ns2.31 on fedora 14, i used following commands
#yum install \ libX11-devel libXext-devel libXau-devel libXmu-devel gcc-c++
It showed following message
make: cc: Command not found
make: *** [example.o] Error 127
Zlib make failed, but it's optional Continue ...
* Build tcl8.4.14
loading cache ./config.cache
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
tcl8.3.2 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.
What may be the possible error
simplest option would be to install the development tools group...
yum groupinstall "Development tools"
and go from there.
NS2, Fedora :
# yum install \
gcc-c++ compat-gcc-34-c++ automake autoconf libtool libX11-devel \
libXext-devel libXau-devel libXmu-devel xorg-x11-proto-devel
cd ns-allinone-2.31/ && export CC=gcc34 CXX=g++34 && ./install
Setting up Install Process
No package gcc-c++ available.
No package compat-gcc-c++ available.
Package automake-1.11.1-5.fc14.noarch already installed and latest version
Package autoconf-2.66-2.fc14.noarch already installed and latest version
Package libtool-2.2.10-3.fc14.i686 already installed and latest version
No package libX11-devel libXext-devel available.
Package libXau-devel-1.0.6-1.fc14.i686 already installed and latest version
Package libXmu-devel-1.0.5-2.fc13.i686 already installed and latest version
Package xorg-x11-proto-devel-7.4-39.fc14.noarch already installed and latest version
Nothing to do
Looks like you have no Internet connection ?
Or using a wrong URL, etc. in /etc/yum.repos.d/fedora.repo ?
( Fedora 14 was recently moved to the old archive for obsoleted versions.)
Please edit to
thanks for reply,
it worked fine.
ns-2.31 installed but xgraph is not working it is showing following message
ns: finish: couldn't execute "xgraph": no such file or directory
"exec xgraph a.txt out1.tr out2.tr -geometry 800x400 &"
Thanks again for your support
# 6 : Building xgraph on Fedora, post # 2 here ...
Following the steps of link given post #7, it worked.
Thanks for your guidance
|All times are GMT -5. The time now is 06:04 AM.|