Redmine Problem Collection

Source: Internet
Author: User
Tags redmine

1.ossl_pkey_ec.c: in function  ' ossl_ec_group_initialize ': ossl_pkey_ec.c:761: warning:  implicit declaration of function  ' Ec_gf2m_simple_method ' ossl_pkey_ec.c:761:  Warning: assignment makes pointer from integer without a castossl_pkey _ec.c:816: error:  ' ec_group_new_curve_gf2m '  undeclared  (first use in this  function) ossl_pkey_ec.c:816: error:  (each undeclared identifier is  reported only onceossl_pkey_ec.c:816: error: for each function it  Appears in.) make[2]: *** [ossl_pkey_ec.o] error 1make[2]: leaving directory  '/root/ Ruby-1.9.3-p194/ext/openssl ' make[1]: *** [ext/openssl/all] error 2make[1]: leaving  directory  '/root/ruby-1.9.3-p194 ' make: *** [build-ext] error 2[[email  protected] ruby-1.9.3-p194]# 
cause of the problem:

This error occurs because the configuration change for Redhat new version of default OpenSSL cancels support for ec_xx.

Workaround:

The issue has been submitted and patched on the Ruby website.

See links: https://bugs.ruby-lang.org/issues/8384


That is, modify the EXT/OPENSSL/OSSL_PKEY_EC.C code as follows:



650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7D/AA/wKiom1bsv86BQvcXAACn5eDayCY661.png "title=" Index.png "alt=" Wkiom1bsv86bqvcxaacn5edaycy661.png "/>



Gem Install slow installation workaround:

    1. Remove the source from the gem, which is the default

http://rubygems.org/
[Email protected] ~]# gem sources--remove http://rubygems.org/http://rubygems.org/removed from sources


2. Join the source of Taobao

Reference website: https://ruby.taobao.org/

[Email protected] ~]# gem sources--add https://ruby.taobao.org/https://ruby.taobao.org/added to Sources[[email Protected] ~]# gem source-l*** current SOURCES ***https://ruby.taobao.org/



3.gem install rail to see if the speed is rising

[[email protected] ~]# gem install railfetching: rack-1.6.4.gem  (100%) fetching: coffee-script-source-1.10.0.gem  (100%) fetching: execjs-2.6.0.gem  (100%) Fetching:  coffee-script-2.4.1.gem  (100%) fetching: tilt-2.0.2.gem  (100%) fetching:  haml-4.0.7.gem  (100%) heads up! haml 4.0 has many improvements, but  also has changes that may breakyour application:* support for  Ruby 1.8.6 dropped* Support for Rails 2 dropped* Sass  Filter now always outputs <style> tags* data attributes are  now hyphenated, not underscored* html2haml utility moved to the  html2haml gem* Textile and Maruku filters moved to the  haml-contrib gemfor more info see:http://rubydoc.info/github/haml/haml/file/changelog.mdfetching: sass-3.4.21.gem  (100%) Fetching:  json-1.8.3.gem  (100%) building native extensions.  this could take  a while ... fetching: uglifier-2.7.2.gem  (100%) fetching: rail-0.0.8.gem  (100%) Successfully  installed rack-1.6.4successfully installed coffee-script-source-1.10.0successfully  Installed execjs-2.6.0successfully installed coffee-script-2.4.1successfully installed  tilt-2.0.2Successfully installed haml-4.0.7Successfully installed  sass-3.4.21successfully installed json-1.8.3successfully installed  uglifier-2.7.2successfully installed rail-0.0.810 gems installedinstalling ri  documentation for rack-1.6.4 ... installing ri documentation for coffee-script-source-1.10.0 ... Installing ri documentation for execjs-2.6.0 ... installing ri documentation for coffee-script-2.4.1 ... installing ri documentation for tilt-2.0.2 ... installing ri documentation for haml-4.0.7 ... Installing ri documentation for sass-3.4.21 ... installing ri documentation for json-1.8.3 ...




Modify Gemfile to successfully install Bundle install--without development Test Rmagickpostgresql Sqli


[[email protected] redmine-2.5.3]# ls

App config.ru db extra gemfile log public readme.rdoc test Vendorconfig contributing.md doc Fi Les Lib plugins rakefile script Tmp[[email protected] redmine-2.5.3]# VI gemfile


This article is from the "clear" blog, make sure to keep this source http://duanyexuanmu.blog.51cto.com/1010786/1752817

Redmine Problem Collection

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.