LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NS-2.27 make failed (https://www.linuxquestions.org/questions/linux-newbie-8/ns-2-27-make-failed-885742/)

Maryamka 06-11-2011 10:02 AM

NS-2.27 make failed
 
Hi,

I'm trying to install ns-allinone-2.27 on Fedora Core 10. The GCC compiler which is already installed on this version of Fedora is 4.3.2, so I've installed gcc 3.2.3 to be able to compile ns-2.27. I've installed ns-allinone-2.33 and ns-allinone-2.28 with no problem. But for 2.27 i got this error msg:

make: *** No rule to make target 'VERSION', needed by 'gen/version.c'. Stop.

Ns make failed!

I've tracked the installation process, it can install everything successfully (TCL, TK, TCLC, ...), but when it comes to build ns-2.27, this error occurs. I've downloaded ns-allinone-2.27.tar.gz from http://www.isi.edu/nsnam/dist/ and I've extracted it with Linux command (tar zxvf ....). The directory "gen" includes the file version.c but it's empty. I've checked the same directory on ns-2.28 and the file contains "char version_string[] = "2.28"; ", so i also tried the same line of code as "char version_string[] = "2.27";" but the error still exists.


I need to install ns-2.27 to compile a specific packet.

Any help would be highly appreciated.

Thank you,
Maryam

colucix 06-11-2011 10:09 AM

Hi and welcome to LinuxQuestions!

This question was asked some time ago here at LQ. Try to follow directions in this post from knudfl: http://www.linuxquestions.org/questi...8/#post4316741. Hope this helps.

Maryamka 06-11-2011 11:26 AM

That was the solution.
 
Many thanks for your help. That was the solution ;)

Thanks again.


All times are GMT -5. The time now is 04:29 AM.