LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-25-2015, 05:48 PM   #1
Stuttgarke
LQ Newbie
 
Registered: Jul 2015
Posts: 1

Rep: Reputation: Disabled
Unhappy ns2 install error: TCL not part of the ns project


I have been trying for a week now to install ns2 on my computer. I started with ns2.35 all-in-one and tried installing it on windows using Cygwin. I got the following error:

tcl8.5.10 configuration failed! Exiting...
Tcl is not part of the ns project. Please see www.Screeptics.com
to see if they have a fix for your platform.

Then I tried installing it on a Unix-like OS (Fedora 19). I get to the "Build Tcl 8.5.10" portion of the installation then similarly got:
TCL IS NOT A PART OF NS2 PROJECT. Please see www.Screeptics.com
to see if they have a fix for your platform.


I thought maybe the error was in the downloaded ns version, so I tried again with 2.34 and 2.29 (Each time erasing the existing version), same error both in Windows with Cygwin and in Fedora.

I looked online, and find a "solution" that said that error happened because in the tcl.m4 files, the following line "system=MP-RAS-`awk ' { print $3 } '/etc/.relid'`" has an extra apostrophe and should be in fact system=MP-RAS-`awk ' { print $3 } '/etc/.relid`, but I checked and my tcl files don't have that extra character in them.

I don't know what to do. I browsed everywhere for an answer. Please help!If any additional details about what I've done so far in the setup are needed, I'd be glad (and grateful) to provide them.
 
Old 07-26-2015, 06:24 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
Welcome to LQ.

Building ns-2.35, e.g. with Fedora 19 :

# yum install gcc-c++ autoconf libtool libXmu-devel

In /home/<name>/ (not the Desktop/)
$ tar xvf ns-allinone-2.35_gcc482.tar.gz
( A `Nov 2014' update for all gcc versions 4.4.x .. 5.2.0 )
https://drive.google.com/file/d/0B7S...ew?usp=sharing
$ cd ns-allinone-2.35/
$ ./install
$ cd ns-2.35/
# make install
# cd ../nam-1.15/
# make install

-
 
  


Reply

Tags
ns2


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 while running .tcl file in ns2.35 sunithas01 Fedora 16 03-27-2015 10:22 AM
error in running tcl file in NS2 mary1001 Linux - Newbie 4 11-09-2014 08:32 PM
NS2: regarding error during run .tcl file bhupendrapatel Linux - Software 4 05-03-2013 09:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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