From: botp on
On Sun, Jul 25, 2010 at 11:24 PM, ara.t.howard <ara.t.howard(a)gmail.com> wrote:
>  nmap (reference ruby class which combines narray and mmap)

this uver cool, but i am lost. is that v 1.1.0 or 0.1.0?
do you have gem for this?
best regards -botp

From: ara.t.howard on
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


ps. as i've mentioned to nick/tom/eric - gem syncing is, and has
been, broken ever since the move to gemcutter. i think i'm the only
one who seems to notice/care - but it's never worked and many, many
gems, including this one, have been orphaned since then or, worse,
stale versions are being served.



cfp:~ > gem list|grep nmap
nmap (1.1.0, 1.0.0)


cfp:~ > gem list --remote|grep nmap
nmap (0.1.0)
...


fyi.



On Jul 25, 10:17 am, botp <botp...(a)gmail.com> wrote:
> On Sun, Jul 25, 2010 at 11:24 PM, ara.t.howard <ara.t.how...(a)gmail.com> wrote:
> >  nmap (reference ruby class which combines narray and mmap)
>
> this uver cool, but i am lost. is that v 1.1.0 or 0.1.0?
> do you have gem for this?
> best regards -botp

From: Joel VanderWerf on
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?