can't install gource #22025
Comments
Please read this guide and post the logs it requests. Thanks! |
I get the same error
|
Neither of you have provided the output of |
Here you go https://gist.github.com/warmwaffles/6297046 |
Thanks! |
@adamv I didn't mean to be a dick but the wiki does not mention to https://github.com/mxcl/homebrew/wiki/troubleshooting The only thing that hints at verbose is |
I went ahead and added it to the wiki. |
|
Right, but the wiki had in the very beginning:
Which is what I went to the wiki for, got the information I needed and left. I fixed that problem now. |
Ah, thanks for improving the instructions. |
This doesn't compile on 10.6.8 due to needing c++11, but it does get past the GLEW check on Snow Leopard. |
I am getting an alternate build failure:
|
All I can think of for the reported issue is that I have X11 installed and the reporter doesn't; though presumably getting past the GLEW issue would just land at these other ones. |
My trouble: Package 'glu', required by 'glew', not found https://gist.github.com/holys/6419592 brew --config
|
Can someone with this issue please gist the corresponding config.log? Thanks! |
@jacknagel Here ya go https://gist.github.com/6426391 |
Okay, this appears to be the result of some incorrectness on the part of glew's pkgconfig file, which contains If I apply this: diff --git a/Library/Formula/glew.rb b/Library/Formula/glew.rb
index 32bdd87..7a59ab7 100644
--- a/Library/Formula/glew.rb
+++ b/Library/Formula/glew.rb
@@ -6,6 +6,7 @@ class Glew < Formula
sha1 'f41b45ca4a630ad1d00b8b87c5f493781a380300'
def install
+ inreplace 'glew.pc.in', 'Requires: glu', ''
system "make", "GLEW_DEST=#{prefix}", "all"
system "make", "GLEW_DEST=#{prefix}", "install.all"
end to glew.rb, and reinstall glew, then configuring gource succeeds. I don't understand the dependencies (i.e. glew/glu/opengl/etc) well enough to suggest something to upstream, but perhaps it is enough for our purposes. |
@jacknagel This worked for me. Thank you! |
@jacknagel how to reinstall glew? build from source or |
brew uninstall glew Change the brew.rb brew install glew
|
@marclennox worked for me . Thank you ! btw, it seems your typo, not |
Yes correct. Sorry. :)
|
glew adds "Requires: glu" to glew.pc, even though on fresh OS X installs there will not be a glu.pc anywhere on the system (but the library itself is in the system's OpenGL framework). The requirement will actually be satisfied if XQuartz is installed, but it's only a coincidence. So I'm removing this, which should allow gource to build on systems without XQuartz. *shrug* Fixes Homebrew#22025.
I had gource fail to build with the same error message. Reinstalling glew fixed the problem for me. |
I want to install gource, so i do as follows
$ brew --config
$ brew install gource
Result
lifuleitekiMacBook-Air:~ cow$ brew --config
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew
HEAD: 8acc7e6
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit ivybridge
OS X: 10.8.4-x86_64
Xcode: 4.6.3
CLT: 4.6.0.0.1.1365549073
GCC-4.2: build 5666
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: /Users/cow/.rvm/rubies/ruby-2.0.0-p247/bin/ruby
lifuleitekiMacBook-Air:~ cow$ brew install gource
==> Downloading http://gource.googlecode.com/files/gource-0.40.tar.gz
Already downloaded: /Library/Caches/Homebrew/gource-0.40.tar.gz
==> ./configure --prefix=/usr/local/Cellar/gource/0.40 --disable-sdltest --without-x --disable-freetypetest
Alternatively, you may set the environment variables GLEW_CFLAGS
and GLEW_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
These open issues may also help:
#20100
what should i do?
The text was updated successfully, but these errors were encountered: