[SOLVED] Aquasim:How insert mac protocol to aquasim
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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #15.
When you have done 'sudo ./install', you will have to delete the aquasim folder.
`sudo' is for administrative tasks, like 'make install', 'cp ns* /usr/local/bin/.
I.e. please no ns2 commands with sudo.
You are supposed to build all ns2 in /home/<user-name>/<ns2-folder>/.
I.e i.e. no sudo commands are required.
First thing to do :
$ sudo apt-get update
$ sudo apt-get install g++ autoconf libtool libxmu-dev
when I use "$ sudo apt-get install libxmu-dev build-essential autoconf automake"
Breaks: gvfs (< 1.8) but 1.6.4-0ubuntu1 is to be installed
libpango1.0-0 : Breaks: plymouth (< 0.8.2-2ubuntu19) but 0.8.2-2ubuntu5 is to be installed
E: Broken packages
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #17.
You forgot $ sudo apt-get update
This will do for the package install :
$ sudo apt-get install g++ autoconf libtool libxmu-dev
I.e. "build-essential" installs g++, autoconf, + some packages that you will never need. https://packages.debian.org/squeeze/build-essential
>>> "If you do not plan to build Debian packages, you don't need this package."
Breaks: gvfs (< 1.8) but 1.6.4-0ubuntu1 is to be installed
libpango1.0-0 : Breaks: plymouth (< 0.8.2-2ubuntu19) but 0.8.2-2ubuntu5 is to be installed
E: Broken packages
When you have done 'sudo ./install', you will have to delete the aquasim folder.
`sudo' is for administrative tasks, like 'make install', 'cp ns* /usr/local/bin/.
I.e. please no ns2 commands with sudo.
You are supposed to build all ns2 in /home/<user-name>/<ns2-folder>/.
I.e i.e. no sudo commands are required.
First thing to do :
$ sudo apt-get update
$ sudo apt-get install g++ autoconf libtool libxmu-dev
Aqua-Sim : cd <aquasim>/
$ tar xvf Aqua-Sim-1.0.tgz
$ export CC=gcc34 CXX=g++34 && ./install
... etc. etc.
-
I did that another problem is arise :
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.
Still having the same problem ... when I run uwan-mac-random protocol ..... it shows that
$ ns uwan-mac-random.tcl
the start time is 0.001
num_nodes is set 8
INITIALIZE THE LIST xListHead
+++++++AFTER ANNOUNCE++++++++++++++
starting Simulation...
SORTING LISTS ...DONE!
Segmentation fault (core dumped)
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #24.
? Are you quite sure your build command was $ export CC=gcc34 CXX=g++34 && ./install
Segmentation fault : That's strange. I had no issues at all.
See post #12, three days ago.
And the critical simulation has always been `tmac-example.tcl', not `uwan-mac-random.tcl'.
What could possibly make a difference ?
The computer I used for the aquasim / Ubuntu 10.10 tests is a Dell Dimension 520.
Processor : Intel dual core 4300 , 1.8GHz.
The OS, Ubuntu 10.10 - i686 was installed `Aug 2012'.
The libc6 version is "2.12.1-0ubuntu10.4".
( The "info" command for the libc6 status is $ dpkg -s libc6 )
... But I cannot see any updates for the critical packages so you must have the same versions.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #29.
Ubuntu 10.10 was moved to the "old archive" years ago, you'll need new links.
$ sudo gedit /etc/apt/sources.list
... then replace all text with these new eight lines :
Code:
deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security multiverse universe
Then you can run $ sudo apt-get update
... but there is really no reason to update the ns2 build prerequisites.
If $ sudo apt-get install g++ autoconf libtool libxmu-dev
... was installed OK, you already have the latest available version of these, and their dependencies, libc6 etc.
? Did you try out the package `aquasim-ns_2.30-ubuntu10_i386.deb' ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.