From: Nuralanur@... Date: 2006-05-19T17:06:19+09:00 Subject: Re: pcap library install on windows without c compiler -------------------------------1148025971 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit unknown wrote: > Does this help you ? > > _http://en.wikipedia.org/wiki/Pcap_ (http://en.wikipedia.org/wiki/Pcap) > > Best regards, > > Axel >Not really I need to use >require 'pcaplet' > but the ruby library for pcap requires that you make...make install to >install it. I don't have access to a c compiler. OK. The "./configure make..make install" installation process is something coming from Unix/Linux that doesn't have anything comparable to it in Windows, AFAIK. One convenient way to overcome that difficulty can be to install Cygwin on your Windows system. That's an attemp to bring Linux/Unix functionality to Windows. Go to: _http://www.cygwin.com/_ (http://www.cygwin.com/) . it should be sufficient that you download the setup.exe file from the website, which guides you through some Windows-typical setup process. If you have enough space on your computer, choose everything there is , if you have a limited amount of space, be sure to choose the developer tools, including the compiler 'gcc' and 'make', as well as, of course, Ruby. Then run the GUI installation. This will give you two icons on your desktop, named "Cygwin" and "Cygwin XFree86". Click any of these. This opens a console window. To install a package from source under Linux/Unix/Cygwin, you download the package package-version1.2.3.tar.gz to your computer, and best move it (under Windows) to the directory C:/cygwin/usr/local . Then, in the console, go to that directory: cd /usr/local (in Linux, the main path is named /, and Cygwin puts it at C:/cygwin), unpack and decompress it: gunzip package-version1.2.3.tar.gz tar xvf package-version1.2.3.tar . This creates a subdirectory for the software, C:/cygwin/usr/local/package-version1.2.3, now go there cd package-version1.2.3 and type in (notice the dot): ./configure make make install The last three command allow it to set up the software on many different machines which have their specialties, and therefore, you'll get a lot of output and in between the make and the make install, you'll probably have time to drink some coffee. It may also be necessary to set some properties for your particular software, decorating any of these last three commands with nice options. You can find these things in a file INSTALL or README that is in the C:/cygwin/usr/local/package-version1.2.3 directory. Best regards, Axel -------------------------------1148025971--