Skip to content

Instantly share code, notes, and snippets.

@chambbj
Created March 30, 2012 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chambbj/2252338 to your computer and use it in GitHub Desktop.
Save chambbj/2252338 to your computer and use it in GitHub Desktop.
Loki Homebrew issues
require 'formula'
class Loki < Formula
url 'http://downloads.sourceforge.net/project/loki-lib/Loki/Loki%200.1.7/loki-0.1.7.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Floki-lib%2Ffiles%2FLoki%2FLoki%25200.1.7%2F&ts=1333050366&use_mirror=softlayer'
homepage 'http://loki-lib.sourceforge.net/index.php?n=Main.HomePage'
md5 '8261e83cf2c904fd915823336e7116bd'
version '0.1.7'
def install
system "make" # Separate steps or install fails
system "make install"
end
end
@chambbj
Copy link
Author

chambbj commented Mar 30, 2012

Bradleys-MacBook-Pro:local bchambers$ brew doctor

Warning: You have Xcode 4.2, which is outdated.
Please install Xcode 4.3.
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
/usr/local/lib/libpdal.0.dylib /usr/local/lib/libpdal_plugin_reader_bpf.0.1.0.dylib
Warning: Some installed formula are missing dependencies.
You should brew install the missing dependencies:

brew install libusb

Run brew missing for more details.
Bradleys-MacBook-Pro:local bchambers$ brew edit loki
Bradleys-MacBook-Pro:local bchambers$ brew doctor

Warning: You have Xcode 4.2, which is outdated.
Please install Xcode 4.3.
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
/usr/local/lib/libpdal.0.dylib /usr/local/lib/libpdal_plugin_reader_bpf.0.1.0.dylib
Warning: Some installed formula are missing dependencies.
You should brew install the missing dependencies:

brew install libusb

Run brew missing for more details.

@chambbj
Copy link
Author

chambbj commented Mar 30, 2012

Bradleys-MacBook-Pro:local bchambers$ brew install loki
Warning: You have Xcode 4.2, which is outdated.
Please install Xcode 4.3.
==> Downloading http://downloads.sourceforge.net/project/loki-lib/Loki/Loki%200.1.7/loki-0.1.7.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Floki-lib%2Ffiles%2FLoki%2FLoki%2520
Already downloaded: /Library/Caches/Homebrew/loki-0.1.7.7%2F&ts=1333050366&use_mirror=softlayer
==> make
==> make install
make -C src install-static
mkdir -p /usr/lib
install -m 644 ../lib/libloki.a /usr/lib
install: /usr/lib/libloki.a: Permission denied
make[1]: *** [install-static] Error 71
make: *** [install] Error 2
==> Build Environment
CPU: 8-core 64-bit sandybridge
MacOS: 10.7.3-x86_64
Xcode: 4.2
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -Os -w -pipe -march=core2 -msse4
CXXFLAGS: -Os -w -pipe -march=core2 -msse4
MAKEFLAGS: -j8
Error: Failed executing: make install (loki.rb:11)
If `brew doctor' does not help diagnose the issue, please report the bug:
https://github.com/mxcl/homebrew/wiki/reporting-bugs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment