--pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 14, 2013 at 04:06:23AM +0900, Stu wrote: > What do you mean my minimal? I installed Ruby 2.1 on my Funtoo laptop the > other day by hand. Simply set up my own environment. Also do this with so= me > scheme interpreters and so forth. Many people use RVM mainly to sync lega= cy > applications with a specific ruby patch level and gem version to avoid > breakage. Also RVM deals with some edge cases where hand compiling may be= a > bit more involved; for example rvm works great with FreeBSD and OSX where > different compilers and POSIX utilities are as minimal as they come. >=20 > ~Stu >=20 I doubt whether a *executable host ruby* is required for build ruby, So I w= ondered. I've tried to compile 1.9.2-p320 and 2.0.0-p195 without any problems (both = are simplly configure and make), but... When I ran make distclean then configure and make, it complained about 'exe= cutable host ruby is required. use --with-baseruby option'. I was starting realize that there must be something different before and af= ter running `make distclean`, so I diffed them. diff -dru ruby-2.0.0-p195/ ruby-2.0.0-p195.distcleaned/ Only in ruby-2.0.0-p195: encdb.h Only in ruby-2.0.0-p195/ext/ripper: y.output Only in ruby-2.0.0-p195: golf_prelude.c Only in ruby-2.0.0-p195: insns.inc Only in ruby-2.0.0-p195: insns_info.inc Only in ruby-2.0.0-p195: known_errors.inc Only in ruby-2.0.0-p195: node_name.inc Only in ruby-2.0.0-p195: optinsn.inc Only in ruby-2.0.0-p195: opt_sc.inc Only in ruby-2.0.0-p195: optunifs.inc Only in ruby-2.0.0-p195: .revision.time Only in ruby-2.0.0-p195: transdb.h Only in ruby-2.0.0-p195: vm.inc Only in ruby-2.0.0-p195: vmtc.inc Looks like some files have to be generated using a *existing ruby*. and the= source tarball already included them (for instance, known_errors.inc, it's= from template/known_errors.inc.tmpl, written in erb). When running make di= stclean, those files are just be cleaned out. this should be the reason. Anyway, according to some google answers, building 1.8.x which doesn't requ= ire a existing ruby, then using --baseruby should do the trick. Correct me if I'm wrong. Thanks. --=20 AR (aka AleiPhoenix) Twitter: @AccelReality Wikipedia: AleiPhoenix weblog: weblog.areverie.org --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQIcBAEBAgAGBQJRurkuAAoJEElKV1VYUO3w+0cP/1KWLdmIcCjsj20xNEa4PH1z joCXsSP8LjBG3TY6HcbTeDfeU/WZj7wmg45DUGB/S+zTL/hyKO1L1zukqxxBqbnF Uw8co1qdyDHTSsS0ubfPXxDgNUh/F+BuNx6ASeF8G/yCzDYTjMg6VIbga/+p5c2b /iQ1CQA3d/wg1zOQQjEyhneNfp5jEV+1WgzfHFfsC3fWTsL4TrixyHnjcHLEgX6F dkqrJ48DgbzrVXM0v6/teZ3Dhz0BUn57wnPcu8JuQOU8mwxxiYz9SJ1QnYH/+q2K mEz/XM4oQ+tq4TM4pYlV6qu3xbvs9/Xkqp1NliFzFFaWmH/G0OvOWnIOlT4V7rQn gHdK0eLGM15pA2TpnJzdIFmaTykQIy/hRi8yA8wUEnGMtEydoPZeWbTkB4TYRMxz k6VFAiQRepfRKlfTxgcmt5Hgr/3Sip+0P/Ks+bH+0AEd4u4c1pICpysz+PeLTEan oZTw2IL6xJYyf1if5vmskkN5qx9eY7/wdPgLVnowAyWrunabZ0N6dWwFvQS2n5nq xwsozRWrliGvJ+w8AfKnmGanY2CB9/PPJQnWC9wQwlawVNB2a7fOOwZZYpVcD0VJ wVMLYLCQREgFtH/kLW1tvPqkoAlJfs5ssIdgxpPwDxEBkhpsn5e3M/PomHA/g6CT 2gucQxOgRMqKcvIWfGp4 =MHV8 -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt-- On Fri, Jun 14, 2013 at 04:06:23AM +0900, Stu wrote: > What do you mean my minimal? I installed Ruby 2.1 on my Funtoo laptop the > other day by hand. Simply set up my own environment. Also do this with so= me > scheme interpreters and so forth. Many people use RVM mainly to sync lega= cy > applications with a specific ruby patch level and gem version to avoid > breakage. Also RVM deals with some edge cases where hand compiling may be= a > bit more involved; for example rvm works great with FreeBSD and OSX where > different compilers and POSIX utilities are as minimal as they come. >=20 > ~Stu >=20 I doubt whether a *executable host ruby* is required for build ruby, So I w= ondered. I've tried to compile 1.9.2-p320 and 2.0.0-p195 without any problems (both = are simplly configure and make), but... When I ran make distclean then configure and make, it complained about 'exe= cutable host ruby is required. use --with-baseruby option'. I was starting realize that there must be something different before and af= ter running `make distclean`, so I diffed them. diff -dru ruby-2.0.0-p195/ ruby-2.0.0-p195.distcleaned/ Only in ruby-2.0.0-p195: encdb.h Only in ruby-2.0.0-p195/ext/ripper: y.output Only in ruby-2.0.0-p195: golf_prelude.c Only in ruby-2.0.0-p195: insns.inc Only in ruby-2.0.0-p195: insns_info.inc Only in ruby-2.0.0-p195: known_errors.inc Only in ruby-2.0.0-p195: node_name.inc Only in ruby-2.0.0-p195: optinsn.inc Only in ruby-2.0.0-p195: opt_sc.inc Only in ruby-2.0.0-p195: optunifs.inc Only in ruby-2.0.0-p195: .revision.time Only in ruby-2.0.0-p195: transdb.h Only in ruby-2.0.0-p195: vm.inc Only in ruby-2.0.0-p195: vmtc.inc Looks like some files have to be generated using a *existing ruby*. and the= source tarball already included them (for instance, known_errors.inc, it's= from template/known_errors.inc.tmpl, written in erb). When running make di= stclean, those files are just be cleaned out. this should be the reason. Anyway, according to some google answers, building 1.8.x which doesn't requ= ire a existing ruby, then using --baseruby should do the trick. Correct me if I'm wrong. Thanks. --=20 AR (aka AleiPhoenix) Twitter: @AccelReality Wikipedia: AleiPhoenix weblog: weblog.areverie.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQIcBAEBAgAGBQJRurkuAAoJEElKV1VYUO3w+0cP/1KWLdmIcCjsj20xNEa4PH1z joCXsSP8LjBG3TY6HcbTeDfeU/WZj7wmg45DUGB/S+zTL/hyKO1L1zukqxxBqbnF Uw8co1qdyDHTSsS0ubfPXxDgNUh/F+BuNx6ASeF8G/yCzDYTjMg6VIbga/+p5c2b /iQ1CQA3d/wg1zOQQjEyhneNfp5jEV+1WgzfHFfsC3fWTsL4TrixyHnjcHLEgX6F dkqrJ48DgbzrVXM0v6/teZ3Dhz0BUn57wnPcu8JuQOU8mwxxiYz9SJ1QnYH/+q2K mEz/XM4oQ+tq4TM4pYlV6qu3xbvs9/Xkqp1NliFzFFaWmH/G0OvOWnIOlT4V7rQn gHdK0eLGM15pA2TpnJzdIFmaTykQIy/hRi8yA8wUEnGMtEydoPZeWbTkB4TYRMxz k6VFAiQRepfRKlfTxgcmt5Hgr/3Sip+0P/Ks+bH+0AEd4u4c1pICpysz+PeLTEan oZTw2IL6xJYyf1if5vmskkN5qx9eY7/wdPgLVnowAyWrunabZ0N6dWwFvQS2n5nq xwsozRWrliGvJ+w8AfKnmGanY2CB9/PPJQnWC9wQwlawVNB2a7fOOwZZYpVcD0VJ wVMLYLCQREgFtH/kLW1tvPqkoAlJfs5ssIdgxpPwDxEBkhpsn5e3M/PomHA/g6CT 2gucQxOgRMqKcvIWfGp4 =MHV8 -----END PGP SIGNATURE-----