Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Problems installing Sup on OSX 10.6
@ 2011-06-03 21:16 John Toohey
  2011-06-04  1:40 ` Andrew Farrell
  0 siblings, 1 reply; 3+ messages in thread
From: John Toohey @ 2011-06-03 21:16 UTC (permalink / raw)
  To: sup-talk

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
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [sup-talk] Problems installing Sup on OSX 10.6
  2011-06-03 21:16 [sup-talk] Problems installing Sup on OSX 10.6 John Toohey
@ 2011-06-04  1:40 ` Andrew Farrell
  2011-06-04 16:12   ` John Toohey
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Farrell @ 2011-06-04  1:40 UTC (permalink / raw)
  To: John Toohey; +Cc: sup-talk


[-- Attachment #1.1: Type: text/plain, Size: 2059 bytes --]

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 <jt@parspro.com> 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
> sup-talk@rubyforge.org
> http://rubyforge.org/mailman/listinfo/sup-talk
>

[-- Attachment #1.2: Type: text/html, Size: 2685 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [sup-talk] Problems installing Sup on OSX 10.6
  2011-06-04  1:40 ` Andrew Farrell
@ 2011-06-04 16:12   ` John Toohey
  0 siblings, 0 replies; 3+ messages in thread
From: John Toohey @ 2011-06-04 16:12 UTC (permalink / raw)
  To: Andrew Farrell; +Cc: sup-talk

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 <afarrell@mit.edu> wrote:
> 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 <jt@parspro.com> 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
>> sup-talk@rubyforge.org
>> http://rubyforge.org/mailman/listinfo/sup-talk
>
>
> _______________________________________________
> sup-talk mailing list
> sup-talk@rubyforge.org
> http://rubyforge.org/mailman/listinfo/sup-talk
>
>



-- 
~JT
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-04 17:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-03 21:16 [sup-talk] Problems installing Sup on OSX 10.6 John Toohey
2011-06-04  1:40 ` Andrew Farrell
2011-06-04 16:12   ` John Toohey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox