rdp / google_hash

wrapper for google's hash functions, for ruby
BSD 3-Clause "New" or "Revised" License
92 stars 16 forks source link

Please release master as 0.8.2 #26

Closed axos88 closed 10 years ago

axos88 commented 10 years ago

Hello!

Currently I am unable to use this gem because 0.8.1 does not build on MAC OS X, whereas master does. Please release master as 0.8.2 so it's possible to release gems dependent on this gem.

akovanm0:wp-hit-counter avandra$ bundle
Fetching gem metadata from http://rubygems.util.pages/.....
Fetching gem metadata from http://rubygems.org/........git a
Fetching additional metadata from http://rubygems.util.pages/.dd Ge.
Fetching additional metadata from http://rubygems.org/.m    .........
Resolving dependencies...
Using rake (10.1.1)
Using i18n (0.6.9)
Using json (1.8.1)
Using minitest (5.3.4)
Using thread_safe (0.3.3)
Using tzinfo (1.1.0)
Using activesupport (4.1.1)
Using builder (3.1.4)
Using activemodel (4.1.1)
Using backports (3.6.0)
Using columnize (0.3.6)
Using daemons (1.1.9)
Using debugger-linecache (1.2.0)
Using debugger-ruby_core_source (1.3.2)
Using debugger (1.6.6)
Using diff-lcs (1.2.5)
Using docile (1.1.3)
Using eventmachine (1.0.3)
Using httpclient (2.3.4.1)
Using rack (1.5.2)
Using rack-protection (1.5.2)
Using tilt (1.4.1)
Using sinatra (1.4.4)
Using geminabox (0.8.3.wp)
Using gemtools (1.2.0)
Using global_phone (1.0.1)
Using os (0.9.6)
Using sane (0.25.6)

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

    /Users/avandra/.rvm/rubies/ruby-2.0.0-p353/bin/ruby extconf.rb
building local copy/version of google sparse/dense hash library
sh configure --prefix=/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
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 memcpy... yes
checking for memmove... 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 for uint16_t... yes
checking for u_int16_t... yes
checking for __uint16... no
checking for long long... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for unistd.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking how to run the C++ preprocessor... g++ -E
checking google/malloc_extension.h usability... no
checking google/malloc_extension.h presence... no
checking for google/malloc_extension.h... no
checking whether the compiler implements namespaces... yes
checking the location of hash_map... <tr1/unordered_map>
checking how to include hash_fun directly... <tr1/functional>
checking what namespace STL code is in... std
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
[ -d src/google/sparsehash ] || mkdir -p src/google/sparsehash
echo "/*" > src/google/sparsehash/_sparsehash_config
echo " * NOTE: This file is for internal use only." >> src/google/sparsehash/_sparsehash_config
echo " *       Do not use these #defines in your own program!" >> src/google/sparsehash/_sparsehash_config
echo " */" >> src/google/sparsehash/_sparsehash_config
awk '{prevline=currline; currline=$0;} \
            /^#/ {in_second_file = 1;} \
            !in_second_file {if (currline !~ /^ *$/) {inc[currline]=0}}; \
            in_second_file { for (i in inc) { \
                               if (index(currline, i) != 0) { \
                                  print "\n"prevline"\n"currline; \
                                  delete inc[i]; \
                               } \
                             } }' \
    ./src/config.h.include ./src/config.h \
    >> src/google/sparsehash/_sparsehash_config
mv -f src/google/sparsehash/_sparsehash_config src/google/sparsehash/sparseconfig.h
make  all-am
if g++ -DHAVE_CONFIG_H -I. -I. -I./src  -I./src  -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -MT type_traits_unittest.o -MD -MP -MF ".deps/type_traits_unittest.Tpo" -c -o type_traits_unittest.o `test -f 'src/type_traits_unittest.cc' || echo './'`src/type_traits_unittest.cc; \
    then mv -f ".deps/type_traits_unittest.Tpo" ".deps/type_traits_unittest.Po"; else rm -f ".deps/type_traits_unittest.Tpo"; exit 1; fi
src/type_traits_unittest.cc:64:7: warning: private field 'n_' is not used [-Wunused-private-field]
  int n_;
      ^
src/type_traits_unittest.cc:74:7: warning: private field 'n_' is not used [-Wunused-private-field]
  int n_;
      ^
src/type_traits_unittest.cc:88:7: warning: private field 'n_' is not used [-Wunused-private-field]
  int n_;
      ^
src/type_traits_unittest.cc:114:7: warning: private field 'n_' is not used [-Wunused-private-field]
  int n_;
      ^
4 warnings generated.
g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2   -o type_traits_unittest  type_traits_unittest.o
if g++ -DHAVE_CONFIG_H -I. -I. -I./src  -I./src  -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -MT libc_allocator_with_realloc_test.o -MD -MP -MF ".deps/libc_allocator_with_realloc_test.Tpo" -c -o libc_allocator_with_realloc_test.o `test -f 'src/libc_allocator_with_realloc_test.cc' || echo './'`src/libc_allocator_with_realloc_test.cc; \
    then mv -f ".deps/libc_allocator_with_realloc_test.Tpo" ".deps/libc_allocator_with_realloc_test.Po"; else rm -f ".deps/libc_allocator_with_realloc_test.Tpo"; exit 1; fi
g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2   -o libc_allocator_with_realloc_test  libc_allocator_with_realloc_test.o
if g++ -DHAVE_CONFIG_H -I. -I. -I./src  -I./src  -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -MT sparsetable_unittest.o -MD -MP -MF ".deps/sparsetable_unittest.Tpo" -c -o sparsetable_unittest.o `test -f 'src/sparsetable_unittest.cc' || echo './'`src/sparsetable_unittest.cc; \
    then mv -f ".deps/sparsetable_unittest.Tpo" ".deps/sparsetable_unittest.Po"; else rm -f ".deps/sparsetable_unittest.Tpo"; exit 1; fi
In file included from src/sparsetable_unittest.cc:50:
./src/google/sparsetable:1087:36: warning: unused parameter 'ptr' [-Wunused-parameter]
    pointer realloc_or_die(pointer ptr, size_type n) {
                                   ^
./src/google/sparsetable:1087:51: warning: unused parameter 'n' [-Wunused-parameter]
    pointer realloc_or_die(pointer ptr, size_type n) {
                                                  ^
2 warnings generated.
g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2   -o sparsetable_unittest  sparsetable_unittest.o
if g++ -DHAVE_CONFIG_H -I. -I. -I./src  -I./src  -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -MT hashtable_test.o -MD -MP -MF ".deps/hashtable_test.Tpo" -c -o hashtable_test.o `test -f 'src/hashtable_test.cc' || echo './'`src/hashtable_test.cc; \
    then mv -f ".deps/hashtable_test.Tpo" ".deps/hashtable_test.Po"; else rm -f ".deps/hashtable_test.Tpo"; exit 1; fi
In file included from src/hashtable_test.cc:63:
./src/google/sparsetable:1087:36: warning: unused parameter 'ptr' [-Wunused-parameter]
    pointer realloc_or_die(pointer ptr, size_type n) {
                                   ^
./src/google/sparsetable:1087:51: warning: unused parameter 'n' [-Wunused-parameter]
    pointer realloc_or_die(pointer ptr, size_type n) {
                                                  ^
In file included from src/hashtable_test.cc:64:
In file included from ./src/hash_test_interface.h:55:
./src/google/sparsehash/densehashtable.h:1061:29: warning: unused parameter 'fp' [-Wunused-parameter]
  bool write_metadata(FILE *fp) {
                            ^
./src/google/sparsehash/densehashtable.h:1066:28: warning: unused parameter 'fp' [-Wunused-parameter]
  bool read_metadata(FILE *fp) {
                           ^
./src/google/sparsehash/densehashtable.h:1118:36: warning: unused parameter 'ptr' [-Wunused-parameter]
    pointer realloc_or_die(pointer ptr, size_type n) {
                                   ^
./src/google/sparsehash/densehashtable.h:1118:51: warning: unused parameter 'n' [-Wunused-parameter]
    pointer realloc_or_die(pointer ptr, size_type n) {
                                                  ^
In file included from src/hashtable_test.cc:64:
./src/hash_test_interface.h:425:50: warning: unused parameter 'k' [-Wunused-parameter]
  void set_empty_key(const typename p::key_type& k) { }
                                                 ^
./src/hash_test_interface.h:528:50: warning: unused parameter 'k' [-Wunused-parameter]
  void set_empty_key(const typename p::key_type& k) { }
                                                 ^
./src/hash_test_interface.h:640:50: warning: unused parameter 'k' [-Wunused-parameter]
  void set_empty_key(const typename p::key_type& k) { }
                                                 ^
./src/hash_test_interface.h:737:58: warning: unused parameter 'fp' [-Wunused-parameter]
  template <typename OUTPUT> bool write_metadata(OUTPUT *fp) { return false; }
                                                         ^
./src/hash_test_interface.h:738:55: warning: unused parameter 'fp' [-Wunused-parameter]
  template <typename INPUT> bool read_metadata(INPUT *fp) { return false; }
                                                      ^
./src/hash_test_interface.h:839:58: warning: unused parameter 'fp' [-Wunused-parameter]
  template <typename OUTPUT> bool write_metadata(OUTPUT *fp) { return false; }
                                                         ^
./src/hash_test_interface.h:840:55: warning: unused parameter 'fp' [-Wunused-parameter]
  template <typename INPUT> bool read_metadata(INPUT *fp) { return false; }
                                                      ^
./src/hash_test_interface.h:964:58: warning: unused parameter 'fp' [-Wunused-parameter]
  template <typename OUTPUT> bool write_metadata(OUTPUT *fp) { return false; }
                                                         ^
./src/hash_test_interface.h:965:55: warning: unused parameter 'fp' [-Wunused-parameter]
  template <typename INPUT> bool read_metadata(INPUT *fp) { return false; }
                                                      ^
15 warnings generated.
g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2   -o hashtable_test  hashtable_test.o
if g++ -DHAVE_CONFIG_H -I. -I. -I./src  -I./src  -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -MT simple_test.o -MD -MP -MF ".deps/simple_test.Tpo" -c -o simple_test.o `test -f 'src/simple_test.cc' || echo './'`src/simple_test.cc; \
    then mv -f ".deps/simple_test.Tpo" ".deps/simple_test.Po"; else rm -f ".deps/simple_test.Tpo"; exit 1; fi
In file included from src/simple_test.cc:39:
In file included from ./src/google/sparse_hash_set:100:
In file included from ./src/google/sparsehash/sparsehashtable.h:117:
./src/google/sparsetable:1087:36: warning: unused parameter 'ptr' [-Wunused-parameter]
    pointer realloc_or_die(pointer ptr, size_type n) {
                                   ^
./src/google/sparsetable:1087:51: warning: unused parameter 'n' [-Wunused-parameter]
    pointer realloc_or_die(pointer ptr, size_type n) {
                                                  ^
In file included from src/simple_test.cc:41:
In file included from ./src/google/dense_hash_set:112:
./src/google/sparsehash/densehashtable.h:1061:29: warning: unused parameter 'fp' [-Wunused-parameter]
  bool write_metadata(FILE *fp) {
                            ^
./src/google/sparsehash/densehashtable.h:1066:28: warning: unused parameter 'fp' [-Wunused-parameter]
  bool read_metadata(FILE *fp) {
                           ^
./src/google/sparsehash/densehashtable.h:1118:36: warning: unused parameter 'ptr' [-Wunused-parameter]
    pointer realloc_or_die(pointer ptr, size_type n) {
                                   ^
./src/google/sparsehash/densehashtable.h:1118:51: warning: unused parameter 'n' [-Wunused-parameter]
    pointer realloc_or_die(pointer ptr, size_type n) {
                                                  ^
6 warnings generated.
g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2   -o simple_test  simple_test.o
if g++ -DHAVE_CONFIG_H -I. -I. -I./src  -I./src  -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -MT time_hash_map-time_hash_map.o -MD -MP -MF ".deps/time_hash_map-time_hash_map.Tpo" -c -o time_hash_map-time_hash_map.o `test -f 'src/time_hash_map.cc' || echo './'`src/time_hash_map.cc; \
    then mv -f ".deps/time_hash_map-time_hash_map.Tpo" ".deps/time_hash_map-time_hash_map.Po"; else rm -f ".deps/time_hash_map-time_hash_map.Tpo"; exit 1; fi
In file included from src/time_hash_map.cc:72:
In file included from ./src/google/sparse_hash_map:96:
In file included from ./src/google/sparsehash/sparsehashtable.h:117:
./src/google/sparsetable:1087:36: warning: unused parameter 'ptr' [-Wunused-parameter]
    pointer realloc_or_die(pointer ptr, size_type n) {
                                   ^
./src/google/sparsetable:1087:51: warning: unused parameter 'n' [-Wunused-parameter]
    pointer realloc_or_die(pointer ptr, size_type n) {
                                                  ^
In file included from src/time_hash_map.cc:75:
In file included from ./src/google/dense_hash_map:108:
./src/google/sparsehash/densehashtable.h:1061:29: warning: unused parameter 'fp' [-Wunused-parameter]
  bool write_metadata(FILE *fp) {
                            ^
./src/google/sparsehash/densehashtable.h:1066:28: warning: unused parameter 'fp' [-Wunused-parameter]
  bool read_metadata(FILE *fp) {
                           ^
./src/google/sparsehash/densehashtable.h:1118:36: warning: unused parameter 'ptr' [-Wunused-parameter]
    pointer realloc_or_die(pointer ptr, size_type n) {
                                   ^
./src/google/sparsehash/densehashtable.h:1118:51: warning: unused parameter 'n' [-Wunused-parameter]
    pointer realloc_or_die(pointer ptr, size_type n) {
                                                  ^
6 warnings generated.
g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2   -o time_hash_map  time_hash_map-time_hash_map.o
make  install-am
test -z "/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/lib" || /bin/sh ./mkinstalldirs "/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/lib"
mkdir /Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed
mkdir /Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/lib
test -z "/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1" || /bin/sh ./mkinstalldirs "/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1"
mkdir /Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share
mkdir /Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc
mkdir /Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1
 /usr/bin/install -c -m 644 'AUTHORS' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/AUTHORS'
 /usr/bin/install -c -m 644 'COPYING' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/COPYING'
 /usr/bin/install -c -m 644 'ChangeLog' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/ChangeLog'
 /usr/bin/install -c -m 644 'INSTALL' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/INSTALL'
 /usr/bin/install -c -m 644 'NEWS' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/NEWS'
 /usr/bin/install -c -m 644 'README' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/README'
 /usr/bin/install -c -m 644 'README_windows.txt' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/README_windows.txt'
 /usr/bin/install -c -m 644 'TODO' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/TODO'
 /usr/bin/install -c -m 644 'doc/dense_hash_map.html' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/dense_hash_map.html'
 /usr/bin/install -c -m 644 'doc/dense_hash_set.html' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/dense_hash_set.html'
 /usr/bin/install -c -m 644 'doc/sparse_hash_map.html' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/sparse_hash_map.html'
 /usr/bin/install -c -m 644 'doc/sparse_hash_set.html' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/sparse_hash_set.html'
 /usr/bin/install -c -m 644 'doc/sparsetable.html' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/sparsetable.html'
 /usr/bin/install -c -m 644 'doc/implementation.html' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/implementation.html'
 /usr/bin/install -c -m 644 'doc/performance.html' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/performance.html'
 /usr/bin/install -c -m 644 'doc/index.html' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/index.html'
 /usr/bin/install -c -m 644 'doc/designstyle.css' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/designstyle.css'
test -z "/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google" || /bin/sh ./mkinstalldirs "/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google"
mkdir /Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include
mkdir /Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google
 /usr/bin/install -c -m 644 'src/google/dense_hash_map' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/dense_hash_map'
 /usr/bin/install -c -m 644 'src/google/dense_hash_set' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/dense_hash_set'
 /usr/bin/install -c -m 644 'src/google/sparse_hash_map' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparse_hash_map'
 /usr/bin/install -c -m 644 'src/google/sparse_hash_set' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparse_hash_set'
 /usr/bin/install -c -m 644 'src/google/sparsetable' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsetable'
 /usr/bin/install -c -m 644 'src/google/type_traits.h' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/type_traits.h'
test -z "/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsehash" || /bin/sh ./mkinstalldirs "/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsehash"
mkdir /Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsehash
 /usr/bin/install -c -m 644 'src/google/sparsehash/sparseconfig.h' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsehash/sparseconfig.h'
test -z "/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsehash" || /bin/sh ./mkinstalldirs "/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsehash"
 /usr/bin/install -c -m 644 'src/google/sparsehash/densehashtable.h' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsehash/densehashtable.h'
 /usr/bin/install -c -m 644 'src/google/sparsehash/sparsehashtable.h' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsehash/sparsehashtable.h'
 /usr/bin/install -c -m 644 'src/google/sparsehash/hashtable-common.h' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsehash/hashtable-common.h'
 /usr/bin/install -c -m 644 'src/google/sparsehash/libc_allocator_with_realloc.h' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsehash/libc_allocator_with_realloc.h'
extconf.rb:110:in `<main>': Use RbConfig instead of obsolete and deprecated Config.
extconf.rb:110:in `<main>': Use RbConfig instead of obsolete and deprecated Config.
checking for tr1/functional... yes
checking for functional... yes
creating Makefile

make "DESTDIR="
compiling dense_double_to_double.cpp
In file included from dense_double_to_double.cpp:2:
./local_installed/include/google/dense_hash_map:106:10: fatal error: 'tr1/functional' file not found
#include HASH_FUN_H                  // defined in config.h
         ^
./local_installed/include/google/sparsehash/sparseconfig.h:10:20: note: expanded from macro 'HASH_FUN_H'
#define HASH_FUN_H <tr1/functional>
                   ^
1 error generated.
make: *** [dense_double_to_double.o] Error 1

Gem files will remain installed in /Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1 for inspection.
Results logged to /Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/gem_make.out

An error occurred while installing google_hash (0.8.1), and Bundler
cannot continue.
Make sure that `gem install google_hash -v '0.8.1'` succeeds before
bundling.
rdp commented 10 years ago

could you try 0.8.2 plz?

On Mon, May 26, 2014 at 8:45 AM, axos88 notifications@github.com wrote:

Hello!

Currently I am unable to use this gem because 0.8.1 does not build on MAC OS X, whereas master does. Please release master as 0.8.2 so it's possible to release gems dependent on this gem.

akovanm0:wp-hit-counter avandra$ bundle Fetching gem metadata from http://rubygems.util.pages/..... Fetching gem metadata from http://rubygems.org/........git a Fetching additional metadata from http://rubygems.util.pages/.dd Ge. Fetching additional metadata from http://rubygems.org/.m ......... Resolving dependencies... Using rake (10.1.1) Using i18n (0.6.9) Using json (1.8.1) Using minitest (5.3.4) Using thread_safe (0.3.3) Using tzinfo (1.1.0) Using activesupport (4.1.1) Using builder (3.1.4) Using activemodel (4.1.1) Using backports (3.6.0) Using columnize (0.3.6) Using daemons (1.1.9) Using debugger-linecache (1.2.0) Using debugger-ruby_core_source (1.3.2) Using debugger (1.6.6) Using diff-lcs (1.2.5) Using docile (1.1.3) Using eventmachine (1.0.3) Using httpclient (2.3.4.1) Using rack (1.5.2) Using rack-protection (1.5.2) Using tilt (1.4.1) Using sinatra (1.4.4) Using geminabox (0.8.3.wp) Using gemtools (1.2.0) Using global_phone (1.0.1) Using os (0.9.6) Using sane (0.25.6)

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

/Users/avandra/.rvm/rubies/ruby-2.0.0-p353/bin/ruby extconf.rb

building local copy/version of google sparse/dense hash library sh configure --prefix=/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 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 memcpy... yes checking for memmove... 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 for uint16_t... yes checking for u_int16_t... yes checking for __uint16... no checking for long long... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for unistd.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking how to run the C++ preprocessor... g++ -E checking google/malloc_extension.h usability... no checking google/malloc_extension.h presence... no checking for google/malloc_extension.h... no checking whether the compiler implements namespaces... yes checking the location of hash_map... <tr1/unordered_map> checking how to include hash_fun directly... <tr1/functional> checking what namespace STL code is in... std configure: creating ./config.status config.status: creating Makefile config.status: creating src/config.h config.status: executing depfiles commands [ -d src/google/sparsehash ] || mkdir -p src/google/sparsehash echo "/" > src/google/sparsehash/_sparsehash_config echo " * NOTE: This file is for internal use only." >> src/google/sparsehash/_sparsehash_config echo " * Do not use these #defines in your own program!" >> src/google/sparsehash/_sparsehash_config echo " /" >> src/google/sparsehash/_sparsehash_config awk '{prevline=currline; currline=$0;} \ /^#/ {in_second_file = 1;} \ !in_second_file {if (currline !~ /^ *$/) {inc[currline]=0}}; \ in_second_file { for (i in inc) { \ if (index(currline, i) != 0) { \ print "\n"prevline"\n"currline; \ delete inc[i]; \ } \ } }' \ ./src/config.h.include ./src/config.h \

src/google/sparsehash/_sparsehash_config mv -f src/google/sparsehash/_sparsehash_config src/google/sparsehash/sparseconfig.h make all-am if g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -MT type_traits_unittest.o -MD -MP -MF ".deps/type_traits_unittest.Tpo" -c -o type_traits_unittest.o test -f 'src/type_traits_unittest.cc' || echo './'src/type_traits_unittest.cc; \ then mv -f ".deps/type_traits_unittest.Tpo" ".deps/type_traits_unittest.Po"; else rm -f ".deps/type_traits_unittest.Tpo"; exit 1; fi src/type_traitsunittest.cc:64:7: warning: private field 'n' is not used [-Wunused-private-field] int n_; ^ src/type_traitsunittest.cc:74:7: warning: private field 'n' is not used [-Wunused-private-field] int n_; ^ src/type_traitsunittest.cc:88:7: warning: private field 'n' is not used [-Wunused-private-field] int n_; ^ src/type_traitsunittest.cc:114:7: warning: private field 'n' is not used [-Wunused-private-field] int n_; ^ 4 warnings generated. g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -o type_traits_unittest type_traits_unittest.o if g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -MT libc_allocator_with_realloc_test.o -MD -MP -MF ".deps/libc_allocator_with_realloc_test.Tpo" -c -o libc_allocator_with_realloc_test.o test -f 'src/libc_allocator_with_realloc_test.cc' || echo './'src/libc_allocator_with_realloc_test.cc; \ then mv -f ".deps/libc_allocator_with_realloc_test.Tpo" ".deps/libc_allocator_with_realloc_test.Po"; else rm -f ".deps/libc_allocator_with_realloc_test.Tpo"; exit 1; fi g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -o libc_allocator_with_realloc_test libc_allocator_with_realloc_test.o if g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -MT sparsetable_unittest.o -MD -MP -MF ".deps/sparsetable_unittest.Tpo" -c -o sparsetable_unittest.o test -f 'src/sparsetable_unittest.cc' || echo './'src/sparsetable_unittest.cc; \ then mv -f ".deps/sparsetable_unittest.Tpo" ".deps/sparsetable_unittest.Po"; else rm -f ".deps/sparsetable_unittest.Tpo"; exit 1; fi In file included from src/sparsetable_unittest.cc:50: ./src/google/sparsetable:1087:36: warning: unused parameter 'ptr' [-Wunused-parameter] pointer realloc_or_die(pointer ptr, size_type n) { ^ ./src/google/sparsetable:1087:51: warning: unused parameter 'n' [-Wunused-parameter] pointer realloc_or_die(pointer ptr, size_type n) { ^ 2 warnings generated. g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -o sparsetable_unittest sparsetable_unittest.o if g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -MT hashtable_test.o -MD -MP -MF ".deps/hashtable_test.Tpo" -c -o hashtable_test.o test -f 'src/hashtable_test.cc' || echo './'src/hashtable_test.cc; \ then mv -f ".deps/hashtable_test.Tpo" ".deps/hashtable_test.Po"; else rm -f ".deps/hashtable_test.Tpo"; exit 1; fi In file included from src/hashtable_test.cc:63: ./src/google/sparsetable:1087:36: warning: unused parameter 'ptr' [-Wunused-parameter] pointer realloc_or_die(pointer ptr, size_type n) { ^ ./src/google/sparsetable:1087:51: warning: unused parameter 'n' [-Wunused-parameter] pointer realloc_or_die(pointer ptr, size_type n) { ^ In file included from src/hashtable_test.cc:64: In file included from ./src/hash_test_interface.h:55: ./src/google/sparsehash/densehashtable.h:1061:29: warning: unused parameter 'fp' [-Wunused-parameter] bool write_metadata(FILE fp) { ^ ./src/google/sparsehash/densehashtable.h:1066:28: warning: unused parameter 'fp' [-Wunused-parameter] bool read_metadata(FILE fp) { ^ ./src/google/sparsehash/densehashtable.h:1118:36: warning: unused parameter 'ptr' [-Wunused-parameter] pointer realloc_or_die(pointer ptr, size_type n) { ^ ./src/google/sparsehash/densehashtable.h:1118:51: warning: unused parameter 'n' [-Wunused-parameter] pointer realloc_or_die(pointer ptr, size_type n) { ^ In file included from src/hashtable_test.cc:64: ./src/hash_test_interface.h:425:50: warning: unused parameter 'k' [-Wunused-parameter] void set_empty_key(const typename p::key_type& k) { } ^ ./src/hash_test_interface.h:528:50: warning: unused parameter 'k' [-Wunused-parameter] void set_empty_key(const typename p::key_type& k) { } ^ ./src/hash_test_interface.h:640:50: warning: unused parameter 'k' [-Wunused-parameter] void set_empty_key(const typename p::key_type& k) { } ^ ./src/hash_test_interface.h:737:58: warning: unused parameter 'fp' [-Wunused-parameter] template bool write_metadata(OUTPUT fp) { return false; } ^ ./src/hash_test_interface.h:738:55: warning: unused parameter 'fp' [-Wunused-parameter] template bool read_metadata(INPUT fp) { return false; } ^ ./src/hash_test_interface.h:839:58: warning: unused parameter 'fp' [-Wunused-parameter] template bool write_metadata(OUTPUT fp) { return false; } ^ ./src/hash_test_interface.h:840:55: warning: unused parameter 'fp' [-Wunused-parameter] template bool read_metadata(INPUT fp) { return false; } ^ ./src/hash_test_interface.h:964:58: warning: unused parameter 'fp' [-Wunused-parameter] template bool write_metadata(OUTPUT fp) { return false; } ^ ./src/hash_test_interface.h:965:55: warning: unused parameter 'fp' [-Wunused-parameter] template bool read_metadata(INPUT fp) { return false; } ^ 15 warnings generated. g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -o hashtable_test hashtable_test.o if g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -MT simple_test.o -MD -MP -MF ".deps/simple_test.Tpo" -c -o simple_test.o test -f 'src/simple_test.cc' || echo './'src/simple_test.cc; \ then mv -f ".deps/simple_test.Tpo" ".deps/simple_test.Po"; else rm -f ".deps/simple_test.Tpo"; exit 1; fi In file included from src/simple_test.cc:39: In file included from ./src/google/sparse_hash_set:100: In file included from ./src/google/sparsehash/sparsehashtable.h:117: ./src/google/sparsetable:1087:36: warning: unused parameter 'ptr' [-Wunused-parameter] pointer realloc_or_die(pointer ptr, size_type n) { ^ ./src/google/sparsetable:1087:51: warning: unused parameter 'n' [-Wunused-parameter] pointer realloc_or_die(pointer ptr, size_type n) { ^ In file included from src/simple_test.cc:41: In file included from ./src/google/dense_hash_set:112: ./src/google/sparsehash/densehashtable.h:1061:29: warning: unused parameter 'fp' [-Wunused-parameter] bool write_metadata(FILE fp) { ^ ./src/google/sparsehash/densehashtable.h:1066:28: warning: unused parameter 'fp' [-Wunused-parameter] bool read_metadata(FILE fp) { ^ ./src/google/sparsehash/densehashtable.h:1118:36: warning: unused parameter 'ptr' [-Wunused-parameter] pointer realloc_or_die(pointer ptr, size_type n) { ^ ./src/google/sparsehash/densehashtable.h:1118:51: warning: unused parameter 'n' [-Wunused-parameter] pointer realloc_or_die(pointer ptr, size_type n) { ^ 6 warnings generated. g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -o simple_test simple_test.o if g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -MT time_hash_map-time_hash_map.o -MD -MP -MF ".deps/time_hash_map-time_hash_map.Tpo" -c -o time_hash_map-time_hash_map.o test -f 'src/time_hash_map.cc' || echo './'src/time_hash_map.cc; \ then mv -f ".deps/time_hash_map-time_hash_map.Tpo" ".deps/time_hash_map-time_hash_map.Po"; else rm -f ".deps/time_hash_map-time_hash_map.Tpo"; exit 1; fi In file included from src/time_hash_map.cc:72: In file included from ./src/google/sparse_hash_map:96: In file included from ./src/google/sparsehash/sparsehashtable.h:117: ./src/google/sparsetable:1087:36: warning: unused parameter 'ptr' [-Wunused-parameter] pointer realloc_or_die(pointer ptr, size_type n) { ^ ./src/google/sparsetable:1087:51: warning: unused parameter 'n' [-Wunused-parameter] pointer realloc_or_die(pointer ptr, size_type n) { ^ In file included from src/time_hash_map.cc:75: In file included from ./src/google/dense_hash_map:108: ./src/google/sparsehash/densehashtable.h:1061:29: warning: unused parameter 'fp' [-Wunused-parameter] bool write_metadata(FILE fp) { ^ ./src/google/sparsehash/densehashtable.h:1066:28: warning: unused parameter 'fp' [-Wunused-parameter] bool read_metadata(FILE fp) { ^ ./src/google/sparsehash/densehashtable.h:1118:36: warning: unused parameter 'ptr' [-Wunused-parameter] pointer realloc_or_die(pointer ptr, size_type n) { ^ ./src/google/sparsehash/densehashtable.h:1118:51: warning: unused parameter 'n' [-Wunused-parameter] pointer realloc_or_die(pointer ptr, size_type n) { ^ 6 warnings generated. g++ -Wall -W -Wwrite-strings -Woverloaded-virtual -Wshadow -g -O2 -o time_hash_map time_hash_map-time_hash_map.o make install-am test -z "/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/lib" || /bin/sh ./mkinstalldirs "/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/lib" mkdir /Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed mkdir /Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/lib test -z "/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1" || /bin/sh ./mkinstalldirs "/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1" mkdir /Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share mkdir /Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc mkdir /Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1 /usr/bin/install -c -m 644 'AUTHORS' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/AUTHORS' /usr/bin/install -c -m 644 'COPYING' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/COPYING' /usr/bin/install -c -m 644 'ChangeLog' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/ChangeLog' /usr/bin/install -c -m 644 'INSTALL' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/INSTALL' /usr/bin/install -c -m 644 'NEWS' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/NEWS' /usr/bin/install -c -m 644 'README' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/README' /usr/bin/install -c -m 644 'README_windows.txt' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/README_windows.txt' /usr/bin/install -c -m 644 'TODO' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/TODO' /usr/bin/install -c -m 644 'doc/dense_hash_map.html' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/dense_hash_map.html' /usr/bin/install -c -m 644 'doc/dense_hash_set.html' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/dense_hash_set.html' /usr/bin/install -c -m 644 'doc/sparse_hash_map.html' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/sparse_hash_map.html' /usr/bin/install -c -m 644 'doc/sparse_hash_set.html' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/sparse_hash_set.html' /usr/bin/install -c -m 644 'doc/sparsetable.html' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/sparsetable.html' /usr/bin/install -c -m 644 'doc/implementation.html' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/implementation.html' /usr/bin/install -c -m 644 'doc/performance.html' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/performance.html' /usr/bin/install -c -m 644 'doc/index.html' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/index.html' /usr/bin/install -c -m 644 'doc/designstyle.css' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/share/doc/sparsehash-1.8.1/designstyle.css' test -z "/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google" || /bin/sh ./mkinstalldirs "/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google" mkdir /Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include mkdir /Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google /usr/bin/install -c -m 644 'src/google/dense_hash_map' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/dense_hash_map' /usr/bin/install -c -m 644 'src/google/dense_hash_set' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/dense_hash_set' /usr/bin/install -c -m 644 'src/google/sparse_hash_map' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparse_hash_map' /usr/bin/install -c -m 644 'src/google/sparse_hash_set' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparse_hash_set' /usr/bin/install -c -m 644 'src/google/sparsetable' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsetable' /usr/bin/install -c -m 644 'src/google/type_traits.h' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/type_traits.h' test -z "/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsehash" || /bin/sh ./mkinstalldirs "/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsehash" mkdir /Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsehash /usr/bin/install -c -m 644 'src/google/sparsehash/sparseconfig.h' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsehash/sparseconfig.h' test -z "/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsehash" || /bin/sh ./mkinstalldirs "/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsehash" /usr/bin/install -c -m 644 'src/google/sparsehash/densehashtable.h' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsehash/densehashtable.h' /usr/bin/install -c -m 644 'src/google/sparsehash/sparsehashtable.h' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsehash/sparsehashtable.h' /usr/bin/install -c -m 644 'src/google/sparsehash/hashtable-common.h' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsehash/hashtable-common.h' /usr/bin/install -c -m 644 'src/google/sparsehash/libc_allocator_with_realloc.h' '/Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/local_installed/include/google/sparsehash/libc_allocator_with_realloc.h' extconf.rb:110:in <main>': Use RbConfig instead of obsolete and deprecated Config. extconf.rb:110:in

': Use RbConfig instead of obsolete and deprecated Config. checking for tr1/functional... yes checking for functional... yes creating Makefile

make "DESTDIR=" compiling dense_double_to_double.cpp In file included from dense_double_to_double.cpp:2: ./local_installed/include/google/dense_hash_map:106:10: fatal error: 'tr1/functional' file not found

include HASH_FUN_H // defined in config.h

     ^

./local_installed/include/google/sparsehash/sparseconfig.h:10:20: note: expanded from macro 'HASH_FUN_H'

define HASH_FUN_H <tr1/functional>

               ^

1 error generated. make: *\ [dense_double_to_double.o] Error 1

Gem files will remain installed in /Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1 for inspection. Results logged to /Users/avandra/.rvm/gems/ruby-2.0.0-p353@hit_counter/gems/google_hash-0.8.1/ext/gem_make.out

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

— Reply to this email directly or view it on GitHubhttps://github.com/rdp/google_hash/issues/26 .

axos88 commented 10 years ago

works, thanks