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 #!/bin/sh show_help() { 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 show_help exit 0 fi CC=${CC:=cc} 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? Thanks!! |
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 rpmfind 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: redhat-config-soundcard Configure X server: redhat-config-xfree86 Configure network: redhat-config-network Manage software: redhat-config-packages Red Hat 9.0 Package Management Tool Manage users redhat-config-users # Handling NTFS New Technology FileSystem (NTFS) HOWTOs Linux NTFS project |
Pretty much what fancy piper said to do. only here is a step by step instruction in english rather than in geek:D
goto www.freshrpms.net 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;) |
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!!!!!
|
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.
|
All times are GMT -5. The time now is 08:36 AM. |