Opened 11 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 11 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to ultrix@… |
comment:3 Changed 11 years ago by coolnodje@…
Can't install ettercap 0.8.0 port on 10.9.2.
Haven't got any detail, just:
---> 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
Ah, got the log file ref on a second attempt after upgrade outdated. Error comes from GLIB not being above min required.
:info:build In file included from /opt/local/include/gtk-2.0/gtk/gtk.h:32: :info:build In file included from /opt/local/include/gtk-2.0/gdk/gdk.h:32: :info:build In file included from /opt/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30: :info:build In file included from /opt/local/include/glib-2.0/gio/gio.h:26: :info:build In file included from /opt/local/include/glib-2.0/gio/giotypes.h:28: :info:build In file included from /opt/local/include/glib-2.0/gio/gioenums.h:28: :info:build In file included from /opt/local/include/glib-2.0/glib-object.h:23: :info:build In file included from /opt/local/include/glib-2.0/gobject/gbinding.h:28: :info:build In file included from /opt/local/include/glib-2.0/glib.h:30: :info:build In file included from /opt/local/include/glib-2.0/glib/galloca.h:32: :info:build In file included from /opt/local/include/glib-2.0/glib/gtypes.h:34: :info:build /opt/local/include/glib-2.0/glib/gversionmacros.h:197:2: error: "GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26" :info:build #error "GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26" :info:build ^
hum, this is a problem on my system:
pkg-config --modversion glib-2.0 2.40.0
but
LD_LIBRARY_PATH=/usr/local/lib PKG_CONFIG_PATH=/usr/local/lib/pkgconfig pkg-config --modversion glib-2.0 2.15.0
Ok, by now I know it's not related to this ticket, and I'm sorry about that, but if anyone pity me enough to tell me how to safely remove my /usr/local version of Glib, I'd be grateful...
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: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: | new → closed |
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.
In the future, please use WikiFormatting and Cc the port maintainers (
port info --maintainers ettercap
).