ruby-core:13961$B$G$NLdBj(B(Error while bulding Ruby 1.9 from snapshot 2007/12/09)

e$BLZB<$G$9!#e(B

At Mon, 10 Dec 2007 05:33:48 +0900,
Wolfgang Nadasi-Donner wrote in [ruby-core:13961]:

e$B$G!"e(Bptye$B$N3HD%%i%$%V%i%j$,Mm$s$G%S%k%I$,$G$-$J$$$H$$$&Js9p$,=P$F$^$9$,!"e(B
e$B<+J,$N$H$3$m$G$bF1$88=>]$,=P$F$^$9!#e(B

e$B$J$+$@$5$s$,e(B mkmf.log e$B$r8+$;$F$/$l$H$$$&%a!<%k$rEj$2$F$^$9e(B()
e$B$,!"%3%s%Q%$%i$,F|K\8l$r4^$s$@%a%C%;!<%8$rEG$/$N$H!"E:IU%U%!%$%k$H$7$Fe(B
e$BEj9F$9$k$3$H$,$G$-$J$$$N$GD>@\E=$jIU$1$Fe(B
ruby-deve$B$KEj9F$7$^$9!#e(B
#e$B0l1~e(B ruby-deve$B$KE=$jIU$1$?;]e(B
ruby-coree$B$K$bEj$2$k$D$b$j$G$9e(B

e$B@h=5$N6bMKF|$N;~E@$N%=!<%9$OLdBj$J$/%S%k%I$G$-$F$$$^$9e(B(ptye$BEy$Ne(B
e$B%$%s%9%H!<$d%"%s%$%s%9%H!<%k$O$7$F$$$^$;$se(B)e$B!#e(B

e$B0l1~4D6-$r=q$$$F$*$/$H!"e(B

Windows 2000
Visual C++ 7.1

e$B$G$9!#e(B
e$B;H$C$?%=!<%9$O:#D+$N;~E@$G$Ne(B snapshote$B$G$9!#e(B

200e$B9T$[$I$"$j$^$9$,!"L>c$j$K46$8$?J}$,$$$i$7$?$i$4$a$s$J$5$$!#e(B

have_header: checking for sys/stropts.h… -------------------- no

“cl -nologo -E -I…/…/.ext/include/i386-mswin32_71 -I…/…/./…/include
-I…/…/./…/ext/pty -MD -Zi -O2b2xg- -G6 conftest.c -P”
conftest.c
conftest.c(1) : fatal error C1083: e$B%$%s%/%k!<%Ie(B
e$B%U%!%$%k$r3+$1$^$;$s!#e(B’sys/stropts.h’: No such file or directory
checked program was:
/* begin /
1: #include <sys/stropts.h>
/
end */


have_func: checking for setresuid()… -------------------- no

“cl -nologo -Feconftest -I…/…/.ext/include/i386-mswin32_71
-I…/…/./…/include -I…/…/./…/ext/pty -I…/…/./…/include -MD -Zi
-O2b2xg- -G6 conftest.c msvcr71-ruby19-static.lib oldnames.lib
user32.lib advapi32.lib shell32.lib ws2_32.lib -link -libpath:”."
-libpath:"…/…" -stack:0x200000"
conftest.c
conftest.c(8) : error C2065: ‘setresuid’ :
e$BDj5A$5$l$F$$$J$$<1JL;R$G$9!#e(B
checked program was:
/* begin /
1: #define WIN32_LEAN_AND_MEAN
2: #define WIN32
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /top/
7: int main() { return 0; }
8: int t() { void ((volatile p)()); p = (void (()()))setresuid; return
0; }
/
end */

“cl -nologo -Feconftest -I…/…/.ext/include/i386-mswin32_71
-I…/…/./…/include -I…/…/./…/ext/pty -I…/…/./…/include -MD -Zi
-O2b2xg- -G6 conftest.c msvcr71-ruby19-static.lib oldnames.lib
user32.lib advapi32.lib shell32.lib ws2_32.lib -link -libpath:”."
-libpath:"…/…" -stack:0x200000"
conftest.c
conftest.obj : error LNK2019: e$BL$2r7h$N30It%7%s%%ke(B _setresuid
e$B$,4X?te(B _t e$B$G;2>H$5$l$^$7$?!#e(B
conftest.exe : fatal error LNK1120: e$B30It;2>He(B 1
e$B$,L$2r7h$G$9!#e(B
checked program was:
/* begin /
1: /top/
2: int main() { return 0; }
3: int t() { setresuid(); return 0; }
/
end */


have_header: checking for libutil.h… -------------------- no

“cl -nologo -E -I…/…/.ext/include/i386-mswin32_71 -I…/…/./…/include
-I…/…/./…/ext/pty -MD -Zi -O2b2xg- -G6 conftest.c -P”
conftest.c
conftest.c(1) : fatal error C1083: e$B%$%s%/%k!<%Ie(B
e$B%U%!%$%k$r3+$1$^$;$s!#e(B’libutil.h’: No such file or directory
checked program was:
/* begin /
1: #include <libutil.h>
/
end */


have_header: checking for pty.h… -------------------- no

“cl -nologo -E -I…/…/.ext/include/i386-mswin32_71 -I…/…/./…/include
-I…/…/./…/ext/pty -MD -Zi -O2b2xg- -G6 conftest.c -P”
conftest.c
conftest.c(1) : fatal error C1083: e$B%$%s%/%k!<%Ie(B
e$B%U%!%$%k$r3+$1$^$;$s!#e(B’pty.h’: No such file or directory
checked program was:
/* begin /
1: #include <pty.h>
/
end */


have_library: checking for openpty() in util.lib… --------------------
no

“cl -nologo -Feconftest -I…/…/.ext/include/i386-mswin32_71
-I…/…/./…/include -I…/…/./…/ext/pty -I…/…/./…/include -MD -Zi
-O2b2xg- -G6 conftest.c msvcr71-ruby19-static.lib util.lib
oldnames.lib user32.lib advapi32.lib shell32.lib ws2_32.lib -link
-libpath:”." -libpath:"…/…" -stack:0x200000"
conftest.c
conftest.c(8) : error C2065: ‘openpty’ :
e$BDj5A$5$l$F$$$J$$<1JL;R$G$9!#e(B
checked program was:
/* begin /
1: #define WIN32_LEAN_AND_MEAN
2: #define WIN32
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /top/
7: int main() { return 0; }
8: int t() { void ((volatile p)()); p = (void (()()))openpty; return
0; }
/
end */

“cl -nologo -Feconftest -I…/…/.ext/include/i386-mswin32_71
-I…/…/./…/include -I…/…/./…/ext/pty -I…/…/./…/include -MD -Zi
-O2b2xg- -G6 conftest.c msvcr71-ruby19-static.lib util.lib
oldnames.lib user32.lib advapi32.lib shell32.lib ws2_32.lib -link
-libpath:”." -libpath:"…/…" -stack:0x200000"
conftest.c
LINK : fatal error LNK1104: e$B%3%s%Q%$%i$O!"%U%!%$%ke(B ‘util.lib’
e$B$r3+$/$3$H$,$G$-$^$;$s!#e(B
checked program was:
/* begin /
1: /top/
2: int main() { return 0; }
3: int t() { openpty(); return 0; }
/
end */


have_func: checking for openpty()… -------------------- no

“cl -nologo -Feconftest -I…/…/.ext/include/i386-mswin32_71
-I…/…/./…/include -I…/…/./…/ext/pty -I…/…/./…/include -MD -Zi
-O2b2xg- -G6 conftest.c msvcr71-ruby19-static.lib oldnames.lib
user32.lib advapi32.lib shell32.lib ws2_32.lib -link -libpath:”."
-libpath:"…/…" -stack:0x200000"
conftest.c
conftest.c(8) : error C2065: ‘openpty’ :
e$BDj5A$5$l$F$$$J$$<1JL;R$G$9!#e(B
checked program was:
/* begin /
1: #define WIN32_LEAN_AND_MEAN
2: #define WIN32
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /top/
7: int main() { return 0; }
8: int t() { void ((volatile p)()); p = (void (()()))openpty; return
0; }
/
end */

“cl -nologo -Feconftest -I…/…/.ext/include/i386-mswin32_71
-I…/…/./…/include -I…/…/./…/ext/pty -I…/…/./…/include -MD -Zi
-O2b2xg- -G6 conftest.c msvcr71-ruby19-static.lib oldnames.lib
user32.lib advapi32.lib shell32.lib ws2_32.lib -link -libpath:”."
-libpath:"…/…" -stack:0x200000"
conftest.c
conftest.obj : error LNK2019: e$BL$2r7h$N30It%7%s%%ke(B _openpty
e$B$,4X?te(B _t e$B$G;2>H$5$l$^$7$?!#e(B
conftest.exe : fatal error LNK1120: e$B30It;2>He(B 1
e$B$,L$2r7h$G$9!#e(B
checked program was:
/* begin /
1: /top/
2: int main() { return 0; }
3: int t() { openpty(); return 0; }
/
end */


have_func: checking for _getpty()… -------------------- no

“cl -nologo -Feconftest -I…/…/.ext/include/i386-mswin32_71
-I…/…/./…/include -I…/…/./…/ext/pty -I…/…/./…/include -MD -Zi
-O2b2xg- -G6 conftest.c msvcr71-ruby19-static.lib oldnames.lib
user32.lib advapi32.lib shell32.lib ws2_32.lib -link -libpath:”."
-libpath:"…/…" -stack:0x200000"
conftest.c
conftest.c(8) : error C2065: ‘_getpty’ :
e$BDj5A$5$l$F$$$J$$<1JL;R$G$9!#e(B
checked program was:
/* begin /
1: #define WIN32_LEAN_AND_MEAN
2: #define WIN32
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /top/
7: int main() { return 0; }
8: int t() { void ((volatile p)()); p = (void (()()))_getpty; return
0; }
/
end */

“cl -nologo -Feconftest -I…/…/.ext/include/i386-mswin32_71
-I…/…/./…/include -I…/…/./…/ext/pty -I…/…/./…/include -MD -Zi
-O2b2xg- -G6 conftest.c msvcr71-ruby19-static.lib oldnames.lib
user32.lib advapi32.lib shell32.lib ws2_32.lib -link -libpath:”."
-libpath:"…/…" -stack:0x200000"
conftest.c
conftest.obj : error LNK2019: e$BL$2r7h$N30It%7%s%%ke(B __getpty
e$B$,4X?te(B _t e$B$G;2>H$5$l$^$7$?!#e(B
conftest.exe : fatal error LNK1120: e$B30It;2>He(B 1
e$B$,L$2r7h$G$9!#e(B
checked program was:
/* begin /
1: /top/
2: int main() { return 0; }
3: int t() { _getpty(); return 0; }
/
end */


have_func: checking for ptsname()… -------------------- no

“cl -nologo -Feconftest -I…/…/.ext/include/i386-mswin32_71
-I…/…/./…/include -I…/…/./…/ext/pty -I…/…/./…/include -MD -Zi
-O2b2xg- -G6 conftest.c msvcr71-ruby19-static.lib oldnames.lib
user32.lib advapi32.lib shell32.lib ws2_32.lib -link -libpath:”."
-libpath:"…/…" -stack:0x200000"
conftest.c
conftest.c(8) : error C2065: ‘ptsname’ :
e$BDj5A$5$l$F$$$J$$<1JL;R$G$9!#e(B
checked program was:
/* begin /
1: #define WIN32_LEAN_AND_MEAN
2: #define WIN32
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /top/
7: int main() { return 0; }
8: int t() { void ((volatile p)()); p = (void (()()))ptsname; return
0; }
/
end */

“cl -nologo -Feconftest -I…/…/.ext/include/i386-mswin32_71
-I…/…/./…/include -I…/…/./…/ext/pty -I…/…/./…/include -MD -Zi
-O2b2xg- -G6 conftest.c msvcr71-ruby19-static.lib oldnames.lib
user32.lib advapi32.lib shell32.lib ws2_32.lib -link -libpath:”."
-libpath:"…/…" -stack:0x200000"
conftest.c
conftest.obj : error LNK2019: e$BL$2r7h$N30It%7%s%%ke(B _ptsname
e$B$,4X?te(B _t e$B$G;2>H$5$l$^$7$?!#e(B
conftest.exe : fatal error LNK1120: e$B30It;2>He(B 1
e$B$,L$2r7h$G$9!#e(B
checked program was:
/* begin /
1: /top/
2: int main() { return 0; }
3: int t() { ptsname(); return 0; }
/
end */


have_func: checking for ioctl()… -------------------- yes

“cl -nologo -Feconftest -I…/…/.ext/include/i386-mswin32_71
-I…/…/./…/include -I…/…/./…/ext/pty -I…/…/./…/include -MD -Zi
-O2b2xg- -G6 conftest.c msvcr71-ruby19-static.lib oldnames.lib
user32.lib advapi32.lib shell32.lib ws2_32.lib -link -libpath:”."
-libpath:"…/…" -stack:0x200000"
conftest.c
conftest.c(8) : error C2065: ‘ioctl’ :
e$BDj5A$5$l$F$$$J$$<1JL;R$G$9!#e(B
checked program was:
/* begin /
1: #define WIN32_LEAN_AND_MEAN
2: #define WIN32
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /top/
7: int main() { return 0; }
8: int t() { void ((volatile p)()); p = (void (()()))ioctl; return 0;
}
/
end */

“cl -nologo -Feconftest -I…/…/.ext/include/i386-mswin32_71
-I…/…/./…/include -I…/…/./…/ext/pty -I…/…/./…/include -MD -Zi
-O2b2xg- -G6 conftest.c msvcr71-ruby19-static.lib oldnames.lib
user32.lib advapi32.lib shell32.lib ws2_32.lib -link -libpath:”."
-libpath:"…/…" -stack:0x200000"
conftest.c
checked program was:
/* begin /
1: /top/
2: int main() { return 0; }
3: int t() { ioctl(); return 0; }
/
end */