LinuxQuestions.org
Visit Jeremy's Blog.
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 04-09-2013, 01:57 AM   #1
Aska123
Member
 
Registered: Apr 2013
Posts: 197

Rep: Reputation: Disabled
Make command not found in ns2.34 and ns2.29


when i run


./configure
./make

in ns-2.34 or ns2.29 folder. it says make command not found how to install it. When i run

yum install make.

it says make latest version is installed. But i am not able to view it by using ls command

Last edited by Aska123; 04-09-2013 at 01:59 AM.
 
Old 04-09-2013, 02:15 AM   #2
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Rep: Reputation: 25
You need to install make software and kernel-devel.

Last edited by tailinlinux; 04-09-2013 at 02:47 AM.
 
Old 04-09-2013, 02:20 AM   #3
Aska123
Member
 
Registered: Apr 2013
Posts: 197

Original Poster
Rep: Reputation: Disabled
I am installing ns-allinone-2.34 with Mannasim patch.

I am following the instructions as given in Mannasim website
 
Old 04-09-2013, 02:50 AM   #4
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Rep: Reputation: 25
Quote:
Originally Posted by Aska123 View Post
I am installing ns-allinone-2.34 with Mannasim patch.

I am following the instructions as given in Mannasim website
Can you give us the full link where instruction states. Thanks
 
Old 04-09-2013, 02:52 AM   #5
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Rep: Reputation: 25
Then what distro are you using?
 
Old 04-09-2013, 03:12 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 1 , @Aska123
Quote:
./configure
./make
The period ( . ) means the current directory.
./configure : This will run a script by name 'configure'.

There is no such command as ./make ! !

Anyway, the right command line is :
export CC=gcc34 CXX=g++34 && ./configure && make


P.S. : Better keep all your mannasim questions in one thread.
I think you have four threads now with convergent questions !
http://www.linuxquestions.org/questi...-a-4175456927/
http://www.linuxquestions.org/questi...-a-4175457109/
http://www.linuxquestions.org/questi...-a-4175457448/

-
 
1 members found this post helpful.
Old 04-09-2013, 03:18 AM   #7
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Rep: Reputation: 25
Quote:
Originally Posted by knudfl View Post
# 1 , @Aska123

The period ( . ) means the current directory.
./configure : This will run a script by name 'configure'.

There is no such command as ./make ! !

Anyway, the right command line is :
export CC=gcc34 CXX=g++34 && ./configure && make


P.S. : Better keep all your mannasim questions in one thread.
I think you have four threads now with convergent questions !
http://www.linuxquestions.org/questi...-a-4175456927/
http://www.linuxquestions.org/questi...-a-4175457109/
http://www.linuxquestions.org/questi...-a-4175457448/

-
Yes this is right, i didnt notice ./make
no ./make command

instead of ./make use make after runnung ./configure

Follow this steps.

Code:
./configure
Code:
make
 
Old 04-09-2013, 07:19 AM   #8
Aska123
Member
 
Registered: Apr 2013
Posts: 197

Original Poster
Rep: Reputation: Disabled
mannasim link

Hello

I am following instruction given in the following link.
http://www.mannasim.dcc.ufmg.br/

Thanks both of you. Also I will ask my question in one thread.
 
Old 04-09-2013, 08:53 AM   #9
Aska123
Member
 
Registered: Apr 2013
Posts: 197

Original Poster
Rep: Reputation: Disabled
Now it is saying no configure file is available . ALthough it is available in ns2.29 folder
 
Old 04-09-2013, 08:58 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 9.

When any doubt about the location, the first command is : pwd

And if the reply isn't ns-allinone-2.34/ns-2.34/ :
You will have to 'cd' to the right location.

You can also use the 'ls' command to see if configure is "on the list".

-

Last edited by knudfl; 04-09-2013 at 11:51 AM.
 
Old 04-09-2013, 09:19 AM   #11
Aska123
Member
 
Registered: Apr 2013
Posts: 197

Original Poster
Rep: Reputation: Disabled
When I run export CC=gcc34 CXX=g++34 && ./configure && make

on ns-allinone-2.34/ns-2.34 it works.

But when I run it on ns-allinone-2.29/ns2.29

it says configure is not found but continued with default ....

and exit with no error.

I used command ls to see configure file. And this file is available in ns2.29 folder.

Any way i exit without error.
 
Old 04-09-2013, 11:58 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 11 .

Impossible to know what's wrong (if anything?) without knowing all your commands.
If any errors, suggest : Start with a new unpacked ns-allinone-2.29.3.tar.gz
http://sourceforge.net/projects/nsna...allinone-2.29/
.. in /home/Aska123/ . And do not use su for any commands.
All ns2 commands should be run as unprivileged user.

-

Last edited by knudfl; 04-09-2013 at 12:06 PM.
 
  


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
Differences between LEACH results on ns2.1b5 and ns2.35 deepa_2111 Linux - Software 15 05-16-2013 05:53 PM
[SOLVED] Setdest Command not found in NS2.33 vishalpolara Linux - Newbie 4 01-12-2013 02:50 AM
error in configuring ns2.33 using make command afsha2719 Linux - Software 1 05-04-2012 05:23 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

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

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