From: Joel VanderWerf Date: 2010-07-28T07:49:00+09:00 Subject: Re: nmap-1.1.0 ara.t.howard wrote: > eeks. it's 1.1.0 > > http://github.com/ahoward/nmap > > the gem is here (search for 'nmap' on the page) > > http://rubyforge.org/frs/?group_id=1024&release_id=44198 Any idea why narray.h doesn't get found (or more to the point, why the narray header dir doesn't get put on the include path)? This is via "gem install na_str-0.1.0.gem", with the gem downloaded from the above link: Makefile:134: warning: overriding commands for target `/usr/local/lib/ruby/gems/1.8/gems/na_str-0.1.0/lib' Makefile:132: warning: ignoring old commands for target `/usr/local/lib/ruby/gems/1.8/gems/na_str-0.1.0/lib' gcc -I. -I/usr/local/lib/ruby/1.8/x86_64-linux -I/usr/local/lib/ruby/1.8/x86_64-linux -I. -fPIC -g -O2 -I /usr/local/lib/ruby/site_ruby/1.8/x86_64-linux -c na_str.c na_str.c:3:20: error: narray.h: No such file or directory na_str.c:4:27: error: narray_config.h: No such file or directory The extconf.rb assumes that narray is in sitearchdir, but my narray is installed as a gem and its headers are at: /usr/local/lib/ruby/gems/1.8/gems/narray-0.5.9.7/narray.h /usr/local/lib/ruby/gems/1.8/gems/narray-0.5.9.7/src/narray.h Does anyone know how to tell extconf to look for headers in the gem dirs?