Linux - SoftwareThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm trying to compile the program called "hydra", but when I do, i get the following error messages:
Sorry for the really long quote. Any help, with solving this and maybe compiling in generel, since I've only done it a couple of times before, but I can't figure this out, at all. My system is Ubuntu 9.10.
anders@anders-linux:/usr/local/src/hydra-5.4-src$ sudo ./configure
[sudo] password for anders:
Starting hydra auto configuration ...
Checking for openssl (libssl/ssl.h) ...
Checking for Postgres (libpq) ...
Checking for SVN (ibsvn_client-1 libapr-0.so libaprutil-0.so) ...
Checking for SAP/R3 (librfc/saprfc.h) ...
... NOT found, module sapr3 disabled
Get it from http://www.sap.com/solutions/netweav...eval/index.asp
Checking for libssh (libssh/libssh.h) ...
NOTE: ensure that you have libssh v0.11 installed!! Get it from http://0xbadc0de.be !
Hydra will be installed into .../bin of: /usr/local
(change this by running ./configure --prefix=path)
now type "make"
anders@anders-linux:/usr/local/src/hydra-5.4-src$ sudo make
cd hydra-gtk && ./make_xhydra.sh
Trying to compile xhydra now (hydra gtk gui) - dont worry if this fails, this is really optional ...
Error: could not compile. Analyse this:
callbacks.c: In function ‘popen_re_unbuffered’:
callbacks.c:532: warning: format not a string literal and no format arguments
callbacks.c: In function ‘on_btnSave_clicked’:
callbacks.c:668: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
In file included from /usr/include/fcntl.h:217,
In function ‘open’,
inlined from ‘on_btnSave_clicked’ at callbacks.c:666:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
In file included from /usr/include/stdio.h:910,
In function ‘snprintf’,
inlined from ‘hydra_get_options’ at callbacks.c:247:
/usr/include/bits/stdio2.h:65: warning: call to __builtin___snprintf_chk will always overflow destination buffer
make: *** [callbacks.o] Fejl 1
make: *** [all-recursive] Fejl 1
make: *** [all-recursive-am] Fejl 2
Do not worry, as I said, xhydra is really optional. ./hydra is ready to go!
Now type make install
anders@anders-linux:/usr/local/src/hydra-5.4-src$ sudo make install
test -e hydra.exe && touch Makefile || strip hydra pw-inspector
test -e hydra.exe && strip hydra.exe pw-inspector.exe || touch hydra
test -e xhydra && strip xhydra || touch Makefile
test -e hydra.exe && touch Makefile || cp hydra pw-inspector /usr/local/bin && cd /usr/local/bin && chmod 755 hydra pw-inspector
test -e hydra.exe && cp hydra.exe pw-inspector.exe /usr/local/bin && cd /usr/local/bin && chmod 755 hydra.exe pw-inspector.exe || touch Makefile
test -e xhydra && cp xhydra /usr/local/bin && cd /usr/local/bin && chmod 755 xhydra
make: [install] Error 1 (ignored)
Hydra is very old software, and doesn't work with modern versions of libssh. There is a Hydra patch (written by the libssh maintainers), that is supposed to add support for newer libssh releases, but I have not personally used it.
Though it also looks like you are running into some sort of X-related issue there. I would still try applying the patch and seeing if that helps, since that is certainly required on a modern system no matter what.