[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[dennou-ruby:003983] gem updateでruby-fftw3のbuildエラー on MacOSX(10.10)
- To: dennou-ruby@xxxxxxxxxxx
- Subject: [dennou-ruby:003983] gem updateでruby-fftw3のbuildエラー on MacOSX(10.10)
- From: Hisashi YASHIRO <h.yashiro@xxxxxxxx>
- Date: Mon, 1 Aug 2016 13:11:31 +0900
�Ǿruby�ʳ��
���AICS�����Ǥ������Ĥ�hys�ˤ����ˤʤäƤ�������
�ޤ�L�������Ƥʤ��ä�������
���ơ�MacOSX�Ķ��ǡ�gem�����Phys�ȡ��뤷�Ƥ����Ǥ��������åץǡ��Ȥ˼�����ޤ�����
�ɤ���na_fftw3.c�Ȥ����ե�����Make�˼�������褦�Ǥ���
gem���ɤ�����uild�����������äѤ������ΤǤ���������ե������������쥯�ȥ�Make���Ƥ⥳�����Τǡ�
���ξ�na_fftw3.c L461��
static VALUE
#ifdef FFTW3_HAS_SINGLE_SUPPORT
na_fftw3_r2r_float(int argc, VALUE *argv, VALUE self)
�Ȥ����ʬ�ˤĤ��ơ�static VALUE��ef�����줿����������
����Ȥ��ƤϤ������Ƥޤ�����
���Υ������������ե�����ñ��gem install��������������ޤ��Τǡ����θ����ư���Τ��ɤ�������Ǥ��Ƥ��ޤ���
�Ķ��Ȥ��Ƥϡ�
$ clang -v
Apple LLVM version 7.0.2 (clang-700.1.81)
���������Υ��������ϡ�
$ sudo gem install gphys
Building native extensions. This could take a while...
ERROR: Error installing gphys:
ERROR: Failed to build gem native extension.
/opt/local/bin/ruby2.2 -r ./siteconf20160801-40524-1ocd1nh.rb extconf.rb
checking for narray.h... yes
checking for narray_config.h... yes
checking for fftw3.h... yes
checking for main() in -lfftw3... yes
checking for main() in -lfftw3f... no
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling na_fftw3.c
na_fftw3.c:648:1: error: cannot combine with previous 'type-name' declaration specifier
void
^
1 error generated.
make: *** [na_fftw3.o] Error 1
make failed, exit code 2
Gem files will remain installed in /opt/local/lib/ruby2.2/gems/2.2.0/gems/ruby-fftw3-1.0.1 for inspection.
Results logged to /opt/local/lib/ruby2.2/gems/2.2.0/extensions/x86_64-darwin-14/2.2.0/ruby-fftw3-1.0.1/gem_make.out
-----
�Ǥ����������Ƥй����Ǥ���
Ȭ���
--
Hisashi Yashiro, Ph.D
Computational Climate Science Research Team
RIKEN Advanced Institute for Computational Science (AICS)
E-mail: h.yashiro@xxxxxxxx
Tel:+81-78-940-5731 Fax:+81-78-304-4963