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 03-23-2018, 09:05 AM   #31
hemamahe
Member
 
Registered: Jul 2013
Location: india
Posts: 45

Rep: Reputation: Disabled

thanks for your reply.

Last edited by hemamahe; 03-23-2018 at 10:04 AM.
 
Old 03-24-2018, 05:19 AM   #32
hemamahe
Member
 
Registered: Jul 2013
Location: india
Posts: 45

Rep: Reputation: Disabled
hi, in centos 6.9 I got errors..can you please tell me how to solve this...

first step : yum install gcc-c++ compat-gcc-34-c++ autoconf automake libtool libXmu-devel

second step : patch -p0 < ns230_gcc44.patch

third step : yum install ./gcc53-c++-5.3.0-1.el6.x86_64.rpm

Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Examining ./gcc53-c++-5.3.0-1.el6.x86_64.rpm: gcc53-c++-5.3.0-1.el6.x86_64
Cannot add package ./gcc53-c++-5.3.0-1.el6.x86_64.rpm to transaction. Not a compatible architecture: x86_64
Error: Nothing to do
[root@localhost Downloads]#


when i try to install i got this error
rm -f Makefile
make[1]: Leaving directory `/home/sangavi/aquasim/Aqua-Sim-1.0/tcl8.4.13/unix/dltest'
creating cache ./config.cache
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc53
checking whether the C compiler (gcc53 ) 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.
[root@localhost Aqua-Sim-1.0]#
 
Old 03-24-2018, 06:44 AM   #33
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #32.

{gcc53, g++53} : Were listed for Fedora 27, not CentOS 6 - i386 !

CentOS 6 : You can just the default compiler gcc, g++ : ./install

Or $ export CC=gcc34 CXX=g++34 && ./install



-

Last edited by knudfl; 03-24-2018 at 06:51 AM.
 
1 members found this post helpful.
Old 03-24-2018, 08:35 AM   #34
hemamahe
Member
 
Registered: Jul 2013
Location: india
Posts: 45

Rep: Reputation: Disabled
I got this error after run

export CC=gcc34 CXX=g++34 && ./install

rm -f libotcl.a otcl.o
gcc-4.3 -c -g -O2 -DNDEBUG -DUSE_SHM -I. -I/home/sangavi/Aquasim/include -I/home/sangavi/Aquasim/include -I/home/sangavi/Aquasim/include -I/include otcl.c
make: gcc-4.3: Command not found
make: * [libotcl.a] Error 127
otcl-1.12 make failed! Exiting ...
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
[sangavi@localhost Aquasim]$

can you please tell me how to solve this.Thanks for your reply.
 
Old 03-24-2018, 09:38 AM   #35
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #34.

`gcc-4.3´ is not mentioned anywhere in the AquaSim source code.
(gcc-4.3 was used in old Ubuntu for some versions, e.g. ns-2.34.)

... May be get a clean "Aqua-Sim-1.0.tgz"
https://drive.google.com/file/d/0B7S...ew?usp=sharing
... and start from scratch, see post #30.
And do exactly as written in post #30, please.

-
 
1 members found this post helpful.
Old 03-24-2018, 11:15 AM   #36
hemamahe
Member
 
Registered: Jul 2013
Location: india
Posts: 45

Rep: Reputation: Disabled
hi,successfully installed aquasim, got nam window ,but when i try to execute i got this error..what is the correct way to run tcl file.


[root@localhost uw_tcl]# ns-aqua-el6 vbf_example_4.tcl
bash: ns-aqua-el6: command not found

when i try to install aqua3d i got this. can you provide me new update aqua3d package and installation code.
[root@localhost Downloads]# yum localinstall aqua3d-1.0.0-src
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Local Package Process
Skipping: aqua3d-1.0.0-src, filename does not end in .rpm.
Nothing to do
[root@localhost Downloads]#
 
Old 03-24-2018, 05:28 PM   #37
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #36.

'ns-aqua-el6' can only be used if you have a file by that name.

Please check what you installed / copied to /usr/local/bin/.
$ ls /usr/local/bin/ns*


Aqua3d : $ tar xvf aqua3d-1.0.0-src
$ cd aqua3d-1.0.0-src/ && make

-

Last edited by knudfl; 03-24-2018 at 05:40 PM.
 
Old 03-25-2018, 05:10 AM   #38
hemamahe
Member
 
Registered: Jul 2013
Location: india
Posts: 45

Rep: Reputation: Disabled
hi,thank you nam works fine..

aqua3d installation problem

1st step : yum install \
wxGTK-devel mesa-libGL-devel mesa-libGLU-devel freeglut-devel

reult :
4.1-6.el6_7.i686.rpm from base: [Errno 256] No more mirrors to try.
libXfixes-devel-5.0.3-1.el6.i686: failure: Packages/libXfixes-devel-5.0.3-1.el6.i686.rpm from base: [Errno 256] No more mirrors to try.

2nd step : yum localinstall aqua3d-1.0.0-1.fc19.i686.rpm

result : Error: Package: aqua3d-1.0.0-1.fc19.i686 (/aqua3d-1.0.0-1.fc19.i686)
Requires: libstdc++.so.6(GLIBCXX_3.4.15)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@localhost Downloads]#

3rd step : cd aqua3d-1.0.0-src/ && make

result :
main_src/Aqua3D.cpp: In member function ‘virtual int Aqua3D::OnExit()’:
main_src/Aqua3D.cpp:196: error: ‘_’ was not declared in this scope
main_src/Aqua3D.cpp:196: error: ‘wxLogMessage’ was not declared in this scope
main_src/Aqua3D.cpp: At global scope:
main_src/Aqua3D.cpp:204: error: expected constructor, destructor, or type conversion at end of input
make: * [Aqua3D.o] Error 1
[root@localhost aqua3d-1.0.0-src]#

Last edited by hemamahe; 03-25-2018 at 06:38 AM.
 
Old 03-25-2018, 06:39 AM   #39
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #38.

All the yum errors are indicating a missing connection to the Net.
Is firefox working OK ?



-

Last edited by knudfl; 03-25-2018 at 10:03 AM.
 
Old 03-25-2018, 07:26 AM   #40
hemamahe
Member
 
Registered: Jul 2013
Location: india
Posts: 45

Rep: Reputation: Disabled
Now it works fine..thank you Sir

Last edited by hemamahe; 03-25-2018 at 07:28 AM.
 
Old 04-24-2018, 12:25 AM   #41
Prachi11
LQ Newbie
 
Registered: Feb 2018
Posts: 6

Rep: Reputation: Disabled
RE #22 #23

Thank you so much sir.
 
  


Reply

Tags
aquasim, ns2, ns2_uwsn, uwsn


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
NS2 and Aqua-sim Faiza Al-Salti Linux - Networking 3 06-12-2014 12:46 AM
Simulation in aqua-sim Faiza Al-Salti Linux - Newbie 9 05-29-2014 08:41 AM
VBF protocol in Aqua-sim lilong_guet Linux - Wireless Networking 2 07-05-2013 06:30 AM
[SOLVED] install aqua-sim on ubuntu dina Linux - Newbie 4 11-01-2012 04:49 AM

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

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