Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 11-18-2003, 10:39 PM   #1
Registered: Oct 2003
Location: Honolulu, HI
Distribution: redhat 9, Fedora, Enterprise
Posts: 39

Rep: Reputation: 15
Question error installing hping2 ./configure

Hello you coding gurus, I am trying to run the configure file for hping2 and I keep getting an error regarding line 20. In the documentation it states that I don't need to run this as root, although I have tried that. Well here is the error I am getting along with the configure file;

[eric@edblnxsrv hping2]$ ./configure
build byteorder.c...
./configure: line 20: cc: command not found

configure file


echo configure help:
echo "--help show this help"
echo "--force-libpcap build a libpcap based binary under linux"
echo "--dont-limit-when-suid when suid allows to use all options"
echo " even if uid != euid"

if [ "$1" = "--help" ]; then
exit 0


echo build byteorder.c...
$CC byteorder.c -o byteorder || exit 1

INSTALL_MANPATH=`echo $MANPATH|cut -f1 -d:`
if [ "$INSTALL_MANPATH" = "" ]; then
"configure" 119L, 2463C

I have tried upgrading permissions to byteorder.c also I don't know much about coding so if any one has any ideas I am more than open for suggestion. The line that the error points to is;
$CC byteorder.c -o byteorder || exit 1 Any thoughts?
Old 11-18-2003, 11:30 PM   #2
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
You didn't install the compiler (developmental packages) during install.

# Guides to software management
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

# Red Hat links
Red Hat Linux Manuals
Get your mp3 support here
Maximum RPM
Easier software management: apt4rpm - Red Carpet
Red Hat 8.0 Tips & Tricks

# Red Hat 7.3 down configuration commands
setup leads to several configuration tools

# Red Hat 7.3 up configuration commands
Configure soundcard:
Configure X server:
Configure network:
Manage software:
Red Hat 9.0 Package Management Tool
Manage users

# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project
Old 11-19-2003, 12:50 AM   #3
Registered: Nov 2003
Distribution: I use gentoo, redhat, and lorma for kicks.
Posts: 44

Rep: Reputation: 15
Pretty much what fancy piper said to do. only here is a step by step instruction in english rather than in geek

goto and get a program called apt and program called synaptic. install these both and run synaptic (the gui version of apt) update your list (clicking the update list button) and do a search for gcc, glade, and gtk. i think all you should need is a version of gcc but all 3 couldn't hurt. gcc is a gnome compiler collection. once that is updated you should be able to compile your junk. but you have to hope that everything works! because linux is nnnnever easy
Old 11-19-2003, 03:27 AM   #4
Registered: Oct 2003
Location: Honolulu, HI
Distribution: redhat 9, Fedora, Enterprise
Posts: 39

Original Poster
Rep: Reputation: 15
You guys are too correct and just my luck I didn't install the x window system either required for package management so I am going to run an upgrade and add everything at that time if I can or at least the x window portion if not developmental packages simultaniously. Thanks for your help!!!!!
Old 11-19-2003, 05:37 AM   #5
Registered: Oct 2003
Location: Honolulu, HI
Distribution: redhat 9, Fedora, Enterprise
Posts: 39

Original Poster
Rep: Reputation: 15
Ok I spoke a little to soon I do have the x window system installed. And I have been able to get the packages installed using the rpm command because I didn't have old enough packages of krb5 and openssl to complete using the package gui. Very strange that I needed older packages. Anyway everything is working now besides the rpm installer. And it was such a pain hooking up a monitor to that box. I dont tend to use the gui. But thanks for pointing me in the right direction. I was very puzzled for a while.


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
configure error while installing tar gz file kitsune55 Linux - Software 1 04-20-2005 09:29 AM
Installing evolution email, error during configure - db.h donbellioni Linux - Software 11 08-16-2004 11:34 PM
hping2 error after upgrade to 2.6 jev-bird Linux - Networking 0 08-10-2004 07:40 PM
[pkgconfig] Error in ./configure; bad directory (where I'm Installing from) sitmex Linux - Software 1 05-20-2004 06:56 PM
New User, ./configure error, installing Apache2 cfitzgerald Linux - Newbie 3 10-23-2003 03:51 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration