je comprends pas tt !!!
ruby s’appuie sur du C?
et ou on met les libréries???
je les ai mis ici : “C:\Program Files\ruby\lib\pcap”
et enfin les lib doivent avoir quelles extentisions ? .h .xaml .rb ???
sinon le log mkmf.log donne ca
merci d’avance
have_library: checking for socket() in socket.lib…
-------------------- no
“cl -nologo -Feconftest -I. -I"C:/Program
Files/ruby/lib/ruby/1.8/i386-mswin32” -ID:/temp pcap/pcap/pcap
-I"C:/Program Files/ruby/lib/ruby/1.8/i386-mswin32"
-I/usr/local/include conftest.c msvcrt-ruby18-static.lib socket.lib
oldnames.lib user32.lib advapi32.lib ws2_32.lib -link -L/usr/local/lib
-libpath:“C:/Program Files/ruby/lib” -stack:0x2000000"
checked program was:
/* begin /
1: #define WIN32_LEAN_AND_MEAN
2: #include <winsock2.h>
3: #include <windows.h>
4:
5: /top/
6: int main() { return 0; }
7: int t() { void ((volatile p)()); p = (void (()()))socket; return 0;
}
/ end */
“cl -nologo -Feconftest -I. -I"C:/Program
Files/ruby/lib/ruby/1.8/i386-mswin32” -ID:/temp pcap/pcap/pcap
-I"C:/Program Files/ruby/lib/ruby/1.8/i386-mswin32"
-I/usr/local/include conftest.c msvcrt-ruby18-static.lib socket.lib
oldnames.lib user32.lib advapi32.lib ws2_32.lib -link -L/usr/local/lib
-libpath:“C:/Program Files/ruby/lib” -stack:0x2000000"
checked program was:
/* begin /
1: /top/
2: int main() { return 0; }
3: int t() { socket(); return 0; }
/ end */
have_library: checking for gethostbyname() in xnet.lib…
-------------------- no
“cl -nologo -Feconftest -I. -I"C:/Program
Files/ruby/lib/ruby/1.8/i386-mswin32” -ID:/temp pcap/pcap/pcap
-I"C:/Program Files/ruby/lib/ruby/1.8/i386-mswin32"
-I/usr/local/include conftest.c msvcrt-ruby18-static.lib xnet.lib
oldnames.lib user32.lib advapi32.lib ws2_32.lib -link -L/usr/local/lib
-libpath:“C:/Program Files/ruby/lib” -stack:0x2000000"
checked program was:
/* begin /
1: #define WIN32_LEAN_AND_MEAN
2: #include <winsock2.h>
3: #include <windows.h>
4:
5: /top/
6: int main() { return 0; }
7: int t() { void ((volatile p)()); p = (void (()()))gethostbyname;
return 0; }
/ end */
“cl -nologo -Feconftest -I. -I"C:/Program
Files/ruby/lib/ruby/1.8/i386-mswin32” -ID:/temp pcap/pcap/pcap
-I"C:/Program Files/ruby/lib/ruby/1.8/i386-mswin32"
-I/usr/local/include conftest.c msvcrt-ruby18-static.lib xnet.lib
oldnames.lib user32.lib advapi32.lib ws2_32.lib -link -L/usr/local/lib
-libpath:“C:/Program Files/ruby/lib” -stack:0x2000000"
checked program was:
/* begin /
1: /top/
2: int main() { return 0; }
3: int t() { gethostbyname(); return 0; }
/ end */
have_func: checking for hstrerror()… -------------------- no
“cl -nologo -Feconftest -I. -I"C:/Program
Files/ruby/lib/ruby/1.8/i386-mswin32” -ID:/temp pcap/pcap/pcap
-I"C:/Program Files/ruby/lib/ruby/1.8/i386-mswin32"
-I/usr/local/include conftest.c msvcrt-ruby18-static.lib oldnames.lib
user32.lib advapi32.lib ws2_32.lib -link -L/usr/local/lib
-libpath:“C:/Program Files/ruby/lib” -stack:0x2000000"
checked program was:
/* begin /
1: #define WIN32_LEAN_AND_MEAN
2: #include <winsock2.h>
3: #include <windows.h>
4:
5: /top/
6: int main() { return 0; }
7: int t() { void ((volatile p)()); p = (void (()()))hstrerror; return
0; }
/ end */
“cl -nologo -Feconftest -I. -I"C:/Program
Files/ruby/lib/ruby/1.8/i386-mswin32” -ID:/temp pcap/pcap/pcap
-I"C:/Program Files/ruby/lib/ruby/1.8/i386-mswin32"
-I/usr/local/include conftest.c msvcrt-ruby18-static.lib oldnames.lib
user32.lib advapi32.lib ws2_32.lib -link -L/usr/local/lib
-libpath:“C:/Program Files/ruby/lib” -stack:0x2000000"
checked program was:
/* begin /
1: /top/
2: int main() { return 0; }
3: int t() { hstrerror(); return 0; }
/ end */
have_header: checking for pcap.h… -------------------- no
“cl -nologo -E -I. -I"C:/Program Files/ruby/lib/ruby/1.8/i386-mswin32”
-ID:/temp pcap/pcap/pcap -I/usr/local/include conftest.c -P"
checked program was:
/* begin /
1: #include <pcap.h>
/ end */