sup-heliotrope / ncursesw-ruby

Ruby bindings to the ncursesw library (modified from: http://ncurses-ruby.berlios.de/)
GNU Lesser General Public License v2.1
22 stars 13 forks source link

Does not build on Debian 7.4 #26

Closed icefoxen closed 10 years ago

icefoxen commented 10 years ago

This gem does not build on Debian 7.4, it gives an error that it cannot find panel.h when trying to build the native extension.

Editing the extconf.rb file to add "-I/usr/include/ncursesw" to the cflags resolves this problem.

gauteh commented 10 years ago

Could you check if #27 fixes the issue as well?

icefoxen commented 10 years ago

It works after changing line 155 of extconf.rb to check for ncursesw/menu.h as well:

-if have_header("menu.h") +if have_header("menu.h") or have_header("ncursesw/menu.h")

Thanks!

gauteh commented 10 years ago

Also applied, and merged.