Yes. Everything appears to work!


irb(main):008:0> Pcap.singleton_methods.sort
=> [:lookupdev, :lookupnet, :new, :open_dead, :open_live, :open_offline, 
:versio
n]
irb(main):009:0> require 'packetfu'
=> true
irb(main):010:0> Packetfu::VERSION
NameError: uninitialized constant Object::Packetfu
        from (irb):10
        from C:/Ruby192/bin/irb:12:in `<main>'
irb(main):011:0> PacketFu::VERSION
=> "1.1.5"
irb(main):012:0> PacketFu.pcaprub_loaded
NoMethodError: undefined method `pcaprub_loaded' for PacketFu:Module
        from (irb):12
        from C:/Ruby192/bin/irb:12:in `<main>'
irb(main):013:0> PacketFu.pcaprub_loaded?
=> true
irb(main):014:0>


Can you help me what you did in these two statements:

    $CFLAGS << " -DWIN32 -I#{pcap_includedir}"
    $LDFLAGS << " -L#{pcap_libdir}"

Which I assume is what ultimately fixed the issue?

-- 
Posted via http://www.ruby-forum.com/.