You are not logged in.

#1 2006-08-25 08:38:20

frullino
Member
From: Italy
Registered: 2006-08-22
Posts: 35
Website

Problem compiling Hydra and Medusa

It is my first post in the .org forum, so hi all!  smile

I have a question for you, does anyone of you tried to compile Hydra or Medusa? I tried to build them with the PKGBUILDs found in AUR but the build fails... and also compilation form source fails. I think it can be a problem related to gcc4, but i'm newbie in working with compilation so I ask here.

Here it's the PKGBUILD that i used to compile hydra:

# Maintainer: NICFury <furillo_fin>

pkgname=hydra
pkgver=5.3
pkgrel=1
pkgdesc="A very fast network logon cracker which support many different services"
url="http://thc.segfault.net/thc-hydra/"
depends=()
source=(http://thc.segfault.net/releases/$pkgname-$pkgver-src.tar.gz)

build() {
  cd $startdir/src/$pkgname-$pkgver-src
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg install
}

and here is a link with the output of makepkg command: http://www.gpsoftware.net/hydra_complie_error.txt

It seems that make command can't find files apr.h, apr_*.h, ... it searches for them in /usr/include/subversion-1/ but they are in /usr/include/apr-1/. I tried to cp them in the right position but it doesn't worked.

Can you help me? thanks  tongue

NICFury


Linux Registered User: #431529 - http://counter.li.org/

Offline

#2 2006-08-25 08:56:51

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: Problem compiling Hydra and Medusa

Welcome to the ArchLinux Forum, frullino!

Could you please post the output of

src/hydra-5.3-src/configure --help

thanks in advance


Haven't been here in a while. Still rocking Arch. smile

Offline

#3 2006-08-25 09:10:29

frullino
Member
From: Italy
Registered: 2006-08-22
Posts: 35
Website

Re: Problem compiling Hydra and Medusa

Sigi wrote:

Welcome to the ArchLinux Forum, frullino!

Thanks smile

Sigi wrote:

Could you please post the output of

src/hydra-5.3-src/configure --help

of corse, here it is:

[nicfury@frullino hydra-5.3-src]$ ./configure --help
Options:
  --prefix=path     path to install hydra and its datafiles to
  --disable-xhydra  disable compilation of hydra GUI
  --help            this here

and this is che configure --help of the Medusa src, maybe this is more customizable:

[nicfury@frullino medusa-1.1]$ ./configure --help
`configure' configures this package to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR           user executables [EPREFIX/bin]
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  --libexecdir=DIR       program executables [EPREFIX/libexec]
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  --libdir=DIR           object code libraries [EPREFIX/lib]
  --includedir=DIR       C header files [PREFIX/include]
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  --infodir=DIR          info documentation [PREFIX/info]
  --mandir=DIR           man documentation [PREFIX/man]

Program names:
  --program-prefix=PREFIX            prepend PREFIX to installed program names
  --program-suffix=SUFFIX            append SUFFIX to installed program names
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  --target=TARGET   configure for building compilers for TARGET [HOST]

Optional Features:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --disable-dependency-tracking  speeds up one-time build
  --enable-dependency-tracking   do not reject slow dependency extractors
  --enable-debug=no/yes turn on debugging (default=yes)
  --enable-untested=no/yes Enabled untested modules (default=no)

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-default-mod-path=path
                          Location of medusa module files (default =
                          /usr/local/lib/medusa/modules)

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib> if you have libraries in a
              nonstandard directory <lib>
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include> if you have
              headers in a nonstandard directory <include>
  CPP         C preprocessor

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

Linux Registered User: #431529 - http://counter.li.org/

Offline

#4 2006-08-25 09:25:09

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: Problem compiling Hydra and Medusa

hm, two things you could try (but I honestly don't think that these steps will solve your problem):

1. this package depends on libssh, add it to the depends array, install it if necessary and run makepkg again.

2. It could be that

make prefix=$startdir/pkg install 

has to be changed to

make DESTDIR=$startdir/pkg install

... but this only matters if you are able to compile...


Haven't been here in a while. Still rocking Arch. smile

Offline

#5 2006-08-25 09:35:58

frullino
Member
From: Italy
Registered: 2006-08-22
Posts: 35
Website

Re: Problem compiling Hydra and Medusa

Sigi wrote:

hm, two things you could try (but I honestly don't think that these steps will solve your problem):

1. this package depends on libssh, add it to the depends array, install it if necessary and run makepkg again.

2. It could be that

make prefix=$startdir/pkg install 

has to be changed to

make DESTDIR=$startdir/pkg install

... but this only matters if you are able to compile...

I've already installed libssh and libssh2, but nothing changed sad

I think i have to forget to use hydra...


Linux Registered User: #431529 - http://counter.li.org/

Offline

#6 2006-08-25 09:44:45

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: Problem compiling Hydra and Medusa

Please don't, the pkgdesc made me curious.. ;-)

I'm sorry I can't help you atm. I'm not even at my Arch System right now


Haven't been here in a while. Still rocking Arch. smile

Offline

#7 2006-08-25 09:48:43

frullino
Member
From: Italy
Registered: 2006-08-22
Posts: 35
Website

Re: Problem compiling Hydra and Medusa

Sigi wrote:

Please don't, the pkgdesc made me curious.. ;-)

I'm sorry I can't help you atm. I'm not even at my Arch System right now

I'm not in hurry, so if you can help me next days it would be perfect wink

thanks a lot!  tongue


Linux Registered User: #431529 - http://counter.li.org/

Offline

#8 2006-08-25 10:26:20

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: Problem compiling Hydra and Medusa

You're welcome!

I just visited the hydra AUR page (for the first time - stupid me  :oops: ), and found this comment:

AUR hydra page wrote:

A very fast network logon cracker which support many different services. This version comes without dependencies. To get support for Postgres openssl and SVN services current/openssl, testing/subversion and current/postgresql must be installed. To get support for ssh2 libssh 0.11 must be installed i have also uploaded a PKGBUILD for it. To get support for SAP/R3 get it from http://www.sap.com/solutions/netweaver/ … /index.asp

Can I assume that you have installed all the dependencies which you wish to be supported? I think so...


Haven't been here in a while. Still rocking Arch. smile

Offline

#9 2006-08-25 12:01:32

frullino
Member
From: Italy
Registered: 2006-08-22
Posts: 35
Website

Re: Problem compiling Hydra and Medusa

Sigi wrote:

You're welcome!

I just visited the hydra AUR page (for the first time - stupid me  :oops: ), and found this comment:

AUR hydra page wrote:

A very fast network logon cracker which support many different services. This version comes without dependencies. To get support for Postgres openssl and SVN services current/openssl, testing/subversion and current/postgresql must be installed. To get support for ssh2 libssh 0.11 must be installed i have also uploaded a PKGBUILD for it. To get support for SAP/R3 get it from http://www.sap.com/solutions/netweaver/ … /index.asp

Can I assume that you have installed all the dependencies which you wish to be supported? I think so...

I'm idiot... i dind't read testing/subversion, and I installed it from extra... and so the error should be there! :oops: :oops: :oops:

Do you think there may be problems installing subversion from testing?


Linux Registered User: #431529 - http://counter.li.org/

Offline

#10 2006-08-25 12:09:55

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: Problem compiling Hydra and Medusa

I don't think so. I have testing enabled atm and there are no problems so far - and although I don't use subversion I think I've got it installed. But I could imagine that the correct version of subversion has already made its way to extra over the last 3 month. Just check if there is a subversion package in testing, if there isn't one everything *should* work.

By the way, I've posted a comment on the AUR hydra page linking to this thread.

Good luck, don't give up!  8)


Haven't been here in a while. Still rocking Arch. smile

Offline

#11 2006-08-25 12:37:48

frullino
Member
From: Italy
Registered: 2006-08-22
Posts: 35
Website

Re: Problem compiling Hydra and Medusa

I installed testing/subversion but nothing changed, the problem is still there.

The only thing that i don't have is the support for sap, because the link given in AUR (http://www.sap.com/solutions/netweaver/ … /index.asp) doesn't contain something useful. But compiling fails on apr files, so i don't think it is because of sap support.


Linux Registered User: #431529 - http://counter.li.org/

Offline

#12 2006-08-25 12:53:27

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: Problem compiling Hydra and Medusa

frullino wrote:

i don't think it is because of sap support

So do I


Haven't been here in a while. Still rocking Arch. smile

Offline

#13 2006-08-30 08:40:51

frullino
Member
From: Italy
Registered: 2006-08-22
Posts: 35
Website

Re: Problem compiling Hydra and Medusa

up  :?


Linux Registered User: #431529 - http://counter.li.org/

Offline

#14 2006-08-30 08:50:03

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: Problem compiling Hydra and Medusa

I've sent a mail to the dev of hydra wrt our problem. I haven't recieved an answer yet..

edit:
I sent this mail 3 days ago, not now ;-)

I also remember having tried to compile hydra 4 month ago. I gave it up after a few tries.


Haven't been here in a while. Still rocking Arch. smile

Offline

#15 2006-08-30 08:51:17

frullino
Member
From: Italy
Registered: 2006-08-22
Posts: 35
Website

Re: Problem compiling Hydra and Medusa

Sigi wrote:

I've sent a mail to the dev of hydra wrt our problem. I haven't recieved an answer yet..

Thank you anyway wink


Linux Registered User: #431529 - http://counter.li.org/

Offline

#16 2006-09-09 01:39:10

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: Problem compiling Hydra and Medusa

I haven't recieved an answer from the dev yet, but ice-man solved the issue!  8) hydra compiles flawlessly now... Just get the new version in the AUR!


Haven't been here in a while. Still rocking Arch. smile

Offline

#17 2006-09-10 09:41:56

frullino
Member
From: Italy
Registered: 2006-08-22
Posts: 35
Website

Re: Problem compiling Hydra and Medusa

Sigi wrote:

I haven't recieved an answer from the dev yet, but ice-man solved the issue!  8) hydra compiles flawlessly now... Just get the new version in the AUR!

Thanks a lot! Now it compiles without problems wink


Linux Registered User: #431529 - http://counter.li.org/

Offline

Board footer

Powered by FluxBB