2014-01-30 55 views
9

我无法使用自制软件将Ettercap安装到我的OSX 10.7.8。 Homebrew允许我安装Ettercap,但我不能用图形模式以某种方式擦它。无法使用Homebrew以图形模式安装Ettercap

➜ ~ ettercap -G 

ettercap 0.7.6 copyright 2001-2013 Ettercap Development Team 

GTK support is not compiled in ettercap 

我将不胜感激,如果你能指导我通过步骤成功地在我的OSX山狮子图形模式安装ettercap。

在此先感谢

回答

18

要与自制的图形模式下安装Ettercap,你可以使用选项--with-gtk+

$ brew install ettercap --with-gtk+ 

为了您自己的信息,你可以与任何自制配方有关选项的详细信息brew info [formula]

在终端发布brew info ettercap会显示类似

ettercap: stable 0.8.0, HEAD 
http://ettercap.github.io/ettercap/ 
/usr/local/Cellar/ettercap/0.8.0 (69 files, 2,1M) * 
    Built from source with: --with-gtk+, --with-ipv6 
From: https://github.com/Homebrew/homebrew/commits/master/Library/Formula/ettercap.rb 
==> Dependencies 
Build: cmake ✔, ghostscript ✘ 
Required: pcre ✔, libnet ✔, curl ✔ 
Optional: ghostscript ✘, gtk+ ✔, luajit ✘ 
==> Options 
--with-ghostscript 
    Build with ghostscript support 
--with-gtk+ 
    Build with gtk+ support 
--with-ipv6 
    Install with IPv6 support 
--with-luajit 
    Build with luajit support 
--without-curses 
    Install without curses interface 
--without-plugins 
    Install without plugins support 
--HEAD 
    install HEAD version 

注意:为了使用这个图形模式,你还需要安装XQuartz

+6

对于谁已经安装了任何人。 'brew重新安装ettercap --with-gtk +' –