#12765 closed defect (fixed)
hydra needs libssh-0.11, won't compile with 0.2
Reported by: | caimi.marco@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | matrixm@… | |
Port: |
Description
Current hydra version 5.4 fails to compile with libssh 0.2, #defines KEXT_COMP_C_S and KEXT_COMP_S_C changed to SSH_COMP_C_S and SSH_COMP_S_C
current stable libssh version in macports is 0.2, so it is safe to patch the portfile:
I added
reinplace "s|KEX_COMP_C_S|SSH_COMP_C_S|g" ${worksrcpath}/hydra-ssh2.c
reinplace "s|KEX_COMP_S_C|SSH_COMP_S_C|g" ${worksrcpath}/hydra-ssh2.c
to the post-patch section and it compiled just fine
Change History (9)
comment:1 Changed 17 years ago by caimi.marco@…
comment:2 Changed 17 years ago by jmroot (Joshua Root)
Milestone: | → Port Bugs |
---|---|
Owner: | changed from macports-tickets@… to pmq@… |
Type: | enhancement → defect |
Assigning to maintainer.
comment:3 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
It's been suggested that we make a new port libssh01 just for hydra's dependency. We could do this, but would have to make sure that the files installed by libssh01 don't conflict with the files installed by libssh. Perhaps see the ports apr and apr0 for ideas.
comment:4 Changed 17 years ago by matrixm@…
As another possible solution, remove the dependency on libssh from the portfile for hydra. If libssh can have an older version compiled at the same time without conflicts, then add either a +ssh variant to hydra to pull in that older version of libssh, or just update hydra's port to pull it in directly.
comment:6 Changed 17 years ago by pmq@…
Owner: | pmq@… deleted |
---|---|
Summary: | hydra compile error with libssh 0.2 patch → hydra needs libssh-0.11, won't compile with 0.2 |
Version: | 1.5.0 → 1.6.0 |
I just committed in r36653 the removal of the libssh dependency. Not closing the ticket as the port obviously won't be able to fully fulfill its duty.
As I'm not hydra's maintainer anymore, removing myself from Assignee. Feel free to step up and take ownership!
comment:7 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign@… |
---|---|
Status: | new → assigned |
FYI: hydra still fails to compile if libssh is present. To work around this for now, deactivate libssh before installing hydra. I'm working on a better fix. Please stand by.
comment:8 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Committed a new port libssh01 and updates to hydra to use it in r37351. Several other fixes for hydra in that commit; read the log message.
no, sorry. LD returns errors.. some symbols are not resolved, so the final binary is 0 bytes.
still does not work