Ȥ½Ã redmine ¼³Ä¡ Çغ¸½ÅºÐÀ̳ª ´ÙÀ½ ¿¡·¯ ·Î±×·Î ¹®Àǵ帳´Ï´Ù.

   Á¶È¸ 7045   Ãßõ 1    

 redmine설치과정중에 나온 내용이옵고.

ruby gem설치중에 에러가 난건데 당최 찾아도 답이 안나와 문의드립니다.

Cent 7.3 64bit환경입니다.


# bundle install --without development test postgresql sqlite
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32 java`.
The dependency activerecord-jdbc-adapter (~> 1.3.2) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
The dependency activerecord-jdbcmysql-adapter (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`.
/opt/rh/rh-ruby22/root/usr/share/gems/gems/psych-2.0.8/lib/psych.rb:220: warning: already initialized constant Psych::VERSION
/opt/rh/rh-ruby22/root/usr/share/ruby/psych.rb:220: warning: previous definition of VERSION was here
/opt/rh/rh-ruby22/root/usr/share/gems/gems/psych-2.0.8/lib/psych.rb:223: warning: already initialized constant Psych::LIBYAML_VERSION
/opt/rh/rh-ruby22/root/usr/share/ruby/psych.rb:223: warning: previous definition of LIBYAML_VERSION was here
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Resolving dependencies....
Using rake 12.0.0
Using i18n 0.8.1
Installing json 1.8.6 with native extensions
Using minitest 5.10.1
Using thread_safe 0.3.6
Using builder 3.2.3
Using erubis 2.7.0
Using mini_portile2 2.1.0
Using rack 1.6.5
Using mime-types-data 3.2016.0521
Using arel 6.0.4
Using bundler 1.14.6
Using coderay 1.1.1
Using concurrent-ruby 1.0.5
Using htmlentities 4.3.1
Using thor 0.19.4
Installing mysql2 0.3.21 with native extensions
Using net-ldap 0.3.1
Using ruby-openid 2.3.0
Installing redcarpet 3.1.2 with native extensions
Using request_store 1.0.5
Installing rmagick 2.13.4 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.


    /opt/rh/rh-ruby22/root/usr/bin/ruby -r ./siteconf20170405-22032-12g4t0e.rb extconf.rb
mkmf.rb can't find header files for ruby at /opt/rh/rh-ruby22/root/usr/share/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in /opt/rh/rh-ruby22/root/usr/local/share/gems/gems/json-1.8.6 for inspection.
Results logged to /opt/rh/rh-ruby22/root/usr/local/lib64/gems/ruby/json-1.8.6/gem_make.out

An error occurred while installing json (1.8.6), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.6'` succeeds before bundling.


[root@redmine redmine]# gem install json
Building native extensions.  This could take a while...
ERROR:  Error installing json:
    ERROR: Failed to build gem native extension.

    /opt/rh/rh-ruby22/root/usr/bin/ruby -r ./siteconf20170405-22130-8846v3.rb extconf.rb
mkmf.rb can't find header files for ruby at /opt/rh/rh-ruby22/root/usr/share/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in /opt/rh/rh-ruby22/root/usr/local/share/gems/gems/json-2.0.3 for inspection.
Results logged to /opt/rh/rh-ruby22/root/usr/local/lib64/gems/ruby/json-2.0.3/gem_make.out
[root@redmine redmine]# ^C
[root@redmine redmine]# gem install json -v '1.8.6'
Building native extensions.  This could take a while...
ERROR:  Error installing json:
    ERROR: Failed to build gem native extension.

    /opt/rh/rh-ruby22/root/usr/bin/ruby -r ./siteconf20170405-22136-12rlq4d.rb extconf.rb
mkmf.rb can't find header files for ruby at /opt/rh/rh-ruby22/root/usr/share/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in /opt/rh/rh-ruby22/root/usr/local/share/gems/gems/json-1.8.6 for inspection.
Results logged to /opt/rh/rh-ruby22/root/usr/local/lib64/gems/ruby/json-1.8.6/gem_make.out


ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
ŸÀÌÈ£ 2017-04
/opt/rh/rh-ruby22/root/usr/local/lib64/gems/ruby/json-1.8.6/gem_make.out ¾È¿¡ ÀÚ¼¼ÇÑ ³»¿ëÀÌ ÀÖÀ»ÅÙµ¥¿ä
±×°Íµµ Çѹø ¿Ã·ÁºÁ ÁÖ¼¼¿ä
     
¶óÀÌÁ¨ 2017-04
# cat /opt/rh/rh-ruby22/root/usr/local/lib64/gems/ruby/json-1.8.6/gem_make.out
/opt/rh/rh-ruby22/root/usr/bin/ruby -r ./siteconf20170405-22318-59n48.rb extconf.rb
mkmf.rb can't find header files for ruby at /opt/rh/rh-ruby22/root/usr/share/include/ruby.h

 Àú·¸°Ô ³ª¿ÍÀÖ½À´Ï´Ù.
ŸÀÌÈ£ 2017-04
sudo yum install rh-ruby22-ruby-devel ¼³Ä¡ Çѹø Çغ¸½ÃÁÒ?
·¹µå¸¶ÀÎÀÌ ·çºñ ±â¹ÝÀ̶ó ¸Å¹ø ¼³Ä¡Çصµ ´Ù¾çÇÏ°Ô ¿¡·¯°¡ ³ª´õ¶ó±¸¿ä
     
¶óÀÌÁ¨ 2017-04
´öºÐ¿¡ ÇØ°áµÇ¾ú½À´Ï´Ù. devel ÆÐÅ°Áö°¡ ¾ø¾î¼­¿´³×¿ä !!
          
ŸÀÌÈ£ 2017-04
´ÙÇàÀ̳׿ä :)
               
¶óÀÌÁ¨ 2017-04
°¨»çÇÕ´Ï´Ù!!
¹Ì´ÏTM 2017-04
±×³É ½ºÅÃÀ¸·Î ±î½Ã´Â°Ô?!
ÄÁ¼³Æà ¾÷ü¿¡¼­µµ ±×³É ½ºÅÃÀ¸·Î ±î½Ã´õ¶ó±¸¿ä.
     
¶óÀÌÁ¨ 2017-04
½ºÅÃÀº ÷ µé¾îº»°Çµ¥ Ȥ½Ã ¸Ö·Î °Ë»öÇؾßÇϳª¿ä?
          
¹Ì´ÏTM 2017-04
·¹µå¸¶ÀÎ °ø½ÄÆäÀÌÁö¿¡¼­.. ¼­µåÆÄƼ¿´´ø°¡ º¸¸é

ºñÆ®³ª¹Ì ·¹µå¸¶ÀÎ ÀÖÀ»²¨¿¡¿ä.

¿ä°ÍÀÌ ±×³ª¸¶ ¼³Ä¡Çϱâ ÆíÇÏ´õ¶ó±¸¿ä.
               
¶óÀÌÁ¨ 2017-04
¤¾ ÀÚ²Ù ¸ð¸£´Â ´Ü¾î°¡ ³ª¿À³×¿ä ´äº¯ °¨»çÇÕ´Ï´Ù!
                    
¹Ì´ÏTM 2017-04
¼³Ä¡Çϴµ¥ ÇÊ¿äÇÑ ¸î°¡Áö ÆÐÅ°Áö¸¸ ¼³Ä¡ÇÏ½Ã¸é µË´Ï´Ù.

¾È¿¡ ÇÊ¿äÇÑ °ÍµéÀÌ ´Ù ³»ÀåµÇ¾îÀÖ¾î¿ä.

±âÁ¸¿¡ ¼³Ä¡ µÈ °ÍµéÀ̶û Ãæµ¹¾È³ª°Ô ¼¼Æø¸ Àß ÇϽøé..
                         
¶óÀÌÁ¨ 2017-04
ºñÆ®³ª¹Ì·Î ¼³Ä¡ÇغýÀ´Ï´Ù. ÀÌ°Ç¸Ó µþ±ïµþ°¢ ¸î¹ø¸¸ ÇÏ¸é ³¡³ª³×¿ä
                    
¹Ì´ÏTM 2017-04
³Ü.. ¿ÏÀü ÆíÇÏÁöÀ¯..
´Ù¸¸ ´Ù °¡Áö°í ÀÖ´Â ³à¼®ÀÌ¶ó ¹¹Çϳª ¼³Á¤ ¹Ù²Ü ¶§³ª ¹¹ ºÙÀÏ ¶§ Àº±Ù ±ÍÂú´Ù´Â..


QnA
Á¦¸ñPage 1987/5693
2014-05   5021149   Á¤ÀºÁØ1
2015-12   1556488   ¹é¸Þ°¡
2011-09   6176   ´«µ¿ÀÚ
2016-07   4661   ǪÇÏÈ÷
2021-02   3230   ºí·¢ÆÞ
2015-05   6979   2CPUÃÖÁÖÈñ
2011-10   5957   ±èÇüÁø
2022-10   2830   º¸¶ó¸Å
05-23   1770   ÇÑÁßÀÏ
2016-07   4356   ³ë¾Æµð
2011-10   5486   ¹ÚÇö±Ù
2014-02   3889   À©µµ¿ì10
2022-10   1596   1z2z
06-04   2059   Á¦¿ÂÇÁ·Î
2011-11   6815   ¸í¼ºÈ£
2019-12   8509   ¹Ýµµ
2022-11   1331   rainma
2015-06   4424   Áö³ª°¡´ÂÇàÀÎ
2021-03   3966   ¼ÛÁøÈ«
07-01   1383   ¾Øµðĵµð
2011-12   10334   Á¦ÁÖ±èÀç¹Î
2019-12   3926   ¾Æ½ÎÁ¶Äí³ª