Comments (5)
What version of gcc are you using?
from bcrypt-ruby.
使用内建 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.
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.
@ 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.
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)
- bcrypt 3.1.15 failing on FreeBSD 12 HOT 7
- some calibration tests of the engine fail on s390x architecture
- Cannot install on Windows: ld.exe: cannot find -lgmp HOT 1
- I can't use bcrypt on Apple M1 Chip HOT 4
- failure for test "Generating BCrypt hashes should be interoperable with other implementations"
- Maintenance of bcrypt-ruby (creation of ruby-crypto org?) HOT 16
- Master branch failing due to cost factor
- Issue with devise and bcrypt on a macbook m1 rails install HOT 2
- Rails 6.1.3.1 - BCrypt::Errors::InvalidHash Exception: invalid hash HOT 2
- Fails to install on Ruby 3.0.2 HOT 1
- Cannot install bcrypt on Windows 10 HOT 4
- mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' M1 macbook issue. HOT 1
- New release? HOT 3
- tag 3.1.18? HOT 1
- Unexpected implementation of == method in Password class
- Encryption level HOT 1
- Bcrypt 3.1.18 not working on Ubuntu 22.04.02 LTS HOT 2
- please tag 3.1.20 HOT 1
- Password presence validation bizarre behaviour HOT 1
- Make C-extension Ractor-safe HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bcrypt-ruby.