Last active
December 15, 2015 14:39
-
-
Save ZPrimed/5275899 to your computer and use it in GitHub Desktop.
Homebrew - 'libnet' fails to build/install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(braden@BWM-Air):[/usr/local/share/aclocal]$ ls -la | |
total 88 | |
drwxr-xr-x 13 braden admin 442 Mar 29 23:58 ./ | |
drwxrwxr-x@ 16 root admin 544 Mar 29 23:58 ../ | |
lrwxr-xr-x 1 braden admin 49 Mar 29 23:57 README@ -> ../../Cellar/automake/1.13.1/share/aclocal/README | |
lrwxr-xr-x 1 braden admin 48 Mar 29 23:58 argz.m4@ -> ../../Cellar/libtool/2.4.2/share/aclocal/argz.m4 | |
lrwxr-xr-x 1 braden admin 50 Mar 29 23:57 dirlist@ -> ../../Cellar/automake/1.13.1/share/aclocal/dirlist | |
lrwxr-xr-x 1 braden admin 50 Feb 8 2012 gtk-2.0.m4@ -> ../../Cellar/gtk+/2.24.10/share/aclocal/gtk-2.0.m4 | |
lrwxr-xr-x 1 braden admin 51 Mar 29 23:58 libtool.m4@ -> ../../Cellar/libtool/2.4.2/share/aclocal/libtool.m4 | |
lrwxr-xr-x 1 braden admin 48 Mar 29 23:58 ltdl.m4@ -> ../../Cellar/libtool/2.4.2/share/aclocal/ltdl.m4 | |
lrwxr-xr-x 1 braden admin 53 Mar 29 23:58 ltoptions.m4@ -> ../../Cellar/libtool/2.4.2/share/aclocal/ltoptions.m4 | |
lrwxr-xr-x 1 braden admin 51 Mar 29 23:58 ltsugar.m4@ -> ../../Cellar/libtool/2.4.2/share/aclocal/ltsugar.m4 | |
lrwxr-xr-x 1 braden admin 53 Mar 29 23:58 ltversion.m4@ -> ../../Cellar/libtool/2.4.2/share/aclocal/ltversion.m4 | |
lrwxr-xr-x 1 braden admin 55 Mar 29 23:58 lt~obsolete.m4@ -> ../../Cellar/libtool/2.4.2/share/aclocal/lt~obsolete.m4 | |
lrwxr-xr-x 1 braden admin 49 Mar 25 00:57 pkg.m4@ -> ../../Cellar/pkg-config/0.28/share/aclocal/pkg.m4 | |
(braden@BWM-Air):[/usr/local/share/aclocal]$ ls -la /usr/local/Cellar/ | |
total 0 | |
drwxr-xr-x 11 braden admin 374 Mar 30 04:33 ./ | |
drwxrwxr-x@ 16 root admin 544 Mar 30 04:25 ../ | |
drwxr-xr-x 3 braden admin 102 Mar 29 23:57 autoconf/ | |
drwxr-xr-x 3 braden admin 102 Mar 29 23:57 automake/ | |
drwxr-xr-x 3 braden admin 102 Sep 27 2012 grepcidr/ | |
drwxr-xr-x 3 braden admin 102 Sep 27 2012 iperf/ | |
drwxr-xr-x 3 braden admin 102 Mar 29 23:57 libtool/ | |
drwxr-xr-x 3 braden admin 102 Mar 25 00:57 mtr/ | |
drwxr-xr-x 4 braden admin 136 Dec 27 02:34 nmap/ | |
drwxr-xr-x 3 braden admin 102 Mar 25 00:57 pkg-config/ | |
drwxr-xr-x 3 braden admin 102 Sep 27 2012 xz/ | |
*** Apparently Brew is "pretending" that GTK+ and several other things are installed (or at least it made links for them inside /usr/local/share/aclocal)... | |
(braden@BWM-Air):[~]$ brew upgrade gtk | |
Error: gtk+ not installed | |
*** I am not sure where it got the idea that it has GTK libs when it actually doesn't? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install libnet | |
==> Downloading http://sourceforge.net/projects/libnet-dev/files/libnet-1.1.6.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/libnet-1.1.6.tar.gz | |
tar xf /Library/Caches/Homebrew/libnet-1.1.6.tar.gz | |
==> Downloading patches | |
/usr/bin/curl -f#LA Homebrew 0.9.4 (Ruby 1.8.7-358; Mac OS X 10.8.3) https://trac.macports.org/export/95336/trunk/dports/net/libnet11/files/patch-configure.in.diff -o 000-homebrew.diff | |
######################################################################## 100.0% | |
==> Patching | |
/usr/bin/patch -f -p0 -i 000-homebrew.diff | |
patching file configure.in | |
==> autoreconf --force --install | |
autoreconf --force --install | |
aclocal: error: aclocal: file '/usr/local/share/aclocal/gtk-2.0.m4' does not exist | |
autoreconf: aclocal failed with exit status: 1 | |
==> Configuration | |
HOMEBREW_VERSION: 0.9.4 | |
HEAD: 9e3ef197fe78792fa13b5dc1820118e8e129d277 | |
CPU: quad-core 64-bit sandybridge | |
OS X: 10.8.3-x86_64 | |
Xcode: 4.6.1 | |
CLT: 4.6.0.0.1.1362189000 | |
X11: 2.7.4 => /opt/X11 | |
==> ENV | |
CC: cc | |
CXX: c++ | |
MAKEFLAGS: -j1 | |
CMAKE_PREFIX_PATH: /usr/local | |
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/ | |
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries | |
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.8 | |
HOMEBREW_MAKE_JOBS: 1 | |
ACLOCAL_PATH: /usr/local/share/aclocal | |
OBJC: cc | |
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/autoconf/bin:/usr/local/opt/automake/bin:/usr/local/opt/libtool/bin:/usr/bin:/bin:/usr/sbin:/sbin | |
Error: libnet did not build | |
===================== | |
The contents of the largest numbered log in ~/Library/Logs/Homebrew/foo, for example: 03.make; | |
*** no files present in ~/Library/Logs/Homebrew/libnet | |
===================== | |
brew doctor | |
Your system is raring to brew. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment