From: Cliff Rosson Date: 2012-01-20T08:22:28+09:00 Subject: Installing PCAP Hi everyone. I have been having issues installing a few gems. PCAP is one of them. I'll admit that my troubleshooting abilities are probably not as up to par as some of the other folks here. Programing and ruby are a side hobby. I have much to learn. Here is the error I get when installing pcap C:\Ruby193\include\ruby-1.9.1\i386-mingw32>gem install pcap Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing pcap: ERROR: Failed to build gem native extension. C:/Ruby193/bin/ruby.exe extconf.rb checking for socket() in -lsocket... no checking for gethostbyname() in -lxnet... no checking for hstrerror()... no checking for pcap.h... 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. Clearly I am missing some libraries but I not know how to get these nor do I know where they should be located when attempting to install pcap. Even when trying to override the WinCap header and library locations it fails. If I make a new extconf.rb, extconf_a.rb, and hardcode the Pcap header and library folders the message, "checking for pcap.h" succeeds but the other checks continue to fail and Make as well fails. Does anyone have any thoughts? -- Posted via http://www.ruby-forum.com/.