make depend error in crcn installation
Hello all,
During installation of CRCN on ns2.31, i faced the problem in make depend command $ make depend make: *** No rule to make target 'wcett/wcett_logs.cc ',needed by depend. Stop. Please tell me what to do Regards Fabe |
Welcome to LQ.
There is an error in the Makefile / Makefile.in ( If I remember right.) A valid Makefile.in is attached to post #9 here http://www.linuxquestions.org/questi...31-a-831390/#9 Other crcn threads, examples http://www.linuxquestions.org/questi...2-31-a-801695/ http://www.linuxquestions.org/questi...ulator-916363/ If you have any further questions : Please specify your Linux OS. Like CentOS 6, Fedora 16 etc. http://www.linuxquestions.org/linux/...Ask_a_Question http://linuxsilo.net/docs/smart-questions_en.html . |
Hi,
Thank you for your reply I replaced the makefile.in as advised. make depend doesnot show any error now, make command also runs well but at the end shows following error make[1]: *** [proxytrace2any.o] Error 1 also when I run java -jar crcn.jar GUI window opens but when I press confirm button it shows following in terminal window can't open file simsetfile! I am working on windows 7 and other ns2 programs are running fine. I have installed jre-6u31-windows-i586-s and gnuplot. I tried installing ns2.31 in fedora 14 but could not succed so I opted for crcn in windows. Thank you once again Fabe |
Quote:
cd ns-allinone-2.31/ && export CC=gcc34 CXX=g++34 && ./install |
Thank you,
I will try this in fedora 14. what about make command in the win7 Regards |
Quote:
Make sure that the right compiler is used. gcc-3.4 ? 4.x ? If you have more than one compiler choice : Just try them all. |
Quote:
i was using ns2.29 but added ns 2.31 for crcn only. Thanks again |
Never used Cygwin ( Or Windows© ).
Probably do not expect all applications to work in Cygwin. |
patch command not found error in fedora 14
Hi,
I tried to install ns 2.31 in fedora 14 with following commands # yum install \ libX11-devel libXext-devel libXau-devel libXmu-devel gcc-c++ (Completed without error) Copied tk-8.4-lastevent.patch to tk.8.4.14 because there was no tk 8.4.24 patch -p0 < tk-8.4-lastevent.patch (showed command not found) can i use ./install without patch command Please reply Thanks Fabe |
The patch "tk-8.4-lastevent.patch" is mostly for nam.
Fedora 14 : Any 'nam' can be used , see post #15 here .. http://www.linuxquestions.org/questi...5-a-938857/#15 Fedora 14, the patch command : # yum install patch |
Thanks
./install worked well ./validate (all tests passed) but when i type ns file name it shows command not found. Similar command is nc What to do now Thanks again for Your suggestions |
#11
Installing 'ns' to a system PATH : cd cd ns-allinone-2.31/ns-2.31/ ; su ; make install ( 'make install' will copy the binary ns to /usr/local/bin/ ). . |
Quote:
There are various bin directories. Also plz tell how to start a new thread in this discussion, as i m new to it. Thanks. |
Thank you nam is now working.
ns-2.31 is installed. Regards with special thanks to Kundfl Fabe |
solved make problem
To make depend
Be sure: 1.You copied crcn files into your ns-allinone-2.31/ns-2.31 directory first. 2.Copied 4 lines to Makefile 3.Then, start make clean, make depend and make Good Luck |
All times are GMT -5. The time now is 03:46 PM. |