Opened 10 years ago

Closed 10 years ago

#43524 closed defect (fixed)

ettercap @0.8.0 not building

Reported by: irony42@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: cooljeanius (Eric Gallager), incarnadin@…
Port: ettercap

Description (last modified by mf2k (Frank Schima))

ettercap isn't pkg-configing correctly on my system. It only builds correctly with something like

    configure.cflags-append [exec pkg-config --cflags gtk+-2.0]
    configure.ldflags-append [exec pkg-config --libs gtk+-2.0]

IIRC last time I had an issue like this, it only showed up because I use gtk +quartz.

Change History (8)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to ultrix@…

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers ettercap).

comment:2 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:3 Changed 10 years ago by coolnodje@…

Can't install ettercap 0.8.0 port on 10.9.2.

Haven't got any detail, jus:

--->  Building ettercap
Error: org.macports.build for port ettercap returned: command execution failed
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port ettercap failed

Hope it's related

Version 0, edited 10 years ago by coolnodje@… (next)

comment:4 Changed 10 years ago by incarnadin@…

I can't install it either.

--->  Building ettercap
Error: org.macports.build for port ettercap returned: command execution failed
Please see the log file for port ettercap for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_ettercap/ettercap/main.log

Turns out to be this "fatal error: 'gtk/gtk.h' file not found" even though gtk2 is installed and ready to go. #34109 seems to be related but I'm not sure how to change the compile command the 3rd comment mentioned.

comment:5 Changed 10 years ago by incarnadin@…

Cc: incarnadin@… added

Cc Me!

comment:6 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from ultrix@… to macports-tickets@…

This port is no longer maintained.

comment:7 Changed 10 years ago by g5pw (Aljaž Srebrnič)

This is actually a bug in cmake. It will be resolved with the update to cmake 3.0 (see #42654).

comment:8 Changed 10 years ago by g5pw (Aljaž Srebrnič)

Resolution: fixed
Status: newclosed

Cmake got updated in r121104, so you can do sudo port selfupdate followed by sudo port upgrade cmake, and you should be able to install ettercap +gui just fine.

Note: See TracTickets for help on using tickets.