-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
valgrind doesn't install properly #2150
Comments
Can you post your "brew --config"? Also, Snow Leopard support for this is VERY preliminary and not at all guaranteed to work. |
HOMEBREW_VERSION: 0.7 HEAD: 8601eae3b72c9d475a7832c654313cad0da3c6fc HOMEBREW_PREFIX: /usr/local HOMEBREW_CELLAR: /usr/local/Cellar HOMEBREW_CACHE: /Users/kent/Library/Caches/Homebrew HOMEBREW_REPOSITORY: /usr/local HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew Hardware: dual-core 64-bit penryn OS X: 10.6.4 Kernel Architecture: i386 Ruby: 1.8.7-174 GCC-4.0: build 5494 (5493 or newer recommended) GCC-4.2: build 5664 (5659 or newer recommended) LLVM: build 2326 (2207 or newer recommended) MacPorts or Fink? false X11 installed? true |
This also occurs on 10.5.8. Running valgrind
Brew Config
Contents of Valgrind library
|
I was looking into this... The required fix is:
This is due to the following part of code in valgrind. We check that the vgpreload_core-* have execute perissions.
|
Tweaked in 9779ff5 Probably want to remove your cached download before trying agin... |
Same problem. It looks like homebrew is chmodding the libraries after make install. Is that possible?
|
Yeh, sharth has hit the problem here. Adam, how do we tell Homebrew to either not do that or fix it afterwards? |
You can use "skip_clean" to prevent Homebrew from changing mods on files; I had to do that in the "resty" formula since some of the scripts don't have #! lines. (We could add .so to the list of known extensions, and treat them like .dylib, if we had to.) |
How are dylibs treated? Libraries are normally non-executable, this is a strange exception I'd say. skip_clean sounds like a good solution to me if it does to you. |
Er, I misread part of this thread, but the "skip_clean" comment still stands. Please test w/ this commit: http://github.com/adamv/homebrew/commit/866e227e2aaf69c7e59fbfd0752c8e08998a07c3 I don't have time to compile and test valgrind + boost at the moment. |
Added skip_clean for the lib directory, fixed the issue, closing. |
Sorry Adam, I only just saw your comment after committing my own. Let me know if you think it needs changed: |
I know this issue is closed, but I found the same problem. (Mac OS 10.6.4, Homebrew 0.7, Valgrind 3.6-pre.) Sharth's "chmod +x" fix got it working. Brew config: brew --config |
Hmm, are you sure? Can you try uninstalling and reinstalling? |
I tried on another machine and everything worked just fine. (Same OS, Brew, and Valgrind versions.) Here's the config in case you're interested: OMEBREW_VERSION: 0.7 |
Can't install on Lion 10.7.4 . Undefined symbols for architecture x86_64: |
@aspcartman I've taken this issue that you mention and created it's own bug for it: #13042 Normally, please create a new bug rather than opening up an unrelated bug from 2 years ago. |
This reverts commit 24a9737. This line was originally to fix Homebrew#2150 which it breaks again. Fixes Homebrew#15620.
After installing valgrind:
I'm on Mac OS X 10.6.4
The text was updated successfully, but these errors were encountered: