LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ns2.31 installation in fedora14 error (https://www.linuxquestions.org/questions/linux-newbie-8/ns2-31-installation-in-fedora14-error-940388/)

sama_safa 04-18-2012 01:36 AM

ns2.31 installation in fedora14 error
 
g++ -o tcl2c++ tcl2c++.o
make: g++: Command not found
make: *** [tcl2c++] Error 127
tclcl-1.19 make failed! Exiting ...
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
plz suggest the way out?

knudfl 04-18-2012 01:41 AM

Welcome to LQ.

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
.

EricTRA 04-18-2012 01:43 AM

Hello and welcome to LinuxQuestions,

Apparently gcc-c++ is not installed. Install it and try again. Furthermore, Fedora 14 is EOL as from December 2011 so I advice you to upgrade to the latest stable release.

Kind regards,

Eric

sama_safa 04-18-2012 10:39 AM

@knudlf thanks for the help
i have one more query,how to configure wireless DSL modem in linux environment?
what are the guidelines for installing CRCN patch in ns2.31?

knudfl 04-18-2012 11:38 AM

#4 : DSL modem : Better start a new thread with the new topic.
( I don't know the answer for setting up DSL.)


CRCN :
I have packed up a "crcn-ns2.31.tar.gz" : A new Makefile.in is included.
https://docs.google.com/open?id=0B7S...XEtS3ozTHpmRHM
( The other files are from the original "crcn.zip".)
Then all the editing of the Makefile is not required.

cd ns-allinone-2.31/ && tar xvf crcn-ns2.31.tar.gz
&& cd ns-2.31/ && cp ns ns-orig && export CC=gcc34 CXX=g++34 &&
./configure && make clean && make depend && make
... and you have a new "CRCN ns" binary.


The other LQ threads about CRCN : LQ Search : Tag = crcn

.


All times are GMT -5. The time now is 03:21 AM.