Given the other thread on how ncursesw cures those odd character strings, I''ve revisited this myself and I wonder if I could get suggestions.>>>>user at computer:$ sudo gem install ncursesw Building native extensions. This could take a while... ERROR: Error installing ncursesw: 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 *** 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. <<<< Can anyone tell me where mkmf.log will be? Not in the directory where I ran gem install. I''m on Ubuntu 9.04 -- is that the problem? -- It is easier for a camel to pass through the eye of a needle if it is lightly greased. -- Kehlog Albran, "The Profit" -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20101110/d757cae0/attachment.bin>
Reformatted excerpts from Shadowfirebird''s message of 2010-11-10:> /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. > <<<< > > Can anyone tell me where mkmf.log will be? Not in the directory where > I ran gem install.I''m not sure where mkmf.log is (I think newer versions of Rubygems are better about telling you) but the above messages are the clue that you need to apt-get install libncursesw-dev or something like it. -- William <wmorgan-sup at masanjin.net>
Excerpts from Shadowfirebird''s message of Wed Nov 10 07:07:40 -0500 2010:> Can anyone tell me where mkmf.log will be? Not in the directory where I ran gem install.If you run ''gem env'' you''ll see something like this: ... - GEM PATHS: - /var/lib/gems/1.8 ... Then in that directory you''ll see a directory called ''gems'' that will contain the source directories for the various gems. mkmf.log should be in the directory containing the failing gem. If you look at the log, there will often be a clue pointing to a missing header file or library. To fix this, you''ll typically have to install some kind of development library. For example, on Ubuntu, if you''re getting failures installing the ncursesw gem, you''ll probably have to install the libncursesw5-dev package. You can find a list of candidate packages by doing ''aptitude search ncursesw''.