Salut à tous,

j'ai une difficulté, j'ai une application qui doit utiliser Scrypts via Ruby et l'installation plante sur mon raspberry pi 1 avec la commande
Code : Sélectionner tout - Visualiser dans une fenêtre à part
sudo gem install scrypt
J'obtiens le message ci dessous. En cause, les arguments msee et msee2 de la commande gcc qui ne sont pas reconnus car dédiés aux processeurs Intel (si j'ai bien compris). Du coup, je ne peux pas les enlever du script car à chaque fois que j'édites le fichier, il est re-téléchargé et remplacé.

Savez vous comment je peux faire ?

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Installing scrypt 2.0.2 with native extensions

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /usr/bin/ruby2.1 -rubygems /var/lib/gems/2.1.0/gems/rake-11.1.2/bin/rake RUBYARCHDIR=/tmp/bundler20160419-25810-7pj53fscrypt-2.0.2/extensions/arm-linux/2.1.0/scrypt-2.0.2 RUBYLIBDIR=/tmp/bundler20160419-25810-7pj53fscrypt-2.0.2/extensions/arm-linux/2.1.0/scrypt-2.0.2
mkdir -p arm-linux
/usr/bin/ruby2.1 -I/var/lib/gems/2.1.0/gems/ffi-compiler-0.1.3/lib/ffi-compiler/fake_ffi /var/lib/gems/2.1.0/gems/ffi-compiler-0.1.3/lib/ffi-compiler/exporter.rb ../../lib/scrypt/scrypt_ext.rb ./scrypt_ext.h
gcc -fexceptions -O -fno-omit-frame-pointer -fno-strict-aliasing -Wall -msse -msse2 -fPIC  -o arm-linux/crypto_scrypt-sse.o -c ./crypto_scrypt-sse.c
gcc: error: unrecognized command line option â-msseâ
gcc: error: unrecognized command line option â-msse2â
rake aborted!
Command failed with status (1): [gcc -fexceptions -O -fno-omit-frame-pointe...]
/var/lib/gems/2.1.0/gems/ffi-compiler-0.1.3/lib/ffi-compiler/compile_task.rb:114:in `block (2 levels) in define_task!'
Tasks: TOP => default => arm-linux/libscrypt_ext.so => arm-linux/crypto_scrypt-sse.o
(See full trace by running task with --trace)

rake failed, exit code 1

Gem files will remain installed in /tmp/bundler20160419-25810-7pj53fscrypt-2.0.2/gems/scrypt-2.0.2 for inspection.
Results logged to /tmp/bundler20160419-25810-7pj53fscrypt-2.0.2/extensions/arm-linux/2.1.0/scrypt-2.0.2/gem_make.out