Giter Club home page Giter Club logo

Comments (5)

tmm1 avatar tmm1 commented on September 23, 2024

What version of gcc are you using?

from bcrypt-ruby.

zsj2145676 avatar zsj2145676 commented on September 23, 2024
使用内建 specs。
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
目标:x86_64-linux-gnu
配置为:../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.3-1ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --with-system-zlib --enable-objc-gc --with-cloog --enable-cloog-backend=ppl --disable-cloog-version-check --disable-ppl-version-check --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
线程模型:posix
gcc 版本 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) 

from bcrypt-ruby.

zsj2145676 avatar zsj2145676 commented on September 23, 2024

i think the real problem may be the makefile ...
my friends recommended me substitute the bottom of original makefile with these :

require "mkmf"
  have_header('ruby/util.h')
  $CFLAGS = "-I/usr/include/ #{$CFLAGS}"
  dir_config("bcrypt_ext")
  create_makefile("bcrypt_ext")

what would you think? i try it, but something still wrong and i get the some error message ... i feel upset.. 😢

from bcrypt-ruby.

srawlins avatar srawlins commented on September 23, 2024

@ zsj2145676 You don't mention what version you tried installing, but I can only imagine it was bcrypt-ruby 3.0.1. Since you opened this issue, two new versions, 3.1.0 and 3.1.1, have been released, with many changes, including a have_header('ruby/util.h') line in extconf.rb and some ruby/util.h code in wrapper.c.

Can you retry?

from bcrypt-ruby.

zsj2145676 avatar zsj2145676 commented on September 23, 2024

this problem solved by reinstall my os,and it's fine now .. sorry for issue this untypical problem,i guess some of my operating may damage the c libraries. anyway,thanks a lot.

from bcrypt-ruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.