Created
March 30, 2012 15:39
-
-
Save chambbj/2252338 to your computer and use it in GitHub Desktop.
Loki Homebrew issues
This file contains 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
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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