From: cheng-lihang Date: 2011-07-14T11:37:59+09:00 Subject: [ruby-list:48208] Re: rails3、RUBY1.9.2、mongrel1.1.5でckeditorの利用の問題 ------=_NextPart_000_0030_01CC4211.AAAE7920 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit $BDxsU9R(B($B%A%'%s(B $B%j%O%s(B)$B$H?=$7$^$9!#(B $B2 ubuntu$B$G;n$7$F$_$?$H$3$m(B > $B?75,(BRails3$B%"%W%j$K(Bmongrel$B$H(Bmysql2$B$rDI2C$7$F(B > bundle$B$7$?8e$K!"(Bckeditor$B$r(Bbundle$B$7$F$_$?$N$G$9$,(B > $B:F8=$7$^$;$s$G$7$?!#(B > Gemfile$B$O2<5-$N$h$&$K$7$^$7$?(B > ---------- > gem 'mongrel', '>= 1.2.0.pre2' > gem 'mysql2' > > gem 'ckeditor', '3.5.0' > ---------- > ubuntu$B$J$N$H(Bmongrel$B$,(B1.2.0.pre2$B$J$N$,0c$$$^$9$1$I(B > windows$B8GM-$NLdBj$@$H$9$k$H!"$o$+$j$^$;$s!#(B mongrel1.2.0.pre2$B$KJQ99$7$F!"$b$&0l2s;n$7$F$_$^$9!#(B $B!~"!!~"!!~"!!~"!!~"!!~"!(B >> $B#2!%(Bckeditor$B$rMxMQ$9$k$?$a!"%W%m%8%'%/%H$K(Bckeditor3.5.4$B$r%$%s%9%H!<%k(B >> $B$7$^$7$?!#(B >> $B!!!!%$%s%9%H!<%k$K!"2<5-LdBj$,H/@8$7$F!"2r7h:v$GBP1~$7$^$7$?!#(B >> $B!!!!!!-!(Bbundle install $B$K!"(Bmongrel$B$r(Brequire$B$G$-$J$$LdBj$,H/@8$7$?$?$a!"(B >> Gemfile$B$+$i(Bgem mongrel$B$r%3%a%s%H$7$^$7$?!#(B > ckeditor$B$r;H$$$?$$$,$?$a$K%&%'%V%5!<%P!<$r:o=|$7$J$1$l$P$J$i$J$$$H$$$&(B > $B>u67$OL@$i$+$K$*$+$7$$$H;W$$$^$9!#(B > >> $B!!!!!!-"(Bbundle install $B$K!"(Bmysql2$B$r%$%s%9%H!<%k$G$-$J$$$?$a!"(Bgem mysql2 >> $B$r(B gem ruby-mysql$B!!$KJQ99$7$^$7$?!#(B > ckeditor$B$r;H$$$?$$$,$?$a$K(BDB$B$b:o=|$7$J$1$l$P$J$i$J$$$H$$$&(B > $B>u67$O$^$9$^$9$*$+$7$$$H;W$$$^$9!#(B $B$4;XE&$NDL$j!"(BWEB$B%5!<%P!<$H#d#b$r:o=|$9$k$3$H$,$*$+$7$$$G$9$,!"(B $B$H$j$"$($:(Bckeditor$B$r%$%s%9%H!<%k$7$F$_$?$$$H$N9M$($G$7$?!#(B $B$^$?!"(Bmongrel$B$,$J$/$F$b!"(Bwebrick$B$G5/F0$G$-$^$9!#(Bmysql2$B$,$J$/$F$b(Bruby-mysql$B$G(BDB$B$H@\B3$G$-$^$9!#(B $B!~"!!~"!!~"!!~"!!~"!!~"!(B > $BN>%(%i!<$H$b!V(Bbundle install$B$K!W$H=q$$$F$"$j$^$9$,(B > $B%m%0$r8+$?$H$3$m!V(Bmonglrel$B5/F0;~$K!W$K$N4V0c$$$8$c$J$$$+$H;W$$$^$9!#(B > bundle$B$OK\Ev$K4X78$"$k$N$G$9$+!)(B $B?=$7Lu$"$j$^$;$s$,!"-!HVL\$N%(%i!<$O!"(Bbundle install$B;~!"H/@8$7$?LdBj$G$O$"$j$^$;$s!#(B rails generate ckeditor:base$B;~$NLdBj$G$7$?!#(B $B!~"!!~"!!~"!!~"!!~"!!~"!(B > ckeditor$B$N%$%s%9%H!<%k$N;EJ}$,2x$7$$$H;W$&$N$G$9$,(B > $B$I$&$d$C$F%$%s%9%H!<%k$7$^$7$?$+!)(B $B#1!%(Bgem$B!!(B'ckeditor'$B!!$r(Bgemfile$B$KDI2C$9$k!#(B $B#2!%(Bbundle install $B!J%(%i!<-"HVH/@8!"%m%0$N>\:Y$O!"E:IU%U%!%$%k(Bmysql2_log.txt$B$NDL$j$G$9!#!K(B $B#3!%(Brails generate ckeditor:base --version=3.5.4 ($B%(%i!<-!HVH/@8!"%m%0$N>\:Y$O!"E:IU%U%!%$%k(Bckeditor_base_log.txt$B$NDL$j$G$9!#!K(B) $B#4!%(Brails generate ckeditor:migration $B#5!%(Brake db:migrate $BJd=<l9g!"$I$N$h$&$K2r7h$7$^$9$+!)(B $B!&(BDevKit$B$r%$%s%9%H!<%k$9$k(B $B!&(Bgem install mysql2 -- --with-mysql-dir=c:\mysql-connector-c-noinstall-6.0.2-win32 $B$Nrails generate ckeditor:base C:/works/mybbs/vendor/ruby/1.9.1/gems/mongrel-1.1.5-x86-mingw32/lib/http1= 1.so: [ BUG] Segmentation fault ruby 1.9.2p180 (2011-02-18) [i386-mingw32] -- control frame ---------- c:0022 p:-11715582 s:0064 b:0064 l:000063 d:000063 TOP c:0021 p:---- s:0062 b:0062 l:000061 d:000061 CFUNC :require c:0020 p:0095 s:0058 b:0058 l:000057 d:000057 TOP = C:/works/mybbs/vendor/ruby/ 1.9.1/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:12 c:0019 p:---- s:0056 b:0056 l:000055 d:000055 FINISH c:0018 p:---- s:0054 b:0054 l:000053 d:000053 CFUNC :require c:0017 p:0026 s:0050 b:0050 l:000031 d:000049 BLOCK = C:/Ruby192/lib/ruby/gems/1. 9.1/gems/bundler-1.1.pre.5/lib/bundler/runtime.rb:69 c:0016 p:---- s:0047 b:0047 l:000046 d:000046 FINISH c:0015 p:---- s:0045 b:0045 l:000044 d:000044 CFUNC :each c:0014 p:0091 s:0042 b:0042 l:000031 d:000041 BLOCK = C:/Ruby192/lib/ruby/gems/1. 9.1/gems/bundler-1.1.pre.5/lib/bundler/runtime.rb:67 c:0013 p:---- s:0037 b:0037 l:000036 d:000036 FINISH c:0012 p:---- s:0035 b:0035 l:000034 d:000034 CFUNC :each c:0011 p:0046 s:0032 b:0032 l:000031 d:000031 METHOD = C:/Ruby192/lib/ruby/gems/1. 9.1/gems/bundler-1.1.pre.5/lib/bundler/runtime.rb:55 c:0010 p:0021 s:0028 b:0028 l:000027 d:000027 METHOD = C:/Ruby192/lib/ruby/gems/1. 9.1/gems/bundler-1.1.pre.5/lib/bundler.rb:123 c:0009 p:0079 s:0024 b:0024 l:000023 d:000023 TOP = C:/works/mybbs/config/appli cation.rb:7 c:0008 p:---- s:0022 b:0022 l:000021 d:000021 FINISH c:0007 p:---- s:0020 b:0020 l:000019 d:000019 CFUNC :require c:0006 p:0307 s:0016 b:0016 l:000015 d:000015 TOP = C:/works/mybbs/vendor/ruby/ 1.9.1/gems/railties-3.0.7/lib/rails/commands.rb:15 c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :require c:0003 p:0061 s:0006 b:0006 l:001d9c d:000394 EVAL script/rails:6 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:001d9c d:001d9c TOP --------------------------- -- Ruby level backtrace information = ---------------------------------------- script/rails:6:in `
' script/rails:6:in `require' C:/works/mybbs/vendor/ruby/1.9.1/gems/railties-3.0.7/lib/rails/commands.r= b:15:in `' C:/works/mybbs/vendor/ruby/1.9.1/gems/railties-3.0.7/lib/rails/commands.r= b:15:in `require' C:/works/mybbs/config/application.rb:7:in `' C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler.rb:123:= in `req uire' C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/runtime= .rb:55: in `require' C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/runtime= .rb:55: in `each' C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/runtime= .rb:67: in `block in require' C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/runtime= .rb:67: in `each' C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/runtime= .rb:69: in `block (2 levels) in require' C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/runtime= .rb:69: in `require' C:/works/mybbs/vendor/ruby/1.9.1/gems/mongrel-1.1.5-x86-mingw32/lib/mongr= el.rb:1 2:in `' C:/works/mybbs/vendor/ruby/1.9.1/gems/mongrel-1.1.5-x86-mingw32/lib/mongr= el.rb:1 2:in `require' [NOTE] You may have encountered a bug in the Ruby interpreter or extension = libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html This application has requested the Runtime to terminate it in an unusual = way. Please contact the application's support team for more information. C:\works\mybbs> ------=_NextPart_000_0030_01CC4211.AAAE7920 Content-Type: text/plain; format=flowed; name="mysql2_log.txt"; reply-type=original Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="mysql2_log.txt" C:\works\mybbs>bundle install Fetching dependency information from the API at = http://rubygems.org/........ Using rake (0.9.2) Using abstract (1.0.0) Using activesupport (3.0.7) Using builder (2.1.2) Using i18n (0.5.0) Using activemodel (3.0.7) Using erubis (2.6.6) Using rack (1.2.3) Using rack-mount (0.6.14) Using rack-test (0.5.7) Using tzinfo (0.3.29) Using actionpack (3.0.7) Using mime-types (1.16) Using polyglot (0.3.1) Using treetop (1.4.9) Using mail (2.2.19) Using actionmailer (3.0.7) Using arel (2.0.10) Using activerecord (3.0.7) Using activeresource (3.0.7) Using bundler (1.1.pre.5) Using cgi_multipart_eof_fix (2.5.0) Using ckeditor (3.5.4) Using gem_plugin (0.2.3) Using thor (0.14.6) Using railties (3.0.7) Using jquery-rails (1.0.12) Using mongrel (1.1.5) Installing mysql2 (0.2.11) with native extensions Unfortunately, a fatal = error h as occurred. Please report this error to the Bundler issue tracker at = https://gi thub.com/carlhuda/bundler/issues so that we can fix it. Thanks! C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:529:in `rescue = in bloc k in build_extensions': ERROR: Failed to build gem native extension. = (Gem::Insta ller::ExtensionBuildError) C:/Ruby192/bin/ruby.exe extconf.rb checking for rb_thread_blocking_region()... yes checking for main() in -llibmysql... 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. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=3D${opt-dir}/include --with-opt-lib --without-opt-lib=3D${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=3D. --curdir --ruby=3DC:/Ruby192/bin/ruby --with-mysql-dir --without-mysql-dir --with-mysql-include --without-mysql-include=3D${mysql-dir}/include --with-mysql-lib --without-mysql-lib=3D${mysql-dir}/lib --with-libmysqllib --without-libmysqllib Gem files will remain installed in = C:/works/mybbs/vendor/ruby/1.9.1/gems/mysql2- 0.2.11 for inspection. Results logged to = C:/works/mybbs/vendor/ruby/1.9.1/gems/mysql2-0.2.11/ext/mysql2 /gem_make.out from = C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:507:in `b lock in build_extensions' from = C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:482:in `e ach' from = C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:482:in `b uild_extensions' from = C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:156:in `i nstall' from = C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/s ource.rb:101:in `block in install' from = C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/r ubygems_integration.rb:78:in `preserve_paths' from = C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/s ource.rb:91:in `install' from = C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/i nstaller.rb:63:in `block (2 levels) in run' from = C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/r ubygems_integration.rb:93:in `with_build_args' from = C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/i nstaller.rb:62:in `block in run' from = C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/s pec_set.rb:12:in `block in each' from = C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/s pec_set.rb:12:in `each' from = C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/s pec_set.rb:12:in `each' from = C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/i nstaller.rb:54:in `run' from = C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/i nstaller.rb:12:in `install' from = C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/c li.rb:213:in `install' from = C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/v endor/thor/task.rb:22:in `run' from = C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/v endor/thor/invocation.rb:118:in `invoke_task' from = C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/v endor/thor.rb:246:in `dispatch' from = C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/lib/bundler/v endor/thor/base.rb:389:in `start' from = C:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.1.pre.5/bin/bundle:13 :in `' from C:/Ruby192/bin/bundle:19:in `load' from C:/Ruby192/bin/bundle:19:in `
' C:\works\mybbs> ------=_NextPart_000_0030_01CC4211.AAAE7920--