Skip to content

Instantly share code, notes, and snippets.

@DownnDCity
Last active December 22, 2015 11:19
Show Gist options
  • Save DownnDCity/6464857 to your computer and use it in GitHub Desktop.
Save DownnDCity/6464857 to your computer and use it in GitHub Desktop.
Cowpatty fails to install. Missing utils.o, md5.o and sha1.o
======brew doctor======
Warning: /usr/bin occurs before /usr/local/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. The following tools exist at both paths:
easy_install
easy_install-2.7
Consider setting your PATH so that /usr/local/bin
occurs before /usr/bin. Here is a one-liner:
echo export PATH="/usr/local/bin:$PATH" >> ~/.bash_profile
=======================
when looking at the path /usr/local/bin occurs before /usr/bin
========cat ~/.bash_profile=========
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
======================
=====brew --config=====
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew
HEAD: bd9ea25f6fefe3c097f7692428f7939d5016286a
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.8.4-x86_64
Xcode: 4.6.3
CLT: 4.6.0.0.1.1362189000
LLVM-GCC: build 2336
Clang: 4.2 build 425
X11: N/A
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
=====================
==========brew install -v cowpatty 2>&1=======
==> Downloading http://www.willhackforsushi.com/code/cowpatty/4.3/cowpatty-4.3.tgz
Already downloaded: /Library/Caches/Homebrew/cowpatty-4.3.tgz
tar xf /Library/Caches/Homebrew/cowpatty-4.3.tgz
==> make install
make install
cc -pipe -Wall -DOPENSSL -O2 -g3 -ggdb -c -o md5.o md5.c
cc -pipe -Wall -DOPENSSL -O2 -g3 -ggdb -c -o sha1.o sha1.c
cc -pipe -Wall -DOPENSSL -O2 -g3 -ggdb -c -o utils.o utils.c
cc -pipe -Wall -DOPENSSL -O2 -g3 -ggdb -c -o cowpatty.o cowpatty.c
cc -pipe -Wall -DOPENSSL -O2 -g3 -ggdb -c -o genpmk.o genpmk.c
cc -pipe -Wall -DOPENSSL -O2 -g3 -ggdb cowpatty.c -o cowpatty utils.o md5.o sha1.o -lpcap -lcrypto
cc -pipe -Wall -DOPENSSL -O2 -g3 -ggdb genpmk.c -o genpmk utils.o sha1.o -lpcap -lcrypto
brew: superenv removed: -Wall -O2 -g3 -ggdb
brew: superenv removed: -Wall -O2 -g3 -ggdb
brew: superenv removed: -Wall -O2 -g3 -ggdb
brew: superenv removed: -Wall -O2 -g3 -ggdb
brew: superenv removed: -Wall -O2 -g3 -ggdb
brew: superenv removed: -Wall -O2 -g3 -ggdb
brew: superenv removed: -Wall -O2 -g3 -ggdb
clang: error: no such file or directory: 'utils.o'
clang: error: no such file or directory: 'md5.o'
clang: error: no such file or directory: 'sha1.o'
clang: error: no such file or directory: 'utils.o'
clang: error: no such file or directory: 'sha1.o'
make: *** [cowpatty] Error 1
make: *** Waiting for unfinished jobs....
make: *** [genpmk] Error 1
==> Configuration
HOMEBREW_VERSION: 0.9.4
HEAD: bd9ea25f6fefe3c097f7692428f7939d5016286a
CPU: 8-core 64-bit ivybridge
OS X: 10.8.4-x86_64
Xcode: 4.6.3
CLT: 4.6.0.0.1.1362189000
X11: N/A
==> ENV
HOMEBREW_CC: clang
MAKEFLAGS: -j8
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
ACLOCAL_PATH: /usr/local/share/aclocal
OBJC: cc
PATH: /usr/local/Library/ENV/4.3:/usr/bin:/bin:/usr/sbin:/sbin
Error: cowpatty did not build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment