Subject: Re: [sup-talk] Problems installing Sup on OSX 10.6

From: Andrew Farrell <[email-masked]>
Date: Fri, 3 Jun 2011 18:40:06 -0700

I had this same error when trying to install it as a ruby gem.
I succeeded installing it from macports.
`sudo port install sup` should work.

-- Andrew Farrell

On Fri, Jun 3, 2011 at 2:16 PM, John Toohey <[email-masked]> wrote:

> Just found this project, but having difficulty installing Sup. On OSX
> I get the following :-
>
> ERROR:  Error installing sup:
>       ERROR: Failed to build gem native extension.
>
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
> extconf.rb
> checking for unistd.h... yes
> checking for locale.h... yes
> checking for ncurses.h... yes
> checking for wmove() in -lncursesw... no
> checking for wmove() in -lpdcurses... no
> *** extconf.rb failed ***
> Could not create Makefile due to some reason, probably lack of
> necessary libraries and/or headers.  Check the mkmf.log file for more
> details.  You may need configuration options.
>
> Provided configuration options:
>       --with-opt-dir
>       --without-opt-dir
>       --with-opt-include
>       --without-opt-include=${opt-dir}/include
>       --with-opt-lib
>       --without-opt-lib=${opt-dir}/lib
>       --with-make-prog
>       --without-make-prog
>       --srcdir=.
>       --curdir
>
> --ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
>       --with-ncurseswlib
>       --without-ncurseswlib
>       --with-pdcurseslib
>       --without-pdcurseslib
> extconf.rb:46: ncurses library not found (RuntimeError)
>
>
> Gem files will remain installed in
> /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.3 for inspection.
> Results logged to /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.3/gem_make.out
>
>
> Gem version is 1.3.5, and Ruby is ruby 1.8.7 (2009-06-12 patchlevel
> 174) [universal-darwin10.0]
>
> My /opt/local/lib has libncurses installed, but being new to Ruby, I
> am not sure how Ruby searches for libraries. Any help would be
> appreciated.
>
> --
> ~JT
> _______________________________________________
> sup-talk mailing list
> [email-masked]
> http://rubyforge.org/mailman/listinfo/sup-talk
>
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: John Toohey <[email-masked]>
Date: Fri, 3 Jun 2011 17:16:07 -0400

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb

---

From: John Toohey <[email-masked]>
Date: Sat, 4 Jun 2011 12:12:57 -0400

Got a lot further now. Is rb-fastthread something that I can install manually?

--->  Attempting to fetch fastthread-1.0.7.gem from http://ruby.inoack.com/gems/
--->  Verifying checksum(s) for rb-fastthread
Error: Checksum (md5) mismatch for fastthread-1.0.7.gem
Error: Checksum (sha1) mismatch for fastthread-1.0.7.gem
Error: Checksum (rmd160) mismatch for fastthread-1.0.7.gem
***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:
<http://trac.macports.org/wiki/MisbehavingServers>
***
Error: Target org.macports.checksum returned: Unable to verify file checksums
Error: Failed to install rb-fastthread
Log for rb-fastthread is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-fastthread/main.log
Error: The following dependencies were not installed: rb-fastthread
rb-ferret rb-gettext rb-locale rb-highline rb-lockfile rb-mime-types
rb-ncurses-ruby rb-net-ssh rb-rake rb-rmail rb-trollop
Error: Status 1 encountered during processing.

On Fri, Jun 3, 2011 at 21:40, Andrew Farrell <[email-masked]> wrote:
>> Results logged to
>> /Library/Ruby/Gems/1.8/gems/ncursesw-1.2.4.3/gem_make.out
>>
>>