Subject: Re: [sup-talk] problem gem installing 0.10.1

From: Anthony Martinez <[email-masked]>
Date: Thu, 11 Feb 2010 15:34:09 -0700

Excerpts from David L.Kaplan's message of Thu Feb 11 15:10:10 -0700 2010:
> I can gem uninstall and install sup 0.9 no sweat, but gem update sup, as well
> as gem install sup after uninstalling all sup gems, gives me the following
> error:
> 
> gem install sup
> Updating installed gems
> Updating sup
> Building native extensions.  This could take a while...
> ERROR:  Error installing sup:
>         ERROR: Failed to build gem native extension.
> 
> /usr/bin/ruby1.8 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

Sounds like you're missing libncursesw5-dev and/or libncurses5-dev. Try
installing both of those.

> Thanks for any help.

HTH
> Cheers,
> David

-- 
| |
\ /  Quantum  Junction
 I   Get in both lanes
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: David L.Kaplan <[email-masked]>
Date: Thu, 11 Feb 2010 17:10:10 -0500

I've been a happy user of sup for about a year and a half, since 0.6!  Thanks
to everyone for all the hard work!

I'm on Ubuntu Karmic Koala.  I have not switched from Ferret yet, but intend to
once 0.10 is installed.  I can gem uninstall and install sup 0.9 no sweat, but
gem update sup, as well as gem install sup after uninstalling all sup gems,
gives me the following error:

gem install sup
Updating installed gems
Updating sup

/usr/bin/ruby1.8 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=/usr/bin/ruby1.8
        --with-ncurseswlib
        --without-ncurseswlib
        --with-pdcurseslib
        --without-pdcurseslib
extconf.rb:46: ncurses library not found (RuntimeError)

Gem files will remain installed in /var/lib/gems/1.8/gems/ncursesw-1.2.4.1 for
inspection.
Results logged to /var/lib/gems/1.8/gems/ncursesw-1.2.4.1/gem_make.out
Nothing to update

I've tried installing ncurses and ncursesw gems.  I notice that there are
ncurses and ncursesw packages installed through aptitude as well.  I'm not
savvy enough to know what might be interfering with what.  I took one stab at
uninstalling ncurses-base through aptitude and aptitude told me that was stupid
and I better know what I'm doing!  All I really know is that all previous
versions installed and this one doesn't.

Thanks for any help.

Cheers,
David