2015-02-09 64 views
1

我想利用我的家酿Mac上安装etherape,但我得到这个错误:无法安装etherape MAC

Lore:etherape-0.9.13 lorenzoferri$ ./configure 
checking for a BSD-compatible install... /usr/bin/install -c 
checking whether build environment is sane... yes 
checking for a thread-safe mkdir -p... ./install-sh -c -d 
checking for gawk... no 
checking for mawk... no 
checking for nawk... no 
checking for awk... awk 
checking whether make sets $(MAKE)... yes 
checking for gcc... gcc 
checking whether the C compiler works... yes 
checking for C compiler default output file name... a.out 
checking for suffix of executables... 
checking whether we are cross compiling... no 
checking for suffix of object files... o 
checking whether we are using the GNU C compiler... yes 
checking whether gcc accepts -g... yes 
checking for gcc option to accept ISO C89... none needed 
checking for style of include used by make... GNU 
checking dependency style of gcc... gcc3 
checking how to run the C preprocessor... gcc -E 
checking whether ln -s works... yes 
checking whether make sets $(MAKE)... (cached) yes 
checking build system type... x86_64-apple-darwin14.1.0 
checking host system type... x86_64-apple-darwin14.1.0 
checking for a sed that does not truncate output... /usr/bin/sed 
checking for grep that handles long lines and -e... /usr/bin/grep 
checking for egrep... /usr/bin/grep -E 
checking for fgrep... /usr/bin/grep -F 
checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld 
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no 
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm 
checking the name lister (/usr/bin/nm) interface... BSD nm 
checking the maximum length of command line arguments... 196608 
checking whether the shell understands some XSI constructs... yes 
checking whether the shell understands "+="... yes 
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r 
checking for objdump... no 
checking how to recognize dependent libraries... pass_all 
checking for ar... ar 
checking for strip... strip 
checking for ranlib... ranlib 
checking command to parse /usr/bin/nm output from gcc object... ok 
checking for dsymutil... dsymutil 
checking for nmedit... nmedit 
checking for lipo... lipo 
checking for otool... otool 
checking for otool64... no 
checking for -single_module linker flag... yes 
checking for -exported_symbols_list linker flag... yes 
checking for ANSI C header files... yes 
checking for sys/types.h... yes 
checking for sys/stat.h... yes 
checking for stdlib.h... yes 
checking for string.h... yes 
checking for memory.h... yes 
checking for strings.h... yes 
checking for inttypes.h... yes 
checking for stdint.h... yes 
checking for unistd.h... yes 
checking for dlfcn.h... yes 
checking for objdir... .libs 
checking if gcc supports -fno-rtti -fno-exceptions... yes 
checking for gcc option to produce PIC... -fno-common -DPIC 
checking if gcc PIC flag -fno-common -DPIC works... yes 
checking if gcc static flag -static works... no 
checking if gcc supports -c -o file.o... yes 
checking if gcc supports -c -o file.o... (cached) yes 
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes 
checking dynamic linker characteristics... darwin14.1.0 dyld 
checking how to hardcode library paths into programs... immediate 
checking whether stripping libraries is possible... yes 
checking if libtool supports shared libraries... yes 
checking whether to build shared libraries... yes 
checking whether to build static libraries... yes 
checking for pkg-config... /usr/local/bin/pkg-config 
checking pkg-config is at least version 0.9.0... yes 
checking for ETHERAPE... configure: error: Package requirements (glib-2.0 libglade-2.0 libgnomeui-2.0) were not met: 

No package 'libgnomeui-2.0' found 

Consider adjusting the PKG_CONFIG_PATH environment variable if you 
installed software in a non-standard prefix. 

Alternatively, you may set the environment variables ETHERAPE_CFLAGS 
and ETHERAPE_LIBS to avoid the need to call pkg-config. 
See the pkg-config man page for more details. 

这是酿造列表的结果:

Lore:etherape-0.9.13 lorenzoferri$ brew list 
atk   gdk-pixbuf  hadoop   libglade  mahout   pkg-config 
cairo   gettext   harfbuzz  libiconv  maven   python 
fontconfig  glib   icu4c   libpng   openssl   readline 
freetype  gobject-introspection jpeg   libtiff   pango   sqlite 
gdbm   gtk+   libffi   libxml2   pixman   wget 

如果我尝试安装从libgnomeui:

Lore:etherape-0.9.13 lorenzoferri$ brew install libgnomeui 
==> Installing libgnomeui from aisipos/homebrew-libgnomeui 
Error: No available formula for libiconv (dependency of libgnomeui) 
Searching formulae... 
Searching taps... 

否则,如果你能告诉我一个很好的替代etherape为Mac,我想看看TRAF在我的网络中因为有时我的网络真的很慢。

回答

1

的问题是自制的,从libgnomeui/libbonobo.rb:

depends_on 'libiconv' 

首先,libiconv的已经由OS X提供所以这不应该是必要的。

实际的错误是由交叉抽头依赖引起的。您安装的libiconv来自自制软件/模拟器,但上述依赖性仅指向libgnomeui tap或core。试着用brew edit libbonobo测试了这一点,并指定

depends_on 'homebrew/dupes/libiconv' 
0

Ciao的洛伦佐,

如果 '从libgnomeui-2.0' 是什么,你只需要输入:

brew install libgnomeui 
0

先放入水龙头:

$ brew tap aisipos/libgnomeui 

Then:

$ brew edit libbonobo 

替换此:

depends_on 'libiconv' 

有了这个:

depends_on 'homebrew/dupes/libiconv' 

然后运行这个命令:

$ brew install libgnomeui 

或者,然后只需安装etherape这样,而不是安装在从libgnomeui的(无需编译etherape源代码):

$ brew install etherape