LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-16-2013, 03:36 AM   #46
Ehtiba
LQ Newbie
 
Registered: Jan 2012
Posts: 6

Rep: Reputation: Disabled

Thanks MounaRM, Great job.

I really appreciate your work. they are great and helpful steps.
I finished installation successfully.
 
1 members found this post helpful.
Old 11-22-2013, 06:27 AM   #47
elaheh
LQ Newbie
 
Registered: Nov 2013
Posts: 2

Rep: Reputation: Disabled
Unhappy problem with install ns2.35 in ubuntu

hi all
after i installed ns2 and perform every command and fixed the error and validate, in new terminal after i typed "nam" or "ns" an error accoured! ((
The program 'nam' is currently not installed. You can install it by typing:
sudo apt-get install nam

what can i do ? ( please help me (
 
Old 11-22-2013, 10:15 AM   #48
elaheh
LQ Newbie
 
Registered: Nov 2013
Posts: 2

Rep: Reputation: Disabled
Thumbs up tnx alot

no, tnx
every things is ok, and no problem
tnx alot
 
Old 11-29-2013, 07:54 AM   #49
Andreia
LQ Newbie
 
Registered: Nov 2013
Posts: 1

Rep: Reputation: Disabled
Unhappy MounaRM step 3

Hi there,

I've been following all of MounaRM's steps (thanks btw)
But when I got to step 3, I did this "open /home/andreia/ns-allinone-2.35/otcl-1.14/Makefile.in"
This appears: "Couldn't get a file descriptor referring to the console"

Please help me, what should I do?

Last edited by Andreia; 11-29-2013 at 07:55 AM.
 
Old 11-30-2013, 01:13 AM   #50
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 49 .

"open /home/andreia/ns-allinone-2.35/otcl-1.14/Makefile.in" means :

$ cd ns-allinone-2.35/otcl-1.14/ && gedit Makefile.in
... where you of course can use your preferred editor instead of gedit.

P.S. : `open' is not a command. Is a description of "what to do".

-
 
Old 11-30-2013, 03:42 AM   #51
MounaRM
Member
 
Registered: Nov 2010
Posts: 35

Original Poster
Rep: Reputation: 14
Quote:
Originally Posted by Andreia View Post
Hi there,

I've been following all of MounaRM's steps (thanks btw)
But when I got to step 3, I did this "open /home/andreia/ns-allinone-2.35/otcl-1.14/Makefile.in"
This appears: "Couldn't get a file descriptor referring to the console"

Please help me, what should I do?
As knudfl said, open is not a command , you just open the file , or do it with a command :
Code:
cd /home/andreia/ns-allinone-2.35/otcl-1.14/
gedit Makefile.in
 
1 members found this post helpful.
Old 12-06-2013, 12:54 AM   #52
sflorida
LQ Newbie
 
Registered: Dec 2013
Posts: 3

Rep: Reputation: Disabled
hi all
after i installed ns2 and perform every command and fixed the error and validate, in new terminal after i typed "nam" or "ns" an error accoured! ((
The program 'nam' is currently not installed. You can install it by typing:
sudo apt-get install nam

The program 'ns' is currently not installed. You can install it by typing:
sudo apt-get install ns


what can i do ? ( please help me (
 
Old 12-06-2013, 02:11 AM   #53
sflorida
LQ Newbie
 
Registered: Dec 2013
Posts: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by MounaRM View Post
As knudfl said, open is not a command , you just open the file , or do it with a command :
Code:
cd /home/andreia/ns-allinone-2.35/otcl-1.14/
gedit Makefile.in

after i installed ns2 and perform every command and fixed the error and validate, in new terminal after i typed "nam" or "ns" an error accoured! ((
The program 'nam' is currently not installed. You can install it by typing:
sudo apt-get install nam

The program 'ns' is currently not installed. You can install it by typing:
sudo apt-get install ns


what can i do ? ( please help me
 
Old 12-06-2013, 02:54 AM   #54
sflorida
LQ Newbie
 
Registered: Dec 2013
Posts: 3

Rep: Reputation: Disabled
thanx it is done...
 
Old 03-10-2014, 06:07 AM   #55
htet htet
LQ Newbie
 
Registered: Mar 2014
Posts: 7

Rep: Reputation: Disabled
hello fri

i'm trying to install ns 2.31 on ubuntu 12.10.
when i type the command: sudo apt-get install build-essential autoconf automake libxmu-dev, it has shown the error message package is not available.
could you suggest me about the problems? i'm looking forward to your suggestion.



administrator@ubuntu:~/ns2/ns-allinone-2.31$ sudo apt-get install build-essential autoconf automake libxmu-dev
[sudo] password for administrator:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package automake is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package autoconf is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package build-essential is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libxmu-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'build-essential' has no installation candidate
E: Package 'autoconf' has no installation candidate
E: Package 'automake' has no installation candidate
E: Package 'libxmu-dev' has no installation candidate
administrator@ubuntu:~/ns2/ns-allinone-2.31$

Last edited by htet htet; 03-10-2014 at 06:10 AM.
 
Old 03-10-2014, 07:02 AM   #56
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post #55 , @htet htet : Welcome to LQ.

The prerequisites for ns2 : You will have to update the package list ...
1) $ sudo apt-get update
2) $ sudo apt-get install g++ g++-4.4 autoconf automake libtool libxmu-dev patch xgraph

.. And for ns-2.31 / Ubuntu 12.10 - i686 : See post #47 here ..
http://www.linuxquestions.org/questi...532/page4.html

Using : $ cd ns-allinone-2.31/ && export CC=gcc41 CXX=g++41 && ./install

-
 
1 members found this post helpful.
Old 03-15-2014, 08:58 AM   #57
htet htet
LQ Newbie
 
Registered: Mar 2014
Posts: 7

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Post #55 , @htet htet : Welcome to LQ.

The prerequisites for ns2 : You will have to update the package list ...
1) $ sudo apt-get update
2) $ sudo apt-get install g++ g++-4.4 autoconf automake libtool libxmu-dev patch xgraph

.. And for ns-2.31 / Ubuntu 12.10 - i686 : See post #47 here ..
http://www.linuxquestions.org/questi...532/page4.html

Using : $ cd ns-allinone-2.31/ && export CC=gcc41 CXX=g++41 && ./install

-
thank u so much @knudfl

be honest, i'm new user to use that simulation software.
i did the steps as ur suggestion. and also downloaded from ur following links.

gcc41-compat*1210 https://docs.google.com/file/d/0B7S2...FQY2VJbjA/edit
g++41-compat https://docs.google.com/file/d/0B7S2...jN2M2MGU4/edit

but some error messages have shown.

@@@@@@@

dpkg: error processing gcc41-compat-4.1.2-ubuntu1210_i386.deb (--install):
cannot access archive: No such file or directory
dpkg: error processing g++41-compat-4.1.2_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
gcc41-compat-4.1.2-ubuntu1210_i386.deb
g++41-compat-4.1.2_i386.deb



@@@@@@@

may i know where I can put the packages downloaded from ur links. i just place that packages on my ubuntu desktop.

Thanks in advance.

With regards,
thiri
 
Old 03-15-2014, 10:24 AM   #58
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 57 .
Quote:
cannot access archive: No such file or directory
The first command is always $ pwd
.. to decide your location. Which could be /home/name/ or /home/name/Docoments/ ?

So you must go to the directory where you have the downloaded files.
Like $ cd Desktop/
Or $ cd Downloads/
.. First then you can do ..
$ sudo dpkg -i gcc41-compat-4.1.2-ubuntu1210_i386.deb g++41-compat-4.1.2_i386.deb

-
 
1 members found this post helpful.
Old 03-15-2014, 10:45 PM   #59
htet htet
LQ Newbie
 
Registered: Mar 2014
Posts: 7

Rep: Reputation: Disabled
Dear knudfl,
i'm really thankful for ur reply.i have still error " tcl8.3.2 configuration failed! Exiting ..." when i'm running the following command
$ cd ns-allinone-2.31/ && export CC=gcc41 CXX=g++41 && ./install

And the output from the command $ uname -m is i686.

i have already downloaded a ns2.31_fhmip.patch and then tried your post #2 and # 17.
http://www.linuxquestions.org/questi...s2-4175461377/
http://www.linuxquestions.org/questi...924/page2.html

bash: ns2.31_fhmip.patch: No such file or directory

thanks for ur patience and sorry to trouble you.
please kindly advise me to solve that errors.

with regards,
ms. thiri

Last edited by htet htet; 03-16-2014 at 06:37 AM.
 
Old 03-16-2014, 04:12 AM   #60
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 59 .

First : Hit the `Edit' button and shorten the long lines with @@@.
( Not everybody uses a 24" or 27" monitor.)
Nice readable text : More chance that you will get an answer.


Quote:
configure: error: installation or configuration problem:
C compiler cannot create executables.
Not easy to know ?
What's the output from the command $ uname -m <Enter>

-
 
  


Reply

Tags
edca, hcca, ns2



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
LXer: Installing Xen On An Ubuntu 8.04 (Hardy Heron) Server From The Ubuntu Repositor LXer Syndicated Linux News 0 05-08-2008 02:10 PM
LXer: Installing Xen On An Ubuntu 7.10 (Gutsy Gibbon) Server From The Ubuntu Reposito LXer Syndicated Linux News 0 11-06-2007 08:50 PM
LXer: Installing Xen On An Ubuntu Feisty Fawn Server From The Ubuntu Repositories LXer Syndicated Linux News 0 07-01-2007 06:46 AM
ubuntu partitioning tool does not see external usb hard drive when installing ubuntu fakie_flip Linux - Software 2 07-30-2006 12:44 AM
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 02:44 PM

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

All times are GMT -5. The time now is 08:31 PM.

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