[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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