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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
04-16-2013, 04:36 AM
|
#46
|
LQ Newbie
Registered: Jan 2012
Posts: 6
Rep:
|
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.
|
11-22-2013, 07:27 AM
|
#47
|
LQ Newbie
Registered: Nov 2013
Posts: 2
Rep:
|
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 (
|
|
|
11-22-2013, 11:15 AM
|
#48
|
LQ Newbie
Registered: Nov 2013
Posts: 2
Rep:
|
tnx alot
no, tnx
every things is ok, and no problem
tnx alot
|
|
|
11-29-2013, 08:54 AM
|
#49
|
LQ Newbie
Registered: Nov 2013
Posts: 1
Rep:
|
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 08:55 AM.
|
|
|
11-30-2013, 02:13 AM
|
#50
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 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".
-
|
|
|
11-30-2013, 04:42 AM
|
#51
|
Member
Registered: Nov 2010
Posts: 35
Original Poster
Rep:
|
Quote:
Originally Posted by Andreia
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.
|
12-06-2013, 01:54 AM
|
#52
|
LQ Newbie
Registered: Dec 2013
Posts: 3
Rep:
|
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 (
|
|
|
12-06-2013, 03:11 AM
|
#53
|
LQ Newbie
Registered: Dec 2013
Posts: 3
Rep:
|
Quote:
Originally Posted by MounaRM
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
|
|
|
12-06-2013, 03:54 AM
|
#54
|
LQ Newbie
Registered: Dec 2013
Posts: 3
Rep:
|
thanx it is done...
|
|
|
03-10-2014, 07:07 AM
|
#55
|
LQ Newbie
Registered: Mar 2014
Posts: 7
Rep:
|
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 07:10 AM.
|
|
|
03-10-2014, 08:02 AM
|
#56
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
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.
|
03-15-2014, 09:58 AM
|
#57
|
LQ Newbie
Registered: Mar 2014
Posts: 7
Rep:
|
Quote:
Originally Posted by knudfl
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
|
|
|
03-15-2014, 11:24 AM
|
#58
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 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.
|
03-15-2014, 11:45 PM
|
#59
|
LQ Newbie
Registered: Mar 2014
Posts: 7
Rep:
|
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 07:37 AM.
|
|
|
03-16-2014, 05:12 AM
|
#60
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
# 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>
-
|
|
|
All times are GMT -5. The time now is 05:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|