[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

installer une instance mastodon



bonjour,

j'ai suivi ce tutoriel :
angristan.fr/installer-instance-mastodon-debian-8/

et j'ai le problème suivant:


To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /home/mastodon/live/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0-static/idn-ruby-0.1.0/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/idn-ruby-0.1.0 for inspection.
Results logged to /home/mastodon/live/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0-static/idn-ruby-0.1.0/gem_make.out

An error occurred while installing idn-ruby (0.1.0), and Bundler cannot continue.
Make sure that `gem install idn-ruby -v '0.1.0'` succeeds before bundling.

In Gemfile:
  idn-ruby


le fichier (mkmf.log) :

cat  /home/mastodon/live/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0-static/idn-ruby-0.1.0/mkmf.log
have_library: checking for -lidn... -------------------- no

"gcc -o conftest -I/home/mastodon/.rbenv/versions/2.4.1/include/ruby-2.4.0/x86_64-linux -I/home/mastodon/.rbenv/versions/2.4.1/include/ruby-2.4.0/ruby/backward -I/home/mastodon/.rbenv/versions/2.4.1/include/ruby-2.4.0 -I. -I/home/mastodon/.rbenv/versions/2.4.1/include    -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 conftest.c  -L. -L/home/mastodon/.rbenv/versions/2.4.1/lib -Wl,-R/home/mastodon/.rbenv/versions/2.4.1/lib -L. -L/home/mastodon/.rbenv/versions/2.4.1/lib  -fstack-protector -rdynamic -Wl,-export-dynamic     -Wl,-R/home/mastodon/.rbenv/versions/2.4.1/lib -L/home/mastodon/.rbenv/versions/2.4.1/lib -lruby-static  -lpthread -ldl -lcrypt -lm   -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main(int argc, char **argv)
4: {
5:   return 0;
6: }
/* end */

"gcc -o conftest -I/home/mastodon/.rbenv/versions/2.4.1/include/ruby-2.4.0/x86_64-linux -I/home/mastodon/.rbenv/versions/2.4.1/include/ruby-2.4.0/ruby/backward -I/home/mastodon/.rbenv/versions/2.4.1/include/ruby-2.4.0 -I. -I/home/mastodon/.rbenv/versions/2.4.1/include    -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 conftest.c  -L. -L/home/mastodon/.rbenv/versions/2.4.1/lib -Wl,-R/home/mastodon/.rbenv/versions/2.4.1/lib -L. -L/home/mastodon/.rbenv/versions/2.4.1/lib  -fstack-protector -rdynamic -Wl,-export-dynamic     -Wl,-R/home/mastodon/.rbenv/versions/2.4.1/lib -L/home/mastodon/.rbenv/versions/2.4.1/lib -lruby-static -lidn  -lpthread -ldl -lcrypt -lm   -lc"
/usr/bin/ld : ne peut trouver -lidn
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
13: 
14: int t(void) { ; return 0; }
/* end */

--------------------


comment finir en beauté ?

slt
bernard


Reply to: