Установка Jekyll на Mac OS Leopard (10.5.8) - PullRequest
0 голосов
/ 01 января 2019

Я пытаюсь установить Jekyll на Leopard, но не могу заставить его работать.Наибольший прогресс, который я достиг, - это возможность запустить gem install jekyll в Терминале, но затем я получаю сообщение об ошибке make failed, exit code 2.

  • У меня установлен tigerbrew (поскольку brew сейчас несовместим с леопардом)
  • У меня установлен rvm (установлен из источника из-за постоянных ошибок сертификата / ssl)
  • Я установил версию 2.3.8p459 Ruby из источника
  • У меня Xcode 3.1.3Установлено

Я не могу установить ruby ​​из rbenv или rvm из-за ошибок cert / ssl, поэтому я установил его из исходного кода.Я могу установить с помощью brew install ruby, но получить те же результаты.

Я просмотрел много других сообщений об ошибке make failed, которая имеет отношение к нескольким версиям Ruby.Ни один из ответов на этих страницах не работал, так как я установил все из исходного кода (ruby никогда не устанавливался с помощью brew, rbenv или rvm).Я попытался установить ruby ​​со всем вышеперечисленным, но получил ту же ошибку.Каждый раз, когда я тестировал установку Ruby либо из исходного кода, либо из tigerbrew / homebrew, я чистил, устанавливал новую систему Leopard + Xcode и т. Д. Я также пробовал это делать на нескольких машинах.

Я простообновил rubygems до версии 3.0.2, которая исправила некоторые ошибки сертификата при установке гемов, но не устранила проблему.

Есть ли что-нибудь еще, что я могу сделать, чтобы это работало ??

Нижевывод терминала, когда я запускаю gem install jekyll.

jordans-power-mac-g4:desktop Jordan$ gem 

install jekyll
Fetching fast-stemmer-1.0.2.gem
Fetching sass-3.7.2.gem
Fetching ruby_dep-1.5.0.gem
Fetching coffee-script-source-1.11.1.gem
Fetching rb-fsevent-0.10.3.gem
Fetching rb-inotify-0.10.0.gem
Fetching jekyll-watch-1.5.1.gem
Fetching ffi-1.9.25.gem
Fetching coffee-script-2.4.1.gem
Fetching public_suffix-3.0.3.gem
Fetching sass-listen-4.0.0.gem
Fetching faraday-0.15.4.gem
Fetching listen-3.1.5.gem
Fetching jekyll-gist-1.5.0.gem
Fetching execjs-2.7.0.gem
Fetching blankslate-2.1.2.4.gem
Fetching parslet-1.5.0.gem
Fetching multipart-post-2.0.0.gem
Fetching jekyll-sass-converter-1.5.2.gem
Fetching yajl-ruby-1.2.3.gem
Fetching toml-0.1.2.gem
Fetching redcarpet-3.4.0.gem
Fetching octokit-4.13.0.gem
Fetching posix-spawn-0.3.13.gem
Fetching pygments.rb-0.6.3.gem
Fetching colorator-0.1.gem
Fetching liquid-2.6.3.gem
Fetching jekyll-paginate-1.1.0.gem
Fetching mercenary-0.3.6.gem
Fetching jekyll-coffeescript-1.1.1.gem
Fetching addressable-2.5.2.gem
Fetching sawyer-0.8.1.gem
Fetching kramdown-1.17.0.gem
Fetching safe_yaml-1.0.4.gem
Building native extensions. This could take a while...
Successfully installed fast-stemmer-1.0.2
Successfully installed classifier-reborn-2.2.0
Successfully installed rb-fsevent-0.10.3
Building native extensions. This could take a while...
ERROR:  Error installing jekyll:
    ERROR: Failed to build gem native extension.

    current directory: /usr/local/lib/ruby/gems/2.3.0/gems/ffi-

1.9.25/ext/ffi_c
    /usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.3.0 -r ./siteconf20190101-36895-fo3oja.rb extconf.rb
    checking for ffi.h... no
    checking for ffi.h in /usr/local/include,/usr/include/ffi... yes
    checking for ffi_call() in -lffi... yes
    checking for ffi_closure_alloc()... no
    checking for ffi_raw_call()... no
    checking for shlwapi.h... no
    checking for ruby/thread.h... yes
    checking for rb_thread_blocking_region()... no
    checking for rb_thread_call_with_gvl()... yes
    checking for rb_thread_call_without_gvl()... yes
    creating extconf.h
    creating Makefile

    current directory: /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c
    make "DESTDIR=" clean

    current directory: /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c
    make "DESTDIR="
    Configuring libffi
    cd "/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-powerpc-darwin9.0" && make
    make 'AR_FLAGS=' 'CC_FOR_BUILD=' 'CFLAGS=-Wall -fexceptions' 'CXXFLAGS=-g -O2' 'CFLAGS_FOR_BUILD=' 'CFLAGS_FOR_TARGET=' 'INSTALL=/usr/local/bin/ginstall -c' 'INSTALL_DATA=/usr/local/bin/ginstall -c -m 644' 'INSTALL_PROGRAM=/usr/local/bin/ginstall -c' 'INSTALL_SCRIPT=/usr/local/bin/ginstall -c' 'JC1FLAGS=' 'LDFLAGS=' 'LIBCFLAGS=' 'LIBCFLAGS_FOR_TARGET=' 'MAKE=make' 'MAKEINFO=/bin/sh /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/missing makeinfo ' 'PICFLAG=' 'PICFLAG_FOR_TARGET=' 'RUNTESTFLAGS=' 'SHELL=/bin/sh' 'exec_prefix=/usr/local' 'infodir=/usr/local/share/info' 'libdir=/usr/local/lib' 'mandir=/usr/local/share/man' 'prefix=/usr/local' 'AR=ar' 'AS=as' 'CC=gcc' 'CXX=g++' 'LD=ld' 'NM=/usr/bin/nm -p' 'RANLIB=ranlib' 'DESTDIR=' all-recursive
    Making all in include
    make[3]: Nothing to be done for `all'.
    Making all in testsuite
    make[3]: Nothing to be done for `all'.
    Making all in man
    make[3]: Nothing to be done for `all'.
    /bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi  -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src   -Wall -fexceptions -c -o src/prep_cif.lo /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/prep_cif.c
    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall -fexceptions -c /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/prep_cif.c  -fno-common -DPIC -o src/.libs/prep_cif.o
    /bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi  -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src   -Wall -fexceptions -c -o src/types.lo /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/types.c
    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall -fexceptions -c /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/types.c  -fno-common -DPIC -o src/.libs/types.o
    /bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi  -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src   -Wall -fexceptions -c -o src/raw_api.lo /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/raw_api.c
    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall -fexceptions -c /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/raw_api.c  -fno-common -DPIC -o src/.libs/raw_api.o
    /bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi  -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src   -Wall -fexceptions -c -o src/java_raw_api.lo /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/java_raw_api.c
    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall -fexceptions -c /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/java_raw_api.c  -fno-common -DPIC -o src/.libs/java_raw_api.o
    /bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi  -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src   -Wall -fexceptions -c -o src/closures.lo /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/closures.c
    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall -fexceptions -c /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/closures.c  -fno-common -DPIC -o src/.libs/closures.o
    /bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi  -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src   -Wall -fexceptions -c -o src/powerpc/ffi_darwin.lo /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c
    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi -I. -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall -fexceptions -c /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c  -fno-common -DPIC -o src/powerpc/.libs/ffi_darwin.o
    /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c:1114: error: syntax error before ‘*’ token
    /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c:1116: error: syntax error before ‘)’ token
    /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c:1172: error: syntax error before ‘*’ token
    /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c:1434: error: syntax error before ‘*’ token
    /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c: In function ‘ffi_go_closure_helper_DARWIN’:
    /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c:1437: error: ‘closure’ undeclared (first use in this function)
    /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c:1437: error: (Each undeclared identifier is reported only once
    /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c:1437: error: for each function it appears in.)
    /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c:1438: error: ‘rvalue’ undeclared (first use in this function)
    /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c:1438: error: ‘pgr’ undeclared (first use in this function)
    /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c:1438: error: ‘pfr’ undeclared (first use in this function)
    make[3]: *** [src/powerpc/ffi_darwin.lo] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all] Error 2
    make: *** ["/usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25/ext/ffi_c/libffi-powerpc-darwin9.0"/.libs/libffi_convenience.a] Error 2

    make failed, exit code 2

    Gem files will remain installed in /usr/local/lib/ruby/gems/2.3.0/gems/ffi-1.9.25 for inspection.
    Results logged to /usr/local/lib/ruby/gems/2.3.0/extensions/powerpc-darwin-9/2.3.0-static/ffi-1.9.25/gem_make.out

Редактировать:

Также пробовал при новой установке ОС, Ruby 1.9.3p0 и Jekyll 2.0.2.Вывод результатов ниже.

    powerbook:~ Jordan$ sudo gem install jekyll -v 2.0.2
Fetching: liquid-2.5.5.gem (100%)
Fetching: fast-stemmer-1.0.2.gem (100%)
Building native extensions.  This could take a while...
Fetching: mathn-0.1.0.gem (100%)
Building native extensions.  This could take a while...
Fetching: classifier-1.3.5.gem (100%)
Fetching: hitimes-1.3.0.gem (100%)
Building native extensions.  This could take a while...
Fetching: timers-4.0.4.gem (100%)
Fetching: celluloid-0.16.0.gem (100%)
Fetching: rb-fsevent-0.10.3.gem (100%)
Fetching: ffi-1.9.25.gem (100%)
Building native extensions.  This could take a while...
ERROR:  Error installing jekyll:
    ERROR: Failed to build gem native extension.

        /usr/local/bin/ruby extconf.rb
checking for ffi.h... no
checking for ffi.h in /usr/local/include,/usr/include/ffi... yes
checking for ffi_call() in -lffi... yes
checking for ffi_closure_alloc()... no
checking for ffi_raw_call()... no
checking for shlwapi.h... no
checking for ruby/thread.h... no
checking for rb_thread_blocking_region()... yes
checking for rb_thread_call_with_gvl()... yes
checking for rb_thread_call_without_gvl()... yes
creating extconf.h
creating Makefile

make
Configuring libffi
cd "/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi-powerpc-darwin9.6.0" && make
make 'AR_FLAGS=' 'CC_FOR_BUILD=' 'CFLAGS=-Wall -fexceptions' 'CXXFLAGS=-g -O2' 'CFLAGS_FOR_BUILD=' 'CFLAGS_FOR_TARGET=' 'INSTALL=/usr/bin/install -c' 'INSTALL_DATA=/usr/bin/install -c -m 644' 'INSTALL_PROGRAM=/usr/bin/install -c' 'INSTALL_SCRIPT=/usr/bin/install -c' 'JC1FLAGS=' 'LDFLAGS=' 'LIBCFLAGS=' 'LIBCFLAGS_FOR_TARGET=' 'MAKE=make' 'MAKEINFO=/bin/sh /usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/missing makeinfo ' 'PICFLAG=' 'PICFLAG_FOR_TARGET=' 'RUNTESTFLAGS=' 'SHELL=/bin/sh' 'exec_prefix=/usr/local' 'infodir=/usr/local/share/info' 'libdir=/usr/local/lib' 'mandir=/usr/local/share/man' 'prefix=/usr/local' 'AR=ar' 'AS=as' 'CC=gcc' 'CXX=g++' 'LD=ld' 'NM=/usr/bin/nm -p' 'RANLIB=ranlib' 'DESTDIR=' all-recursive
Making all in include
make[3]: Nothing to be done for `all'.
Making all in testsuite
make[3]: Nothing to be done for `all'.
Making all in man
make[3]: Nothing to be done for `all'.
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi  -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src   -Wall -fexceptions -c -o src/prep_cif.lo /usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/prep_cif.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall -fexceptions -c /usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/prep_cif.c  -fno-common -DPIC -o src/.libs/prep_cif.o
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi  -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src   -Wall -fexceptions -c -o src/types.lo /usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/types.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall -fexceptions -c /usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/types.c  -fno-common -DPIC -o src/.libs/types.o
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi  -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src   -Wall -fexceptions -c -o src/raw_api.lo /usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/raw_api.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall -fexceptions -c /usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/raw_api.c  -fno-common -DPIC -o src/.libs/raw_api.o
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi  -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src   -Wall -fexceptions -c -o src/java_raw_api.lo /usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/java_raw_api.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall -fexceptions -c /usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/java_raw_api.c  -fno-common -DPIC -o src/.libs/java_raw_api.o
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi  -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src   -Wall -fexceptions -c -o src/closures.lo /usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/closures.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall -fexceptions -c /usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/closures.c  -fno-common -DPIC -o src/.libs/closures.o
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi  -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src   -Wall -fexceptions -c -o src/powerpc/ffi_darwin.lo /usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/include -Iinclude -I/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src -Wall -fexceptions -c /usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c  -fno-common -DPIC -o src/powerpc/.libs/ffi_darwin.o
/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c:1114: error: syntax error before ‘*’ token
/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c:1116: error: syntax error before ‘)’ token
/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c:1172: error: syntax error before ‘*’ token
/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c:1434: error: syntax error before ‘*’ token
/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c: In function ‘ffi_go_closure_helper_DARWIN’:
/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c:1437: error: ‘closure’ undeclared (first use in this function)
/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c:1437: error: (Each undeclared identifier is reported only once
/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c:1437: error: for each function it appears in.)
/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c:1438: error: ‘rvalue’ undeclared (first use in this function)
/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c:1438: error: ‘pgr’ undeclared (first use in this function)
/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi/src/powerpc/ffi_darwin.c:1438: error: ‘pfr’ undeclared (first use in this function)
make[3]: *** [src/powerpc/ffi_darwin.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** ["/usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/libffi-powerpc-darwin9.6.0"/.libs/libffi_convenience.a] Error 2


Gem files will remain installed in /usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.9.1/gems/ffi-1.9.25/ext/ffi_c/gem_make.out

1 Ответ

0 голосов
/ 23 февраля 2019

Итак, я понял, что ошибка Make вызвана несовместимостью некоторых зависимостей с системой.

Мне удалось установить Jekyll 3.8.5 на OSX 10.5.6 (Leopard), выполнив следующие команды:

sudo gem install ffi -v 1.7.0

sudo gem install eventmachine -v 1.0.9.1

sudo gem install jekyll -v 3.8.5

Теперь попробуйте 10.4.8 ..

...