LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-20-2013, 02:14 AM   #1
gopi001
LQ Newbie
 
Registered: Feb 2013
Posts: 5
Blog Entries: 1

Rep: Reputation: Disabled
ns-2.28 installation problem in ubuntu 12.04-LTS


Hello Sir,

I have installed gcc41-compat-4.1.2-ubuntu1210_i386.deb and g++41-compat-4.1.2_i386.deb and then reboot. After that I have done following:

1) tar xvf ns-allinone-2.28.tar.gz
2) patch -p0 < ns-2.28-gcc410.patch.txt
3) export CC=gcc41 CXX=g++41
4) cd ns-allinone-2.28/
5) ./install
Then I got this error: * Build tcl8.4.5
============================================================
loading cache ./config.cache
checking whether to use symlinks for manpages... no
checking compression for manpages... no
checking for gcc... gcc41
checking whether the C compiler (gcc41 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
tcl8.3.2 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.

Please help me.
 
Old 02-20-2013, 03:11 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,393

Rep: Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607
May be you have a 64bits OS ? ( NS2 is for 32bits, i686.)
This command will show if the architecture is i686 or x86_64 :
$ uname -m


Also : Seems you forgot the patch (2) ns228-gcc40.patch, i.e. both patches must be used.
1) tar xvf ns-allinone-2.28.tar.gz
2) patch -p0 < ns228-gcc40.patch
3) patch -p0 < ns-2.28-gcc410.patch <Enter> <Enter> <Enter>
4) export CC=gcc41 CXX=g++41
... If you really did this wrong, please delete everything, and start from scratch.

.

Last edited by knudfl; 02-23-2013 at 07:13 AM.
 
  


Reply


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
Samsung CLX-3185 installation problem on ubuntu 12.04 lts 64 bit johnny2bad Linux - Hardware 1 09-17-2012 10:02 AM
[SOLVED] Sun JVM installation for VanetMobiSim/NS-2 in Ubuntu 10.04 LTS xptional Ubuntu 5 04-11-2012 06:30 AM
ubuntu 10.04 lts installation using flash drive gopalakrishna Linux - Newbie 8 02-25-2011 07:17 AM
Simple Ubuntu 10.04x LTS installation that allows multiboot sfxpt Ubuntu 4 08-25-2010 07:25 PM
Vmserver 2.0.2 installation issues on Ubuntu 10.04 LTS GirishSharma Linux - Virtualization and Cloud 1 07-02-2010 08:38 AM

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

All times are GMT -5. The time now is 06:29 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