-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
htop-osx error #12081
Comments
Please report this to htop-osx (this is a fork of htop). |
Just fixed by #12083. |
Something about compiling with Clang is causing an abort when resizing the terminal window. |
I see this now when resizing; it appears to be an optimization issue, as this patch fixes it for me: diff --git a/Library/Formula/htop-osx.rb b/Library/Formula/htop-osx.rb
index aa0bf8c..e61f84c 100644
--- a/Library/Formula/htop-osx.rb
+++ b/Library/Formula/htop-osx.rb
@@ -8,6 +8,7 @@ class HtopOsx < Formula
depends_on "automake" => :build if MacOS.xcode_version.to_f >= 4.3
def install
+ ENV.no_optimization if ENV.compiler == :clang
system "./autogen.sh"
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make", "install", "DEFAULT_INCLUDES='-iquote .'" |
This issue is still present with $ brew --config ~/Documents/Titanium_Studio_Workspace
HOMEBREW_VERSION: 0.9.3
HEAD: cee85750076b3ea47ec69cc8a02542eb3ee7c372
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit penryn
OS X: 10.8.1-x86_64
Xcode: 4.4.1
CLT: 4.4.0.0.1.1249367152
LLVM-GCC: build 2336
Clang: 4.0 build 421
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 |
Found this if it's any use? |
Given that the bug has been open upstream for a year, looks like it is no longer being maintained. |
A pull request to fix the bug was merged a year ago, but the issue was left dangling: AndyA/htop-osx#5 |
I have this issue on Mountain Lion 10.8.2, |
sirdharma's suggenstion ( #12081 (comment) ) works for me (ML 10.8.2 / i7 / Early 2011) as well! |
sirdharma's fix worked for me as well. |
I just installed htop-osx and I got
htop 0.8.2.1 aborted. Please report bug at http://htop.sf.net
while trying to run htop. Using Xcode 4.3.2 and Mac OS X Lion.The text was updated successfully, but these errors were encountered: