proplem with ./configure please help

Asked by konig

i try to install nmap tool and i should type
bzip2 -cd nmap-4.65.tar.bz2 | tar xvf -
cd nmap-4.65
./configure
make
su root
make install

when i type ./configure
i get this
checking build system type... /bin/bash: ./config.guess: No such file or directory
configure: error: cannot guess build type; you must specify one

i need help please

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Albert Damen
Solved:
Last query:
Last reply:
Revision history for this message
Albert Damen (albrt) said :
#1

You can find config.guess in the package autotools-dev. You can install it from synaptic or with sudo apt-get install autotools-dev in a terminal window.
If ./configure still complains after you installed autotools-dev, you will need to manually copy the file config.guess from /usr/share/misc/config.guess into your working directory.
You will probably also need to copy /usr/share/misc/config.sub from the same package.

Revision history for this message
konig (coco-for-uu) said :
#2

i installed autotools- dev successfully and make the step ./configure then make and then i have to type su root ,i entered the passward and get this
micooo@micooo-desktop:~/Desktop/nmap-4.65$ su root
Password:
su: Authentication failure
please help

Revision history for this message
Best Albert Damen (albrt) said :
#3

Hi konig,

in Ubuntu we don't use su root. Instead we use sudo.
I guess after make you need to do make install, which will require root privileges.
You can do that with:

$ sudo make install.

sudo will ask for your own password. You can type sudo before any command, to perform that command as root.

Regards,
Albert

Revision history for this message
konig (coco-for-uu) said :
#4

:) NMAP SUCCESSFULLY INSTALLED
thank you very much for your great help Albert Damen

Revision history for this message
konig (coco-for-uu) said :
#5

Thanks Albert Damen, that solved my question.