Linux - SoftwareThis 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.
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.
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
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"
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
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
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
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$
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,494
Rep:
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
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
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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,494
Rep:
# 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
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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,494
Rep:
# 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>
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.