LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ns 2.31 installation on fedro14 Error (https://www.linuxquestions.org/questions/linux-software-2/ns-2-31-installation-on-fedro14-error-940221/)

fabe856 04-17-2012 06:23 AM

ns 2.31 installation on fedro14 Error
 
Hi,
for installation of ns2.31 on fedora 14, i used following commands
#yum install \ libX11-devel libXext-devel libXau-devel libXmu-devel gcc-c++
./install
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

Regards
Fabe

acid_kewpie 04-17-2012 06:31 AM

simplest option would be to install the development tools group...

yum groupinstall "Development tools"

and go from there.

knudfl 04-17-2012 06:41 AM

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

NS-2.31 :
cd ns-allinone-2.31/ && export CC=gcc34 CXX=g++34 && ./install

.

fabe856 04-18-2012 02:13 AM

Quote:

Originally Posted by knudfl (Post 4654953)
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

.

I used the above commands but it is giving following message
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

Please suggest

Regards
Fabe

knudfl 04-18-2012 03:07 AM

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
Code:

[fedora14]
name=Fedora14-i386
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/14/Everything/i386/os/
enabled=1
gpgcheck=1

[fc14-updates]
name=Fedora14-updates-i386
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/updates/14/i386/
enabled=1
gpgcheck=1

.

fabe856 04-18-2012 05:30 AM

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
while executing
"exec xgraph a.txt out1.tr out2.tr -geometry 800x400 &"

Thanks again for your support

knudfl 04-18-2012 06:18 AM

# 6 : Building xgraph on Fedora, post # 2 here ...

http://www.linuxquestions.org/questi...34-a-862233/#2

fabe856 04-18-2012 07:58 AM

Following the steps of link given post #7, it worked.

Thanks for your guidance


All times are GMT -5. The time now is 10:30 PM.