Je viens d'installer un ArchLinux et je souhaiterais installer RVM. Je l'ai déjà fait et j'ai jamais eu de problème, lorsque je fais :
Code : Tout sélectionner
rvm install 1.8.7-head
Code : Tout sélectionner
[root@GreoServer ~]# rvm install 1.8.7-head
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-1.8.7-head, this may take a while depending on your cpu(s)...
ruby-1.8.7-head - #fetching
Cloning from https://github.com/ruby/ruby.git, this may take a while depending on your connection...
Cloning into /usr/local/rvm/repos/ruby-1.8.7-head...
remote: Counting objects: 32297, done.
remote: Compressing objects: 100% (14833/14833), done.
remote: Total 32297 (delta 24408), reused 23211 (delta 16686)
Receiving objects: 100% (32297/32297), 22.23 MiB | 1.98 MiB/s, done.
Resolving deltas: 100% (24408/24408), done.
HEAD is now at 2ac460a * parse.y (parser_here_document): should dispatch heredoc_end
Branch ruby_1_8_7 set up to track remote branch ruby_1_8_7 from origin.
Switched to a new branch 'ruby_1_8_7'
Copying from repo to src path...
Running autoreconf
ruby-1.8.7-head - #configuring
ruby-1.8.7-head - #compiling
ERROR: Error running 'make ', please read /usr/local/rvm/log/ruby-1.8.7-head/make.log
ERROR: There has been an error while running make. Halting the installation.
Code : Tout sélectionner
[2011-07-05 10:58:07] make
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c array.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c bignum.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c class.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c compar.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c dir.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c dln.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c enum.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c enumerator.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c error.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c eval.c
eval.c: In function ‘rb_eval_string_wrap’:
eval.c:1744:5: attention : assignment discards ‘volatile’ qualifier from pointer target type [enabled by default]
eval.c: In function ‘rb_eval_cmd’:
eval.c:1885:5: attention : assignment discards ‘volatile’ qualifier from pointer target type [enabled by default]
eval.c: In function ‘call_trace_func’:
eval.c:2736:5: attention : assignment discards ‘volatile’ qualifier from pointer target type [enabled by default]
eval.c: In function ‘rb_raise_jump’:
eval.c:4770:2: attention : assignment discards ‘volatile’ qualifier from pointer target type [enabled by default]
eval.c: In function ‘method_missing’:
eval.c:5736:2: attention : assignment discards ‘volatile’ qualifier from pointer target type [enabled by default]
eval.c: In function ‘rb_call0’:
eval.c:5894:5: attention : assignment discards ‘volatile’ qualifier from pointer target type [enabled by default]
eval.c: In function ‘rb_f_eval’:
eval.c:6696:2: attention : assignment discards ‘volatile’ qualifier from pointer target type [enabled by default]
eval.c: In function ‘exec_under’:
eval.c:6720:5: attention : assignment discards ‘volatile’ qualifier from pointer target type [enabled by default]
eval.c: In function ‘rb_load’:
eval.c:7036:5: attention : assignment discards ‘volatile’ qualifier from pointer target type [enabled by default]
eval.c: In function ‘call_end_proc’:
eval.c:8071:5: attention : assignment discards ‘volatile’ qualifier from pointer target type [enabled by default]
eval.c: In function ‘rb_f_END’:
eval.c:8084:5: attention : assignment discards ‘volatile’ qualifier from pointer target type [enabled by default]
eval.c: In function ‘mproc’:
eval.c:9860:5: attention : assignment discards ‘volatile’ qualifier from pointer target type [enabled by default]
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c file.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c gc.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c hash.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c inits.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c io.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c marshal.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c math.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c numeric.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c object.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c pack.c
bison -y parse.y
sed '/^#/s|y\.tab\.c|parse.c|' y.tab.c > parse.c
rm -f y.tab.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c parse.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c process.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c prec.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c random.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c range.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c re.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c regex.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c ruby.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c signal.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c sprintf.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c st.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c string.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c struct.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c time.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c util.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c variable.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c version.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c dmyext.c
ar rcu libruby-static.a array.o bignum.o class.o compar.o dir.o dln.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o dmyext.o
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c main.c
gcc -g -O2 -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -L. -rdynamic -Wl,-export-dynamic main.o libruby-static.a -lrt -ldl -lcrypt -lm -o miniruby
rbconfig.rb updated
gcc -shared -Wl,-soname,libruby.so.1.8 array.o bignum.o class.o compar.o dir.o dln.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o dmyext.o -lrt -ldl -lcrypt -lm -o libruby.so.1.8.7
compiling Win32API
compiling bigdecimal
make[1] : on entre dans le répertoire « /usr/local/rvm/src/ruby-1.8.7-head/ext/bigdecimal »
mkdir -p ../../.ext/x86_64-linux
gcc -I. -I../.. -I../../. -I../.././ext/bigdecimal -DBASE=1000000000UL -DBASE_FIG=9 -fPIC -g -O2 -fPIC -c bigdecimal.c
gcc -shared -o ../../.ext/x86_64-linux/bigdecimal.so bigdecimal.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/local/rvm/rubies/ruby-1.8.7-head/lib -L/usr/local/rvm/rubies/ruby-1.8.7-head/lib -lruby -lrt -ldl -lcrypt -lm -lc
mkdir -p ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/jacobian.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/newton.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/util.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/ludcmp.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/math.rb ../../.ext/common/bigdecimal
make[1] : on quitte le répertoire « /usr/local/rvm/src/ruby-1.8.7-head/ext/bigdecimal »
compiling curses
make[1] : on entre dans le répertoire « /usr/local/rvm/src/ruby-1.8.7-head/ext/curses »
gcc -I. -I../.. -I../../. -I../.././ext/curses -DHAVE_NCURSES_H -DHAVE_BEEP -DHAVE_BKGD -DHAVE_BKGDSET -DHAVE_CURS_SET -DHAVE_DELETELN -DHAVE_DOUPDATE -DHAVE_FLASH -DHAVE_GETBKGD -DHAVE_GETNSTR -DHAVE_ISENDWIN -DHAVE_KEYNAME -DHAVE_KEYPAD -DHAVE_RESIZETERM -DHAVE_SCRL -DHAVE_SETSCRREG -DHAVE_UNGETCH -DHAVE_WATTROFF -DHAVE_WATTRON -DHAVE_WATTRSET -DHAVE_WBKGD -DHAVE_WBKGDSET -DHAVE_WDELETELN -DHAVE_WGETNSTR -DHAVE_WRESIZE -DHAVE_WSCRL -DHAVE_WSETSCRREG -DHAVE_DEF_PROG_MODE -DHAVE_RESET_PROG_MODE -DHAVE_TIMEOUT -DHAVE_WTIMEOUT -DHAVE_NODELAY -DHAVE_INIT_COLOR -DHAVE_WCOLOR_SET -D_XOPEN_SOURCE_EXTENDED -fPIC -g -O2 -fPIC -c curses.c
gcc -shared -o ../../.ext/x86_64-linux/curses.so curses.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/local/rvm/rubies/ruby-1.8.7-head/lib -L/usr/local/rvm/rubies/ruby-1.8.7-head/lib -lruby -lncurses -lrt -ldl -lcrypt -lm -lc
make[1] : on quitte le répertoire « /usr/local/rvm/src/ruby-1.8.7-head/ext/curses »
compiling dbm
make[1] : on entre dans le répertoire « /usr/local/rvm/src/ruby-1.8.7-head/ext/dbm »
gcc -I. -I../.. -I../../. -I../.././ext/dbm -DHAVE_TYPE_DBM -DHAVE___DB_NDBM_CLEARERR -DDB_DBM_HSEARCH -DDBM_HDR="<db.h>" -DHAVE_SYS_CDEFS_H -fPIC -g -O2 -fPIC -c dbm.c
gcc -shared -o ../../.ext/x86_64-linux/dbm.so dbm.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/local/rvm/rubies/ruby-1.8.7-head/lib -L/usr/local/rvm/rubies/ruby-1.8.7-head/lib -lruby -ldb -lrt -ldl -lcrypt -lm -lc
make[1] : on quitte le répertoire « /usr/local/rvm/src/ruby-1.8.7-head/ext/dbm »
compiling digest
make[1] : on entre dans le répertoire « /usr/local/rvm/src/ruby-1.8.7-head/ext/digest »
gcc -I. -I../.. -I../../. -I../.././ext/digest -fPIC -g -O2 -fPIC -c digest.c
digest.c: In function ‘rb_digest_instance_inspect’:
digest.c:280:11: attention : assignment discards ‘const’ qualifier from pointer target type [enabled by default]
gcc -shared -o ../../.ext/x86_64-linux/digest.so digest.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/local/rvm/rubies/ruby-1.8.7-head/lib -L/usr/local/rvm/rubies/ruby-1.8.7-head/lib -lruby -lrt -ldl -lcrypt -lm -lc
cp ../.././ext/digest/lib/sha1.rb ../../.ext/common
cp ../.././ext/digest/lib/md5.rb ../../.ext/common
cp ../.././ext/digest/lib/digest.rb ../../.ext/common
cp ../.././ext/digest/digest.h ../../.ext/x86_64-linux
make[1] : on quitte le répertoire « /usr/local/rvm/src/ruby-1.8.7-head/ext/digest »
compiling digest/bubblebabble
make[1] : on entre dans le répertoire « /usr/local/rvm/src/ruby-1.8.7-head/ext/digest/bubblebabble »
mkdir -p ../../../.ext/x86_64-linux/digest
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/bubblebabble -I../../.././ext/digest/bubblebabble/.. -DHAVE_CONFIG_H -fPIC -g -O2 -fPIC -c bubblebabble.c
gcc -shared -o ../../../.ext/x86_64-linux/digest/bubblebabble.so bubblebabble.o -L. -L../../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/local/rvm/rubies/ruby-1.8.7-head/lib -L/usr/local/rvm/rubies/ruby-1.8.7-head/lib -lruby -lrt -ldl -lcrypt -lm -lc
make[1] : on quitte le répertoire « /usr/local/rvm/src/ruby-1.8.7-head/ext/digest/bubblebabble »
compiling digest/md5
make[1] : on entre dans le répertoire « /usr/local/rvm/src/ruby-1.8.7-head/ext/digest/md5 »
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/md5 -I../../.././ext/digest/md5/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_MD5_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -fPIC -g -O2 -fPIC -c md5init.c
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/md5 -I../../.././ext/digest/md5/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_MD5_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -fPIC -g -O2 -fPIC -c md5ossl.c
gcc -shared -o ../../../.ext/x86_64-linux/digest/md5.so md5init.o md5ossl.o -L. -L../../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/local/rvm/rubies/ruby-1.8.7-head/lib -L/usr/local/rvm/rubies/ruby-1.8.7-head/lib -lruby -lcrypto -lrt -ldl -lcrypt -lm -lc
make[1] : on quitte le répertoire « /usr/local/rvm/src/ruby-1.8.7-head/ext/digest/md5 »
compiling digest/rmd160
make[1] : on entre dans le répertoire « /usr/local/rvm/src/ruby-1.8.7-head/ext/digest/rmd160 »
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/rmd160 -I../../.././ext/digest/rmd160/.. -DNDEBUG -DHAVE_CONFIG_H -DHAVE_OPENSSL_RIPEMD_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -fPIC -g -O2 -fPIC -c rmd160init.c
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/rmd160 -I../../.././ext/digest/rmd160/.. -DNDEBUG -DHAVE_CONFIG_H -DHAVE_OPENSSL_RIPEMD_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -fPIC -g -O2 -fPIC -c rmd160ossl.c
gcc -shared -o ../../../.ext/x86_64-linux/digest/rmd160.so rmd160init.o rmd160ossl.o -L. -L../../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/local/rvm/rubies/ruby-1.8.7-head/lib -L/usr/local/rvm/rubies/ruby-1.8.7-head/lib -lruby -lcrypto -lrt -ldl -lcrypt -lm -lc
make[1] : on quitte le répertoire « /usr/local/rvm/src/ruby-1.8.7-head/ext/digest/rmd160 »
compiling digest/sha1
make[1] : on entre dans le répertoire « /usr/local/rvm/src/ruby-1.8.7-head/ext/digest/sha1 »
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha1 -I../../.././ext/digest/sha1/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_SHA_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -fPIC -g -O2 -fPIC -c sha1init.c
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha1 -I../../.././ext/digest/sha1/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_SHA_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -fPIC -g -O2 -fPIC -c sha1ossl.c
gcc -shared -o ../../../.ext/x86_64-linux/digest/sha1.so sha1init.o sha1ossl.o -L. -L../../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/local/rvm/rubies/ruby-1.8.7-head/lib -L/usr/local/rvm/rubies/ruby-1.8.7-head/lib -lruby -lcrypto -lrt -ldl -lcrypt -lm -lc
make[1] : on quitte le répertoire « /usr/local/rvm/src/ruby-1.8.7-head/ext/digest/sha1 »
compiling digest/sha2
make[1] : on entre dans le répertoire « /usr/local/rvm/src/ruby-1.8.7-head/ext/digest/sha2 »
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha2 -I../../.././ext/digest/sha2/.. -DHAVE_CONFIG_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -DHAVE_TYPE_UINT64_T -fPIC -g -O2 -fPIC -c sha2.c
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha2 -I../../.././ext/digest/sha2/.. -DHAVE_CONFIG_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -DHAVE_TYPE_UINT64_T -fPIC -g -O2 -fPIC -c sha2init.c
gcc -shared -o ../../../.ext/x86_64-linux/digest/sha2.so sha2.o sha2init.o -L. -L../../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/local/rvm/rubies/ruby-1.8.7-head/lib -L/usr/local/rvm/rubies/ruby-1.8.7-head/lib -lruby -lrt -ldl -lcrypt -lm -lc
mkdir -p ../../../.ext/common/digest
cp ../../.././ext/digest/sha2/lib/sha2.rb ../../../.ext/common/digest
make[1] : on quitte le répertoire « /usr/local/rvm/src/ruby-1.8.7-head/ext/digest/sha2 »
compiling dl
make[1] : on entre dans le répertoire « /usr/local/rvm/src/ruby-1.8.7-head/ext/dl »
Generating call.func
void
char
short
int
long
float
double
gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I. -fPIC -g -O2 -fPIC -fno-defer-pop -fno-omit-frame-pointer -c sym.c
gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I. -fPIC -g -O2 -fPIC -fno-defer-pop -fno-omit-frame-pointer -c ptr.c
Generating callback.func
Generating cbtable.func
gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I. -fPIC -g -O2 -fPIC -fno-defer-pop -fno-omit-frame-pointer -c dl.c
In file included from dl.c:104:0:
callback.func:1:1: attention : la définition de données n'a pas de type ni de classe de stockage [enabled by default]
callback.func:1:7: erreur: expected identifier or ‘(’ before ‘long’
In file included from dl.c:104:0:
callback.func:78:33: erreur: expected ‘)’ before ‘(’ token
callback.func:79:3: attention : la définition de données n'a pas de type ni de classe de stockage [enabled by default]
callback.func:79:24: erreur: ‘proc’ undeclared here (not in a function)
callback.func:79:39: erreur: ‘argc’ undeclared here (not in a function)
callback.func:79:45: erreur: ‘argv’ undeclared here (not in a function)
callback.func:82:1: erreur: expected identifier or ‘(’ before ‘}’ token
dl.c:106:1: erreur: expected ‘;’, ‘,’ or ‘)’ before ‘static’
make[1]: *** [dl.o] Erreur 1
make[1] : on quitte le répertoire « /usr/local/rvm/src/ruby-1.8.7-head/ext/dl »
make: *** [all] Erreur 1
Merci.