Compiling from sources
How do I compile programs from sources?
Just so you know, I checked synaptic package manager, and I have build-essential installed. I am trying to install this program called hydra, and I go to the terminal, and type: Code:
tar jxf hydra-5.3-src.tar.gz Code:
bzip2: (stdin) is not a bzip2 file. Code:
tar hydra-5.3-src.tar.gz Code:
tar: Old option `g' requires an argument. Thanks for reading. |
Gzipped files require the z option. The j option is for .bz2 files.
|
Quote:
Code:
tar -z hydra-5.3-src.tar.gz Code:
tar: You must specify one of the `-Acdtrux' options |
You still need the x, which is for extract and the f, which is to specify the file.
|
Quote:
Code:
sudo make install Code:
gcc -I. -Wall -O2 -c hydra-sip.c -DLIBPOSTGRES |
I don't know what that particular package is, but are you sure you don't need to run "./configure" and make first? Do you have the openssl-dev (or -devel) package installed?
|
Quote:
Quote:
And I did run ./configure and make. Code:
./configure Code:
Starting hydra auto configuration ... Code:
make Code:
gcc -I. -Wall -O2 -c hydra-sip.c -DLIBOPENSSL -DLIBPOSTGRES Code:
make install Code:
gcc -I. -Wall -O2 -lm -o hydra hydra-vnc.o hydra-pcnfs.o hydra-rexec.o hydra-nntp.o hydra-socks5.o hydra-telnet.o hydra-cisco.o hydra-http.o hydra-ftp.o hydra-imap.o hydra-pop3.o hydra-smb.o hydra-icq.o hydra-cisco-enable.o hydra-ldap.o hydra-mysql.o hydra-http-proxy.o hydra-smbnt.o hydra-mssql.o hydra-snmp.o hydra-cvs.o hydra-smtpauth.o hydra-sapr3.o hydra-ssh2.o hydra-teamspeak.o hydra-postgres.o hydra-rsh.o hydra-rlogin.o hydra-oracle-listener.o hydra-svn.o hydra-pcanywhere.o hydra-sip.o hydra-vmauthd.o hydra-http-proxy-auth-ntlm.o hydra-imap-ntlm.o hydra-pop3-ntlm.o hydra-smtpauth-ntlm.o hydra-http-form.o crc32.o d3des.o md4.o hydra-mod.o ntlm.o hydra.o -lm -lssl -lpq -lcrypto -L/usr/lib -L/usr/local/lib -L/lib -L/usr/lib || echo -e "\nIF YOU RECEIVED THE ERROR MESSAGE \"cannot find -lpq\" DO THE FOLLOWING:\n make clean; ./configure\n vi Makefile <- and remove the \"-lpq\" and \"-DLIBPOSTGRES\" statements\n make\n" |
Quote:
Else just run it from where it is... |
Quote:
But thanks. |
Here's the docs:
http://thc.segfault.net/thc-hydra/README Here's an article: http://www.linux.com/article.pl?sid=05/08/22/205200 If you still can't get it sorted after reading that then I am not sure I or anyone else can help you. |
All times are GMT -5. The time now is 02:33 PM. |