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.
|
 |
|
12-22-2012, 02:45 AM
|
#16
|
Member
Registered: Nov 2010
Posts: 35
Original Poster
Rep:
|
Quote:
Originally Posted by Nwe Nwe
Now, it works well.Thx to all.
|
clearly I'm late  .
I'm glad that it works for you , good luck 
|
|
|
12-22-2012, 10:49 PM
|
#17
|
LQ Newbie
Registered: Dec 2012
Posts: 13
Rep: 
|
Hello everyone,
What kind of IDE is used to write Tcl or C++ program on Ubuntu. Please kindly share the knowledge coz the text editor is not comforable to write code. Any help would be appreciated.
|
|
|
12-23-2012, 10:55 PM
|
#18
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Moved: This thread is more suitable in Linux Software and has been moved accordingly to help your question get the exposure it deserves.
I also marked it as unsolved since you have a follow up question.
Last edited by jschiwal; 12-23-2012 at 10:56 PM.
|
|
|
01-15-2013, 04:54 PM
|
#19
|
LQ Newbie
Registered: Jan 2013
Posts: 6
Rep: 
|
j'ai tout fait; copié lettre par lettre votre procédé Mouna, mais j'ai ca en retour... et a cela à 3 reprises :
"linkstate/ls.h:137:20: note: use ‘this->erase’ instead
make: *** [linkstate/ls.o] Error 1
Ns make failed! "
j'ai le meme system d'exploit que toi...
|
|
|
01-15-2013, 05:07 PM
|
#20
|
LQ Newbie
Registered: Jan 2013
Posts: 6
Rep: 
|
can someone help me please ? I don't know why but , I followed right well Mouna's step but I've just this as a response :
linkstate/ls.h:137:20: note: use ‘this->erase’ instead
make: *** [linkstate/ls.o] Error 1
Ns make failed!
I have ubuntu 12.10
|
|
|
01-16-2013, 02:35 AM
|
#21
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Post #20 @zero0 : Welcome to LQ.
Please read post # 8 :
( cd ns-allinone-2.35/ )
export CC=gcc-4.4 CXX=g++-4.4 && ./install
|
|
|
01-16-2013, 06:38 AM
|
#22
|
LQ Newbie
Registered: Jan 2013
Posts: 6
Rep: 
|
thank you for knudfl .
but I can see and modify this line to " CC " in Makefile.in but
where can I find this ? " CXX "
|
|
|
01-16-2013, 08:05 AM
|
#23
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 22.
Why would you modify any files ? ( Makefile.in ).
Everything happens automatically when you do the command :
$ export CC=gcc-4.4 CXX=g++-4.4 && ./install
Please try, and you will see that the Makefile
in all the main applications afterwards say :
CC = gcc-4.4
CPP = g++-4.4
-
Last edited by knudfl; 01-16-2013 at 08:07 AM.
|
|
|
01-17-2013, 04:47 AM
|
#24
|
LQ Newbie
Registered: Jan 2013
Posts: 6
Rep: 
|
you're so helpful...
I did it : "export CC=gcc-4.4 CXX=g++-4.4 && ./install"
but the same problem happens...
so sorry to bother you... but please help me
|
|
|
01-17-2013, 05:21 AM
|
#25
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 24.
Which OS are you using ? Name and version, please.
? And the architecture →
→ This command will tell if it is i686 or x86_64 : uname -m
|
|
|
01-17-2013, 05:31 AM
|
#26
|
LQ Newbie
Registered: Jan 2013
Posts: 6
Rep: 
|
i686
---------- Post added 01-17-13 at 06:32 AM ----------
ubuntu 12.10
|
|
|
01-17-2013, 06:40 AM
|
#27
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
# 20, # 24.
Either delete ns-allinone-2.35/ and start from scratch
with a new unpacked ns-allinone-2.35.tar.gz .
Or run 'make clean' , 'make distclean' in :
tcl8.5/unix/, tk8.5/unix/, otcl*/, tclcl*/, ns-2.35/,
and afterwards delete all 'Makefile', if still present.
Then you can do : export CC=gcc-4.4 CXX=g++-4.4 && ./install
.. and expect no errors.
-
|
|
|
01-18-2013, 02:00 AM
|
#28
|
Member
Registered: Nov 2010
Posts: 35
Original Poster
Rep:
|
Quote:
Originally Posted by zero0
can someone help me please ? I don't know why but , I followed right well Mouna's step but I've just this as a response :
linkstate/ls.h:137:20: note: use ‘this->erase’ instead
make: *** [linkstate/ls.o] Error 1
Ns make failed!
I have ubuntu 12.10
|
Bonjour zero0 , vous avez trouvé la solution ? , si non , essayez ça:
modifier la ligne 137 du fichier linkstate/ls.h
Code:
void eraseAll() { erase(baseMap::begin(), baseMap::end()); }
par
Code:
void eraseAll() { this->erase(baseMap::begin(), baseMap::end()); }
Bon travail 
|
|
|
01-18-2013, 08:18 AM
|
#29
|
LQ Newbie
Registered: Jan 2013
Posts: 6
Rep: 
|
merci pour ton intervention Mouna. j'ai suivi ta demarche, j'ai abouti a ca :
Please put /home/menkpro/Desktop/ns-allinone-2.35/bin:/home/menkpro/Desktop/ns-allinone-2.35/tcl8.5.10/unix:/home/menkpro/Desktop/ns-allinone-2.35/tk8.5.10/unix
into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph.
IMPORTANT NOTICES:
(1) You MUST put /home/menkpro/Desktop/ns-allinone-2.35/otcl-1.14, /home/menkpro/Desktop/ns-allinone-2.35/lib,
into your LD_LIBRARY_PATH environment variable.
If it complains about X libraries, add path to your X libraries
into LD_LIBRARY_PATH.
If you are using csh, you can set it like:
setenv LD_LIBRARY_PATH <paths>
If you are using sh, you can set it like:
export LD_LIBRARY_PATH=<paths>
(2) You MUST put /home/menkpro/Desktop/ns-allinone-2.35/tcl8.5.10/library into your TCL_LIBRARY environmental
variable. Otherwise ns/nam will complain during startup.
After these steps, you can now run the ns validation suite with
cd ns-2.35; ./validate
c'est normal ? c'est qu'est ce que je dois faire now ? je tiens a te signaler que je suis nouveau dans ce systeme bien que je l'aime bcp dejà ... (linux)
|
|
|
01-19-2013, 02:48 AM
|
#30
|
Member
Registered: Nov 2010
Posts: 35
Original Poster
Rep:
|
Quote:
Originally Posted by zero0
merci pour ton intervention Mouna. j'ai suivi ta demarche, j'ai abouti a ca :
Please put /home/menkpro/Desktop/ns-allinone-2.35/bin:/home/menkpro/Desktop/ns-allinone-2.35/tcl8.5.10/unix:/home/menkpro/Desktop/ns-allinone-2.35/tk8.5.10/unix
into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph.
IMPORTANT NOTICES:
(1) You MUST put /home/menkpro/Desktop/ns-allinone-2.35/otcl-1.14, /home/menkpro/Desktop/ns-allinone-2.35/lib,
into your LD_LIBRARY_PATH environment variable.
If it complains about X libraries, add path to your X libraries
into LD_LIBRARY_PATH.
If you are using csh, you can set it like:
setenv LD_LIBRARY_PATH <paths>
If you are using sh, you can set it like:
export LD_LIBRARY_PATH=<paths>
(2) You MUST put /home/menkpro/Desktop/ns-allinone-2.35/tcl8.5.10/library into your TCL_LIBRARY environmental
variable. Otherwise ns/nam will complain during startup.
After these steps, you can now run the ns validation suite with
cd ns-2.35; ./validate
c'est normal ? c'est qu'est ce que je dois faire now ? je tiens a te signaler que je suis nouveau dans ce systeme bien que je l'aime bcp dejà ... (linux)
|
Normalment c'est bon , mais pour s'assurer tapez ns pour voir si la commande marche ou pas .
|
|
|
All times are GMT -5. The time now is 01:49 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
|
|