compilation of `hydra' failed

Joerg van den Hoff j.van_den_hoff at fzd.de
Wed Jun 4 08:06:14 PDT 2008


On Wed, Jun 04, 2008 at 05:14:53AM -0500, Ryan Schmidt wrote:
> 
> On Jun 4, 2008, at 04:24, Joerg van den Hoff wrote:
> 
> >On Tue, Jun 03, 2008 at 02:53:15PM -0700, Matrix Mole wrote:
> >>(sorry forgot to Reply-to-all on the original message to include the
> >>mailing list)
> >>
> >>On Tue, Jun 3, 2008 at 12:24 PM, Joerg van den Hoff
> >><j.van_den_hoff at fzd.de> wrote:
> >>>>Also, be sure to run a port sync to get the most recent version  
> >>>>of the
> >>>>port files, I believe the old maintainer removed the dependency on
> >>>>libssh for hydra until the issue could be resolved.
> >>>
> >>>I did. `variant ssh' is indeed commented out in the portfile.  
> >>>nevertheless
> >>>I get the same error complaining about libssh version mismatch.
> >
> >thanks again (to ryan, too). got it installed now.
> >
> >>
> >>You may have to uninstall libssh first, if libssh is installed, it
> >>will try to pull the libraries into a hydra build. Once you have
> >>libssh removed, then hydra should build without ssh support.
> >>
> >>>I'll wait and observe the status of the ticket.
> >>
> >>Unfortunately, I don't think much work is going to get done on that
> >>ticket since the maintainer of the port has stepped down. I
> >
> >that would be bad. really no hope??
> 
> Ticket is resolved. :)
> 
> 
ryan,

I'm back to field one: due to your above news, I just did:

port clean --all libssh
port uninstall hydra     #this was the old (working) version without ssh support
port clean --all hydra
port selfupdate
port sync
port install hydra

which crashed again:
============================CUT======================================
--->  Building hydra with target all
/usr/bin/gcc-4.0 -I. -Wall -O2 -o pw-inspector pw-inspector.c
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-vnc.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-pcnfs.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-rexec.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-nntp.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-socks5.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-telnet.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-cisco.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-http.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-ftp.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-imap.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-pop3.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-smb.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-icq.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-cisco-enable.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-ldap.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-mysql.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-http-proxy.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-smbnt.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-mssql.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-snmp.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-cvs.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-smtpauth.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-sapr3.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-ssh2.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
hydra-ssh2.c:10:2: warning: #warning "If compilation of hydra-ssh2 fails, you are not using v0.11. Download from http://www.0xbadc0de.be/"
hydra-ssh2.c:12:27: error: libssh/libssh.h: No such file or directory hydra-ssh2.c: In function 'start_ssh2':
hydra-ssh2.c:24: error: 'SSH_SESSION' undeclared (first use in this function)
hydra-ssh2.c:24: error: (Each undeclared identifier is reported only once
hydra-ssh2.c:24: error: for each function it appears in.)
hydra-ssh2.c:24: error: 'ssh_session' undeclared (first use in this function)
hydra-ssh2.c:25: error: 'SSH_OPTIONS' undeclared (first use in this function)
hydra-ssh2.c:25: error: 'ssh_opt' undeclared (first use in this function)
hydra-ssh2.c:34: warning: implicit declaration of function 'options_new'
hydra-ssh2.c:44: warning: implicit declaration of function 'options_set_wanted_method'
hydra-ssh2.c:44: error: 'KEX_COMP_C_S' undeclared (first use in this function)
hydra-ssh2.c:45: error: 'KEX_COMP_S_C' undeclared (first use in this function)
hydra-ssh2.c:46: warning: implicit declaration of function 'options_set_port'
hydra-ssh2.c:47: warning: implicit declaration of function 'options_set_host'
hydra-ssh2.c:48: warning: implicit declaration of function 'options_set_username'
hydra-ssh2.c:50: warning: implicit declaration of function 'ssh_connect'
hydra-ssh2.c:51: warning: implicit declaration of function 'ssh_get_error'
hydra-ssh2.c:51: warning: assignment makes pointer from integer without a cast
hydra-ssh2.c:53: warning: passing argument 2 of 'strncmp' makes pointer from integer without a cast
hydra-ssh2.c:66: warning: implicit declaration of function 'ssh_userauth_kbdint'
hydra-ssh2.c:67: error: 'SSH_AUTH_INFO' undeclared (first use in this function)
hydra-ssh2.c:68: warning: implicit declaration of function 'ssh_userauth_kbdint_setanswer'
hydra-ssh2.c:73: error: 'SSH_AUTH_SUCCESS' undeclared (first use in this function)
hydra-ssh2.c:73: warning: implicit declaration of function 'ssh_userauth_password'
hydra-ssh2.c:74: warning: implicit declaration of function 'ssh_disconnect'
hydra-ssh2.c:82: warning: implicit declaration of function 'ssh_error_code'
make: *** [hydra-ssh2.o] Error 1
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_hydra/work/hydra-5.4-src"
&& make all XIPATHS="-I/opt/local/include/libssh01 -I/opt/local/include"
XLIBPATHS="-L/opt/local/lib/libssh01 -L/opt/local/lib" " returned error 2
Command output: /usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-sapr3.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
/usr/bin/gcc-4.0 -I. -Wall -O2 -c hydra-ssh2.c -DLIBOPENSSL -DLIBSSH -I/opt/local/include/libssh01 -I/opt/local/include
hydra-ssh2.c:10:2: warning: #warning "If compilation of hydra-ssh2 fails, you are not using v0.11. Download from http://www.0xbadc0de.be/"
hydra-ssh2.c:12:27: error: libssh/libssh.h: No such file or directory
hydra-ssh2.c: In function 'start_ssh2':
hydra-ssh2.c:24: error: 'SSH_SESSION' undeclared (first use in this function)
hydra-ssh2.c:24: error: (Each undeclared identifier is reported only once
hydra-ssh2.c:24: error: for each function it appears in.)
hydra-ssh2.c:24: error: 'ssh_session' undeclared (first use in this function)
hydra-ssh2.c:25: error: 'SSH_OPTIONS' undeclared (first use in this function)
hydra-ssh2.c:25: error: 'ssh_opt' undeclared (first use in this function)
hydra-ssh2.c:34: warning: implicit declaration of function 'options_new'
hydra-ssh2.c:44: warning: implicit declaration of function 'options_set_wanted_method'
hydra-ssh2.c:44: error: 'KEX_COMP_C_S' undeclared (first use in this function)
hydra-ssh2.c:45: error: 'KEX_COMP_S_C' undeclared (first use in this function)
hydra-ssh2.c:46: warning: implicit declaration of function 'options_set_port'
hydra-ssh2.c:47: warning: implicit declaration of function 'options_set_host'
hydra-ssh2.c:48: warning: implicit declaration of function 'options_set_username'
hydra-ssh2.c:50: warning: implicit declaration of function 'ssh_connect'
hydra-ssh2.c:51: warning: implicit declaration of function 'ssh_get_error'
hydra-ssh2.c:51: warning: assignment makes pointer from integer without a cast
hydra-ssh2.c:53: warning: passing argument 2 of 'strncmp' makes pointer from integer without a cast
hydra-ssh2.c:66: warning: implicit declaration of function 'ssh_userauth_kbdint'
hydra-ssh2.c:67: error: 'SSH_AUTH_INFO' undeclared (first use in this function)
hydra-ssh2.c:68: warning: implicit declaration of function 'ssh_userauth_kbdint_setanswer'
hydra-ssh2.c:73: error: 'SSH_AUTH_SUCCESS' undeclared (first use in this function)
hydra-ssh2.c:73: warning: implicit declaration of function 'ssh_userauth_password'
hydra-ssh2.c:74: warning: implicit declaration of function 'ssh_disconnect'
hydra-ssh2.c:82: warning: implicit declaration of function 'ssh_error_code'
make: *** [hydra-ssh2.o] Error 1

Warning: the following items did not execute (for hydra): org.macports.activate org.macports.build org.macports.destroot org.macports.archive org.macports.install
Error: Status 1 encountered during processing.
============================CUT======================================

what I'm doing wrong now?

joerg



More information about the macports-users mailing list