[groonga-dev,00083] Re: OSX10.4(Tiger)でgem install groongaに失敗する

Back to archive index

niku niku****@niku*****
2009年 6月 25日 (木) 22:58:35 JST


にくです。

ファイル添付を確認しましたが、添付はしていたようなのでMLで削除されてしまうのかもしれません。
少々長いですがgem_make.outとmkmf.logを直接貼りますね。

以下gem_make.outです。
/opt/local/bin/ruby extconf.rb
checking for GCC... yes
checking for groonga version (>= 0.0.8)... no
downloading http://groonga.org/files/groonga/groonga-0.0.8.tar.gz... done
extracting... done
configuring... done
building (maybe long time)... done
installing... done
checking for groonga version (>= 0.0.8)... yes
checking for HAVE_RUBY_ST_H in ruby.h... no
checking for ruby/st.h... no
checking for rb_errinfo() in ruby.h... no
checking for enum ruby_value_type in ruby.h... no
creating Makefile

make
Makefile:141: warning: overriding commands for target
`/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/lib'
Makefile:137: warning: ignoring old commands for target
`/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/lib'
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-accessor.c
-oext/rb-grn-accessor.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-array-cursor.c
-oext/rb-grn-array-cursor.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-array.c
-oext/rb-grn-array.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-column.c
-oext/rb-grn-column.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-context.c
-oext/rb-grn-context.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-database.c
-oext/rb-grn-database.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-encoding-support.c
-oext/rb-grn-encoding-support.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-encoding.c
-oext/rb-grn-encoding.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-exception.c
-oext/rb-grn-exception.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-fix-size-column.c
-oext/rb-grn-fix-size-column.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-hash-cursor.c
-oext/rb-grn-hash-cursor.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-hash.c
-oext/rb-grn-hash.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-index-column.c
-oext/rb-grn-index-column.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-logger.c
-oext/rb-grn-logger.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-object.c
-oext/rb-grn-object.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-patricia-trie-cursor.c
-oext/rb-grn-patricia-trie-cursor.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-patricia-trie.c
-oext/rb-grn-patricia-trie.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-procedure.c
-oext/rb-grn-procedure.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-query.c
-oext/rb-grn-query.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-record.c
-oext/rb-grn-record.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-snippet.c
-oext/rb-grn-snippet.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-table-cursor-key-support.c
-oext/rb-grn-table-cursor-key-support.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-table-cursor.c
-oext/rb-grn-table-cursor.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-table-key-support.c
-oext/rb-grn-table-key-support.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-table.c
-oext/rb-grn-table.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-type.c
-oext/rb-grn-type.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-grn-utils.c
-oext/rb-grn-utils.o
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-DGRN_MAJOR_VERSION=0 -DGRN_MINOR_VERSION=0 -DGRN_MICRO_VERSION=8
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -fno-common -O2  -fno-common -pipe -fno-common
-Wall -I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 -c /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/ext/rb-groonga.c
-oext/rb-groonga.o
/usr/bin/gcc-4.0 -dynamic -bundle -undefined suppress -flat_namespace
-o ext/groonga.bundle ext/rb-grn-accessor.o ext/rb-grn-array-cursor.o
ext/rb-grn-array.o ext/rb-grn-column.o ext/rb-grn-context.o
ext/rb-grn-database.o ext/rb-grn-encoding-support.o
ext/rb-grn-encoding.o ext/rb-grn-exception.o
ext/rb-grn-fix-size-column.o ext/rb-grn-hash-cursor.o
ext/rb-grn-hash.o ext/rb-grn-index-column.o ext/rb-grn-logger.o
ext/rb-grn-object.o ext/rb-grn-patricia-trie-cursor.o
ext/rb-grn-patricia-trie.o ext/rb-grn-procedure.o ext/rb-grn-query.o
ext/rb-grn-record.o ext/rb-grn-snippet.o
ext/rb-grn-table-cursor-key-support.o ext/rb-grn-table-cursor.o
ext/rb-grn-table-key-support.o ext/rb-grn-table.o ext/rb-grn-type.o
ext/rb-grn-utils.o ext/rb-groonga.o -L. -L/opt/local/lib -L.
-L/opt/local/lib
-Wl,-rpath,/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib
-L/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib
-lruby  -lgroonga -lpthread -ldl -lobjc
/usr/bin/ld: unknown flag: -rpath
collect2: ld returned 1 exit status
make: *** [ext/groonga.bundle] Error 1

以下mkmf.logです。
checking for GCC... -------------------- yes

"/usr/bin/gcc-4.0 -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -O2  -fno-common -pipe -fno-common     -c
conftest.c"
checked program was:
/* begin */
1: /*top*/
2: #ifndef __GNUC__
3: # error
4: >>>>>> __GNUC__ undefined <<<<<<
5: #endif
/* end */

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

"tar xfz groonga-0.0.8.tar.gz"
"./configure --prefix=/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local"
checking for a BSD-compatible install... /opt/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking build system type... i386-apple-darwin8.11.1
checking host system type... i386-apple-darwin8.11.1
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... otool64
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin8.11.1 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/types.h... (cached) yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking for localtime_r... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for off_t... yes
checking for size_t... yes
checking size of off_t... 8
checking for fpclassify... yes
checking for log in -lm... yes
checking for pthread_mutex_init in -lpthread... yes
checking for gethostbyname in -lnsl... no
checking for socket in -lsocket... no
checking for dlopen in -ldl... yes
checking for lcov... no
checking for genhtml... no
checking whether enable uyield... no
checking whether enable fmalloc... no
checking whether enable abort... no
checking whether allow dynamic memory allocation change... no
checking sys/epoll.h usability... no
checking sys/epoll.h presence... no
checking for sys/epoll.h... no
checking sys/event.h usability... yes
checking sys/event.h presence... yes
checking for sys/event.h... yes
checking for kevent... yes
checking whether MSG_MORE defined... no
checking whether MSG_NOSIGNAL defined... no
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to use Cutter... (cached) auto
checking for CUTTER... no
./configure: line 17091: 0: command not found
configure: chcking if benchmark is available
checking for pkg-config... (cached) /opt/local/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.8.0... yes (version 2.20.3)
configure: benchmark is available
checking for mecab-config... /opt/local/bin/mecab-config
checking for mecab_new in -lmecab... yes
checking mecab.h usability... yes
checking mecab.h presence... yes
checking for mecab.h... yes
checking whether enable futex... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating lib/Makefile
config.status: creating examples/Makefile
config.status: creating test/Makefile
config.status: creating test/unit/Makefile
config.status: creating test/unit/lib/Makefile
config.status: creating test/unit/fixtures/Makefile
config.status: creating test/unit/fixtures/inverted-index/Makefile
config.status: creating test/unit/fixtures/stress/Makefile
config.status: creating test/unit/fixtures/performance/Makefile
config.status: creating test/unit/util/Makefile
config.status: creating test/unit/core/Makefile
config.status: creating test/unit/memcached/Makefile
config.status: creating test/ql/Makefile
config.status: creating test/benchmark/Makefile
config.status: creating test/benchmark/lib/Makefile
config.status: creating groonga.spec
config.status: creating groonga.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

groonga 0.0.8 configuration:
-----------------------
  Compiler:              gcc
  CFLAGS:                -g -O2 -Wall -Wextra -Wno-unused-parameter
-Wno-sign-compare -Wno-pointer-sign -Wno-missing-field-initializers
-Wformat=2 -Wstrict-aliasing=2 -Wdisabled-optimization -Wfloat-equal
-Wpointer-arith -Wdeclaration-after-statement -Wbad-function-cast
-Wcast-align -Wredundant-decls -I/opt/local/include
  Libraries:             -lmecab    -lpthread -lm -ldl

  Install path prefix:
/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local

Now type 'make' to build groonga 0.0.8!

make
make  all-recursive
Making all in lib
make[2]: Nothing to be done for `all'.
Making all in src
make[2]: Nothing to be done for `all'.
Making all in examples
make[2]: Nothing to be done for `all'.
Making all in test
Making all in unit
Making all in lib
make[4]: Nothing to be done for `all'.
Making all in fixtures
Making all in stress
make[5]: Nothing to be done for `all'.
Making all in performance
make[5]: Nothing to be done for `all'.
Making all in inverted-index
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
Making all in util
make[4]: Nothing to be done for `all'.
Making all in core
make[4]: Nothing to be done for `all'.
Making all in memcached
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
Making all in ql
make[3]: Nothing to be done for `all'.
Making all in benchmark
Making all in lib
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
make[3]: Nothing to be done for `all-am'.
"make install"
Making install in lib
test -z "/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib"
|| /opt/local/bin/gmkdir -p
"/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib"
 /bin/sh ../libtool   --mode=install /opt/local/bin/ginstall -c
'libgroonga.la'
'/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib/libgroonga.la'
libtool: install: /opt/local/bin/ginstall -c .libs/libgroonga.0.dylib
/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib/libgroonga.0.dylib
libtool: install: (cd
/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib && {
ln -s -f libgroonga.0.dylib libgroonga.dylib || { rm -f
libgroonga.dylib && ln -s libgroonga.0.dylib libgroonga.dylib; }; })
libtool: install: /opt/local/bin/ginstall -c .libs/libgroonga.lai
/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib/libgroonga.la
libtool: install: /opt/local/bin/ginstall -c .libs/libgroonga.a
/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib/libgroonga.a
libtool: install: chmod 644
/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib/libgroonga.a
libtool: install: ranlib
/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib/libgroonga.a
----------------------------------------------------------------------
Libraries have been installed in:
   /opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
     during execution

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for `install-data-am'.
Making install in src
test -z "/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/bin"
|| /opt/local/bin/gmkdir -p
"/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/bin"
  /bin/sh ../libtool   --mode=install /opt/local/bin/ginstall -c
'groonga' '/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/bin/groonga'
libtool: install: /opt/local/bin/ginstall -c .libs/groonga
/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/bin/groonga
make[2]: Nothing to be done for `install-data-am'.
Making install in examples
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
Making install in test
Making install in unit
Making install in lib
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in fixtures
Making install in stress
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
Making install in performance
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
Making install in inverted-index
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
Making install in util
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in core
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in memcached
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in ql
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in benchmark
Making install in lib
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[2]: Nothing to be done for `install-exec-am'.
test -z "/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib/pkgconfig"
|| /opt/local/bin/gmkdir -p
"/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib/pkgconfig"
 /opt/local/bin/ginstall -c -m 644 'groonga.pc'
'/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib/pkgconfig/groonga.pc'
test -z "/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga"
|| /opt/local/bin/gmkdir -p
"/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga"
 /opt/local/bin/ginstall -c -m 644 'groonga.h'
'/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga/groonga.h'
have_macro: checking for HAVE_RUBY_ST_H in ruby.h... -------------------- no

"/usr/bin/gcc-4.0 -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -O2  -fno-common -pipe -fno-common   -Wall
-I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
  -c conftest.c"
conftest.c:4:3: error: #error
conftest.c:5: error: parse error before '>>' token
checked program was:
/* begin */
1: #include <ruby.h>
2: /*top*/
3: #ifndef HAVE_RUBY_ST_H
4: # error
5: >>>>>> HAVE_RUBY_ST_H undefined <<<<<<
6: #endif
/* end */

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

have_header: checking for ruby/st.h... -------------------- no

"/usr/bin/cpp-4.0 -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -O2  -fno-common -pipe -fno-common   -Wall
-I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
 conftest.c -o conftest.i"
conftest.c:1:21: error: ruby/st.h: No such file or directory
checked program was:
/* begin */
1: #include <ruby/st.h>
/* end */

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

have_func: checking for rb_errinfo() in ruby.h... -------------------- no

"/usr/bin/gcc-4.0 -o conftest -I.
-I/opt/local/lib/ruby/1.8/i686-darwin8 -I. -I/opt/local/include
-D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -O2
-fno-common -pipe -fno-common   -Wall
-I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
conftest.c  -L. -L/opt/local/lib -L. -L/opt/local/lib
-Wl,-rpath,/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib
-L/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib
-lgroonga -lruby-static  -lgroonga -lpthread -ldl -lobjc  "
conftest.c: In function 't':
conftest.c:5: error: 'rb_errinfo' undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */
1: #include <ruby.h>
2:
3: /*top*/
4: int main() { return 0; }
5: int t() { void ((*volatile p)()); p = (void ((*)()))rb_errinfo; return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I.
-I/opt/local/lib/ruby/1.8/i686-darwin8 -I. -I/opt/local/include
-D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -O2
-fno-common -pipe -fno-common   -Wall
-I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
conftest.c  -L. -L/opt/local/lib -L. -L/opt/local/lib
-Wl,-rpath,/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib
-L/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib
-lgroonga -lruby-static  -lgroonga -lpthread -ldl -lobjc  "
conftest.c: In function 't':
conftest.c:5: warning: implicit declaration of function 'rb_errinfo'
/usr/bin/ld: unknown flag: -rpath
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: #include <ruby.h>
2:
3: /*top*/
4: int main() { return 0; }
5: int t() { rb_errinfo(); return 0; }
/* end */

"/usr/bin/gcc-4.0 -o conftest -I.
-I/opt/local/lib/ruby/1.8/i686-darwin8 -I. -I/opt/local/include
-D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -O2
-fno-common -pipe -fno-common   -Wall
-I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
conftest.c  -L. -L/opt/local/lib -L. -L/opt/local/lib
-Wl,-rpath,/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib
-L/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/lib
-lgroonga -lruby-static  -lgroonga -lpthread -ldl -lobjc  "
/usr/bin/ld: unknown flag: -rpath
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: int rb_errinfo();
2: /*top*/
3: /*
4:  * http://trac.macports.org/ticket/3604
5:  * gcc 4.0 on 10.4 has a problem
6:  */
7: int main() { return 0; }
8: int t() { rb_errinfo(); return 0; }
/* end */

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

have_type: checking for enum ruby_value_type in ruby.h...
-------------------- no

"/usr/bin/gcc-4.0 -I. -I/opt/local/lib/ruby/1.8/i686-darwin8 -I.
-I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE
-I/opt/local/include -O2  -fno-common -pipe -fno-common   -Wall
-I/opt/local/lib/ruby/gems/1.8/gems/groonga-0.0.2/vendor/local/include/groonga
  -c conftest.c"
conftest.c:5: error: invalid application of 'sizeof' to incomplete
type 'conftest_type'
conftest.c:5: error: size of array 'conftestval' is negative
checked program was:
/* begin */
1: #include <ruby.h>
2:
3: /*top*/
4: typedef enum ruby_value_type conftest_type;
5: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

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

2009/06/25 22:32 に Kouhei Sutou<kou****@clear*****> さんは書きました:
> 須藤です。
>
> In <4ab29****@mail*****>
>  "[groonga-dev,00081] OSX10.4(Tiger)でgem install groongaに失敗する" on Thu, 25 Jun 2009 22:21:16 +0900,
>  niku <niku****@niku*****> wrote:
>
>> /Users/niku% sw_vers
>> ProductName:    Mac OS X
>> ProductVersion: 10.4.11
>> BuildVersion:   8S2167
>> /Users/niku% ruby --version
>> ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin8]
>> /Users/niku% gem --version
>> 1.3.4
>>
>> 上記のような環境で
>> /Users/niku% sudo gem install groonga -r
>> を行うとgroongaのインストールに失敗します。
>> gem_make.outの結果を添付します。
>>
>> groongaをインストールするためにはどうすれば良いでしょうか?
>
> すいません、gem_make.outが添付忘れのようです。
> (それともメーリングリストの設定で削除された?)
>
> あと、もしよかったら
> 「/gemのディレクトリ/gems/groonga-0.0.2/mkmf.log」も見せても
> らってよいですか?
>
> _______________________________________________
> groonga-dev mailing list
> groon****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/groonga-dev
>




groonga-dev メーリングリストの案内
Back to archive index