Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-11-2011, 11:02 AM   #1
LQ Newbie
Registered: Jun 2011
Posts: 3

Rep: Reputation: Disabled
NS-2.27 make failed


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 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,
Old 06-11-2011, 11:09 AM   #2
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Hi and welcome to LinuxQuestions!

This question was asked some time ago here at LQ. Try to follow directions in this post from knudfl: Hope this helps.
1 members found this post helpful.
Old 06-11-2011, 12:26 PM   #3
LQ Newbie
Registered: Jun 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
That was the solution.

Many thanks for your help. That was the solution

Thanks again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Ns make failed! terbulance129 Linux - Newbie 8 06-11-2011 11:39 AM
Gconf 2.25 failed to make.. clarci Linux - Software 1 02-12-2009 08:15 AM
tk8.4.11 make failed blueskyhff Linux - Software 0 07-02-2007 09:04 AM
Failed to 'make menuconfig' chingyenccy Linux - Newbie 1 12-14-2004 05:41 PM
make test on perl5 failed quixy Programming 1 11-17-2004 03:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration