LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-09-2011, 03:39 AM   #1
Labuschagne
LQ Newbie
 
Registered: Mar 2011
Posts: 3

Rep: Reputation: 0
Error when running make for ns2.30 in Ubuntu 9.10


Hi,

I need to use myevlavid2 on ns2 which is only supported for ns2 version up to ns2.30 (is not supported for newer ns2 versions): < http://hpds.ee.ncku.edu.tw/~smallko/ns2/myevalvid2.htm >
The NS installation went through well. After applying all the changes as given in the myevalvid2 installation guide, I ran the 'make' command, this is an extract of what I got:

Code:
./sctp/sctp.h:619: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:625: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:632: warning: ‘typedef’ was ignored in this declaration
./sctp/sctp.h:638: warning: ‘typedef’ was ignored in this declaration
trace/trace.cc:185: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc:185: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc:185: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc:185: warning: deprecated conversion from string constant to ‘char*’
trace/trace.cc:185: warning: deprecated conversion from string constant to ‘char*’
make: *** [trace/trace.o] Error 1
Please assist,

Thanks
 
Old 03-09-2011, 03:45 AM   #2
corp769
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
Please assist us by searching these forums for your questions and answered first. Material on NS2 is all over these forums....

http://www.linuxquestions.org/questi...archid=4555705

Cheers,

Josh

PS - Didn't mean to have that sound in a mean way or anything, sorry if it did.
 
Old 03-09-2011, 04:19 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
Welcome to LQ.

"myevlavid2 for ns2" is non existing. Please correct the spelling,
and show a direct download link to the files, you have added.
And a link to the documentation, please.

? This one ? http://hpds.ee.ncku.edu.tw/~smallko/...vid_in_NS2.htm
And ? http://www.tkn.tu-berlin.de/research/evalvid/ ? Evalvid.

..
 
Old 03-09-2011, 06:23 AM   #4
Labuschagne
LQ Newbie
 
Registered: Mar 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the replies guys.

@corp769, I tried searching through the other forums but was unable to get a solution.
@knudfl, apologies. The correct spelling is 'evalvid for ns2.' The files I added can be found here: http://140.116.72.80/~smallko/ns2/myevalvid2.rar
 
Old 03-09-2011, 09:02 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
Post # 1 :
Quote:
make: *** [trace/trace.o] Error 1
You will possibly find the "real errors" many lines above this error message.
Please show those ( 5-10 ) lines, if you can find them. ( Warnings are not errors.)

Possible cause : myevalvid.cc myevalvid_sink.cc myudp.cc have a time stamp
saying 2005. Please try : Edit the ns-2.30/Makefile, line 36-37 to
CC = gcc-3.3
CPP = g++-3.3

Add 'hardy' to /etc/apt/sources.list, and do :
sudo apt-get update && sudo apt-get install g++-3.3
Code:
deb http://76.73.4.58/ubuntu/ hardy-updates main
deb http://76.73.4.58/ubuntu/ hardy universe
deb http://security.ubuntu.com/ubuntu hardy-security main
deb http://security.ubuntu.com/ubuntu hardy-security universe

Last edited by knudfl; 03-09-2011 at 09:22 AM.
 
Old 03-09-2011, 12:29 PM   #6
Labuschagne
LQ Newbie
 
Registered: Mar 2011
Posts: 3

Original Poster
Rep: Reputation: 0
I was not able to find the lines containing the real errors
I, however, was able to install g++3.3 and edit the Makefile as you recommended. Now I get the following error when trying to run make:

Code:
g++-3.3 -c -Wall   -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR  -DNDEBUG -DLINUX_TCP_HEADER -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_12 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H  -DHAVE_CONFIG_H -DNS_DIFFUSION -DSMAC_NO_SYNC -DCPP_NAMESPACE=std -DUSE_SINGLE_ADDRESS_SPACE -Drng_test -I. -I/home/joel/Downloads/ns-allinone-2.30/tclcl-1.18 -I/home/joel/Downloads/ns-allinone-2.30/otcl -I/home/joel/Downloads/ns-allinone-2.30/include -I/home/joel/Downloads/ns-allinone-2.30/include -I/usr/include/pcap -I./tcp -I./sctp -I./common -I./link -I./queue -I./adc -I./apps -I./mac -I./mobile -I./trace -I./routing -I./tools -I./classifier -I./mcast -I./diffusion3/lib/main -I./diffusion3/lib -I./diffusion3/lib/nr -I./diffusion3/ns -I./diffusion3/filter_core -I./asim/ -I./qs -I./diffserv -I./satellite -I./wpan -o trace/trace.o trace/trace.cc
In file included from tcp/tcp.h:38,
                 from trace/trace.cc:41:
common/agent.h: In member function `void Agent::set_frametype(int)':
common/agent.h:106: error: `frametype_' undeclared (first use this function)
common/agent.h:106: error: (Each undeclared identifier is reported only once 
   for each function it appears in.)
make: *** [trace/trace.o] Error 1
This has to do with the lines of code that the myevalvid documentation instructed that I include in the agent.h file. The variable 'frametype_' is used in this file but only declared in the packet.h file as an attribute of struct hdr_cmn. I'm not sure how this struct relates to the Agent class defined in packet.h but I'm suprised there is no record of anyone else encountering such an error.

I'm very grateful for you help thus far and hope that you will continue to assist.
 
Old 03-09-2011, 02:30 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
Sorry, I am not a coder, so you will have to ask for some other LQ members
to help with the edits.

A couple of hints : Did you do 'make clean' before 'make' ?
Also : It should be repeated, when the compiler is changed.
( Not that any of your errors indicate a missing 'make clean'.)

And : The used ns2 mentioned here is ns-2.27 ( Method 1 )
http://140.116.72.80/~smallko/ns2/Evalvid_in_NS2.htm

And "Method 2" is ns-2.28 : Should be some easier, as a patch is available :
wget http://140.116.72.80/~smallko/ns2/my...o-ns2.28.patch
> mympeg-patch-to-ns2.28.patch, i.e. no code editing. 'cd ns-allinone-2.28/
&& wget <patch-url> && patch -p0 < mympeg-patch-to-ns2.28.patch' will do.
( + Move the created folder mympeg/ into ns-2.28/, and edit the Makefile.)
The build :
patch -p1 < ns-2.28-gcc410.patch && export CC=gcc-3.4 CXX=g++-3.4 && ./install
> > No errors ! ( Not yet tested on Ubuntu 9.10 ).

.

Last edited by knudfl; 03-09-2011 at 03:13 PM.
 
Old 02-19-2013, 04:40 AM   #8
suneel23
LQ Newbie
 
Registered: Feb 2013
Posts: 15

Rep: Reputation: Disabled
trying to install evalvid in ns2.35 urgent help wanted

mympeg/myudp.cc: In constructor ‘myUdpAgent::myUdpAgent()’:
mympeg/myudp.cc:19:21: error: cannot call constructor ‘myUdpAgent::UdpAgent’ directly [-fpermissive]
mympeg/myudp.cc:19:21: error: for a function-style cast, remove the redundant ‘::UdpAgent’ [-fpermissive]
mympeg/myudp.cc: In member function ‘virtual void myUdpAgent::sendmsg(int, AppData*, const char*)’:
mympeg/myudp.cc:56:123: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat]
mympeg/myudp.cc:78:123: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat]
make: *** [mympeg/myudp.o] Error 1
 
Old 02-19-2013, 06:08 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
# 8, @suneel23 : No. It is not urgent to us.
We are voluntarily answering questions, when we have the time to do so.
It's much better to write 'please' and 'thanks' to get answers.
And : Your OS must be specified too : Name and version, please ..
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html


Why use ns-2.35. The "evalvid2" is for ns-2.28, AFAIK.
.. You can have as many versions of ns-allinone-2.xx as you want,
installed at the same time.
As long as no ns-allinone-2.xx adds anything to .bashrc/.bash_profile.

Evalvid2 : Please read this other thread about evalvid :
http://www.linuxquestions.org/questi...ion-4175445965

-
 
Old 02-20-2013, 12:40 AM   #10
suneel23
LQ Newbie
 
Registered: Feb 2013
Posts: 15

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
# 8, @suneel23 : No. It is not urgent to us.
We are voluntarily answering questions, when we have the time to do so.
It's much better to write 'please' and 'thanks' to get answers.
And : Your OS must be specified too : Name and version, please ..
http://www.linuxquestions.org/linux/...Ask_a_Question
http://linuxsilo.net/docs/smart-questions_en.html


Why use ns-2.35. The "evalvid2" is for ns-2.28, AFAIK.
.. You can have as many versions of ns-allinone-2.xx as you want,
installed at the same time.
As long as no ns-allinone-2.xx adds anything to .bashrc/.bash_profile.

Evalvid2 : Please read this other thread about evalvid :
http://www.linuxquestions.org/questi...ion-4175445965

-
HI, Ok Please help me, i am using ubuntu 12.04 because ns 2.35 is installed on my system. Actually i want to experiment with video mpeg transmission in emulation and simulation. but i find problems in installing my experimentation setup. i have read the links u provided on evalvid and also tried install following steps in them
but the otcl in ns 2.28 in ubuntu 10.04 lts is not installing . so could u tell what to do next because its my thesis work.

Please
 
Old 02-20-2013, 02:31 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
# 10 : Please do not quote complete posts. Will make the thread less readable.


Did you really read the evalvid thread referred in post #9 ?
1) Install a g++/gcc version 4.1.2 for Ubuntu 12.04
2) tar xvf ns-allinone-2.28.tar.gz
patch -p0 < ns228-gcc40.patch
patch -p0 < ns-2.28-gcc410.patch <Enter> <Enter>
cd ns-allinone-2.28/ns-2.28/ && patch -p1 < mympeg-patch-to-ns2.28.patch
cd ../ && export CC=gcc41 CXX=g++41 && ./install

The g++/gcc links are here, post # 3
http://www.linuxquestions.org/questi...-4175450625/#3

Also : You can install the package myevalvid-ns-2.28-ubuntu10_i386.deb,
.. then you don't have to build any ns-2.28.

.
 
Old 02-20-2013, 04:26 PM   #12
suneel23
LQ Newbie
 
Registered: Feb 2013
Posts: 15

Rep: Reputation: Disabled
Sir, i did as per ur post #11 above i got following errors

root@ubuntu:/home/suneel23/ns-allinone-2.28# export CC=gcc41 CXX=g++41 && ./install
============================================================
* Testing for Cygwin environment
============================================================
Cygwin not detected, proceeding with regular install.
============================================================
* Build XGraph-12.1
============================================================
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking if malloc debugging is wanted... no
checking for gcc... gcc41
checking whether the C compiler (gcc41 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
make: *** No targets specified and no makefile found. Stop.
Can not create xgraph; But xgraph is an optional package, continuing...
============================================================
* Build CWeb
============================================================
Making cweb
gcc -g -c -o ctangle.o ctangle.c
ctangle.w:75:12: warning: conflicting types for built-in function ‘strlen’ [enabled by default]
gcc -g -DCWEBINPUTS=\"/usr/local/lib/cweb\" -c common.c
common.w:1409:12: warning: conflicting types for built-in function ‘strlen’ [enabled by default]
common.w: In function ‘fatal’:
common.w:1176:1: warning: format not a string literal and no format arguments [-Wformat-security]
gcc -g -o ctangle ctangle.o common.o
./ctangle cweave
This is CTANGLE (Version 3.4)
*1*16*29*37*58*77*88*96*103*173*184*204*224*249
Writing the output file (cweave.c):.....500.....1000.....1500.....2000.....2500.....3000....
Done.
(No errors were found.)
gcc -g -c -o cweave.o cweave.c
cweave.w:79:12: warning: conflicting types for built-in function ‘strlen’ [enabled by default]
cweave.w: In function ‘print_cat’:
cweave.w:1739:1: warning: format not a string literal and no format arguments [-Wformat-security]
gcc -g -o cweave cweave.o common.o
ln: failed to create symbolic link `cweave': File exists
ln: failed to create symbolic link `ctangle': File exists
============================================================
* Build Stanford GraphBase
============================================================
Making sgb
if test -r gb_io.ch; then ctangle gb_io.w gb_io.ch; else ctangle gb_io.w; fi
This is CTANGLE (Version 3.4)
*1*8*10*21*28*38*43
Writing the output files: (gb_io.c)..
(test_io.c)
(gb_io.h)
Done.
(No errors were found.)
gcc41 -g -I/usr/local/sgb/include -DDATA_DIRECTORY=\"/usr/local/sgb/data/\" -c gb_io.c
make: gcc41: Command not found
make: *** [gb_io.o] Error 127
Unable to create sgb library, but it's optional, so continuing...
============================================================
* Build GT-ITM
============================================================
sgb lib not found. gt-itm & sgb2ns could not be installed. Continuing..
============================================================
* Build zlib
============================================================
Building static library libz.a version 1.1.4 with gcc41.
Checking for unistd.h... No.
Checking for errno.h... No.
Checking for mmap support... No.
gcc41 -O -DNO_ERRNO_H -c -o example.o example.c
make: gcc41: Command not found
make: *** [example.o] Error 127
Zlib make failed, but it's optional Continue ...
============================================================
* Build tcl8.4.5
============================================================
loading cache ./config.cache
checking whether to use symlinks for manpages... no
checking compression for manpages... no
checking for gcc... gcc41
checking whether the C compiler (gcc41 ) 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@ubuntu:/home/suneel23/ns-allinone-2.28# export CC=gcc41 CXX=g++41 && ./install
============================================================
* Testing for Cygwin environment
============================================================
Cygwin not detected, proceeding with regular install.
============================================================
* Build XGraph-12.1
============================================================
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking if malloc debugging is wanted... no
checking for gcc... gcc41
checking whether the C compiler (gcc41 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
make: *** No targets specified and no makefile found. Stop.
Can not create xgraph; But xgraph is an optional package, continuing...
============================================================
* Build CWeb
============================================================
Making cweb
gcc -g -c -o ctangle.o ctangle.c
ctangle.w:75:12: warning: conflicting types for built-in function ‘strlen’ [enabled by default]
gcc -g -DCWEBINPUTS=\"/usr/local/lib/cweb\" -c common.c
common.w:1409:12: warning: conflicting types for built-in function ‘strlen’ [enabled by default]
common.w: In function ‘fatal’:
common.w:1176:1: warning: format not a string literal and no format arguments [-Wformat-security]
gcc -g -o ctangle ctangle.o common.o
gcc -g -c -o cweave.o cweave.c
cweave.w:79:12: warning: conflicting types for built-in function ‘strlen’ [enabled by default]
cweave.w: In function ‘print_cat’:
cweave.w:1739:1: warning: format not a string literal and no format arguments [-Wformat-security]
gcc -g -o cweave cweave.o common.o
ln: failed to create symbolic link `cweave': File exists
ln: failed to create symbolic link `ctangle': File exists
============================================================
* Build Stanford GraphBase
============================================================
Making sgb
gcc41 -g -I/usr/local/sgb/include -DDATA_DIRECTORY=\"/usr/local/sgb/data/\" -c gb_io.c
make: gcc41: Command not found
make: *** [gb_io.o] Error 127
Unable to create sgb library, but it's optional, so continuing...
============================================================
* Build GT-ITM
============================================================
sgb lib not found. gt-itm & sgb2ns could not be installed. Continuing..
============================================================
* Build zlib
============================================================
Building static library libz.a version 1.1.4 with gcc41.
Checking for unistd.h... No.
Checking for errno.h... No.
Checking for mmap support... No.
gcc41 -O -DNO_ERRNO_H -c -o example.o example.c
make: gcc41: Command not found
make: *** [example.o] Error 127
Zlib make failed, but it's optional Continue ...
============================================================
* Build tcl8.4.5
============================================================
loading cache ./config.cache
checking whether to use symlinks for manpages... no
checking compression for manpages... no
checking for gcc... gcc41
checking whether the C compiler (gcc41 ) 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@ubuntu:/home/suneel23/ns-allinone-2.28#
 
Old 02-20-2013, 05:09 PM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
# 12 .

Please only show relevant text. ( In the above that's the last twelwe lines.)
Quote:
C compiler cannot create executables.
I don't know the reason. Which gcc packages did you install ?
Should be :
sudo dpkg -i gcc41-compat-4.1.2-ubuntu1210_i386.deb g++41-compat-4.1.2_i386.deb

Please show the output from the following commands :
uname -m <Enter>
which gcc41 <Enter>

Why are you working as root ? Not a good idea. Not recommended.
Please start from scratch in a new folder and do :
tar xvf ns-allinone-2.28.tar.gz
patch -p0 < ns228-gcc40.patch
patch -p0 < ns-2.28-gcc410.patch <Enter> <Enter>
cd ns-allinone-2.28/ns-2.28/ && patch -p1 < mympeg-patch-to-ns2.28.patch
cd ../ && export CC=gcc41 CXX=g++41 && ./install
... And don't use 'sudo' or 'su'. All commands must be done as unprivileged user.

Also :
Why not install the binary package : myevalvid-ns-2.28-ubuntu10_i386.deb
*** There is absolute no reason to build an ns-allinone-2.28.
! Has been done already :
That's the whole idea about having installable programs !

-

Last edited by knudfl; 02-21-2013 at 12:00 AM.
 
Old 02-20-2013, 06:35 PM   #14
suneel23
LQ Newbie
 
Registered: Feb 2013
Posts: 15

Rep: Reputation: Disabled
Sir,
1. I don't know the reason. Which gcc packages did you install ?
installed the gcc and g++, from the link u provided

2. Should be :
apt-get install gcc41-compat-4.1.2-ubuntu1210_i386.deb g++41-compat-4.1.2_i386.deb

root@ubuntu:/home/suneel23# apt-get install gcc41-compat-4.1.2-ubuntu1210_i386.deb g++41-compat-4.1.2_i386.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gcc41-compat-4.1.2-ubuntu1210_i386.deb
E: Couldn't find any package by regex 'gcc41-compat-4.1.2-ubuntu1210_i386.deb'
E: Unable to locate package g++41-compat-4.1.2_i386.deb
E: Couldn't find any package by regex 'g++41-compat-4.1.2_i386.deb'

Please show the output from the following commands :
uname -m <Enter>
which gcc41 <Enter>
uname -m
i686
root@ubuntu:/home/suneel23# which gcc41
root@ubuntu:/home/suneel23# exit
exit
suneel23@ubuntu:~$ uname -m
i686
suneel23@ubuntu:~$ which gcc41
suneel23@ubuntu:~$


Why are you working as root ? Not a good idea. Not recommended.
Please start from scratch in a new folder and do :
tar xvf ns-allinone-2.28.tar.gz
patch -p0 < ns228-gcc40.patch
patch -p0 < ns-2.28-gcc410.patch <Enter> <Enter>
cd ns-allinone-2.28/ns-2.28/ && patch -p1 < mympeg-patch-to-ns2.28.patch
cd ../ && export CC=gcc41 CXX=g++41 && ./install
... And don't use 'sudo' or 'su'. All commands must be done as unprivileged user.

Also :
3. Why not install the binary package : myevalvid-ns-2.28-ubuntu10_i386.deb
*** There is absolute no reason to build an ns-allinone-2.28.
! Has been done already :
That's the whole idea about having installable programs !
Can provide the exact procedure for installing without building
Regards,
Suneel.
 
Old 02-21-2013, 12:29 AM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,522

Rep: Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503Reputation: 2503
# 14 .

Sorry, typo in post # 13.

To get away from the root prompt, please type exit.
To install gcc41-compat/g++41-compat, please do :
sudo dpkg -i gcc41-compat-4.1.2-ubuntu1210_i386.deb g++41-compat-4.1.2_i386.deb
... Then reboot, and the new compilers should be usable.


Quote:
? Can provide the exact procedure for installing without building ?
That's $ sudo dpkg -i myevalvid-ns-2.28-ubuntu10_i386.deb

Using the examples :
http://hpds.ee.ncku.edu.tw/~smallko/...vid_in_NS2.htm
http://140.116.164.80/~smallko/ns2/myevalvid2.htm
http://140.116.164.80/~smallko/ns2/myevalvid2.rar
Unpack myevalvid2.rar as unprivileged user.
The first example : $ cd myevalvid2/ && ns-myevalvid be_a01.tcl
** And please read "ns2-streaming-implementations-tutorial-VCarrascal.pdf".


Quote:
# which gcc41
Wrong. It's $ which gcc41 : No root prompt !


-

Last edited by knudfl; 02-21-2013 at 01:15 AM.
 
  


Reply


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
urgent -- error installing ns2 on ubuntu 7.04 king2k Linux - Newbie 8 02-02-2011 05:28 AM
hi i am trying to install ns2 2.34 in ubuntu 10.04. it showing the following error v123 Linux - Newbie 1 11-10-2010 11:10 AM
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 01:44 AM
unable to install ns2.34 on ubuntu 9.10 running on vmworkstation 6 san_as Linux - Newbie 1 02-16-2010 04:10 AM
CFLAGS vs EXTRA_CFLAGS, Ubuntu server 9.04 error while running "make install" Invisible-Man Linux - General 21 07-14-2009 06:31 AM


All times are GMT -5. The time now is 03:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration