I tried —use-system-libraries and got a bit farther. I’ll try it again in case 
it’s just minotaur being sssssslllllllloooooooowwwwww.

Craig

[CraigRussell:whimsy/www/secmail] clr% sudo gem install nokogiri -v '1.6.7' -- 
--use-system-libraries
Building native extensions with: '--use-system-libraries'
This could take a while...
Successfully installed nokogiri-1.6.7
Parsing documentation for nokogiri-1.6.7
unable to convert "\xCA" from ASCII-8BIT to UTF-8 for 
lib/nokogiri/nokogiri.bundle, skipping
Installing ri documentation for nokogiri-1.6.7
1 gem installed
[CraigRussell:whimsy/www/secmail] clr% rake fetch1
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...
Rubygems 2.0.14 is not threadsafe, so your gems will be installed one at a 
time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.
Using rake 10.4.2
Using ast 2.1.0
Using crass 1.0.2
Using execjs 2.6.0
Using ffi 1.9.10
Using json 1.8.3
Using rb-fsevent 0.9.6
Using mime-types 2.99
Using mini_portile2 2.0.0
Using puma 2.15.3
Using rack 1.6.4
Using ruby-ldap 0.9.17
Using tilt 2.0.1
Using thread_safe 0.3.5
Using zip 2.0.2
Using bundler 1.11.0
Using parser 2.2.3.0
Using rb-inotify 0.9.5
Using wunderbar 1.0.10
Using mail 2.6.3
Using nokogiri 1.6.7
Using rack-protection 1.5.3
Using tzinfo 1.2.2
Using ruby2js 2.0.10
Using listen 3.0.5
Installing nokogumbo 1.4.6 with native extensions
Installing sinatra 1.4.6
Using tzinfo-data 1.2015.7
Installing sanitize 4.0.1
Installing whimsy-asf 0.0.69
Bundle updated!
ssh: connect to host minotaur.apache.org port 22: Operation timed out
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at 
/SourceCache/rsync/rsync-45/rsync/io.c(453) [receiver=2.6.9]

> On Dec 13, 2015, at 3:56 PM, Craig L Russell <[email protected]> wrote:
> 
> There’s a big thread on stack overflow about this error, but I’m not sure 
> what to do about it.
> 
> http://stackoverflow.com/questions/5528839/why-does-installing-nokogiri-on-mac-os-fail-with-libiconv-is-missing
> 
> 
> [CraigRussell:whimsy/www/secmail] clr% sudo gem install bundler
> Password:
> Fetching: bundler-1.11.0.gem (100%)
> Successfully installed bundler-1.11.0
> Parsing documentation for bundler-1.11.0
> Installing ri documentation for bundler-1.11.0
> 1 gem installed
> [CraigRussell:whimsy/www/secmail] clr% rake fetch1
> Fetching gem metadata from https://rubygems.org/..........
> Fetching version metadata from https://rubygems.org/...
> Fetching dependency metadata from https://rubygems.org/..
> Resolving dependencies....
> Rubygems 2.0.14 is not threadsafe, so your gems will be installed one at a 
> time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.
> Installing rake 10.4.2
> Using ast 2.1.0
> Installing crass 1.0.2
> Installing execjs 2.6.0
> Installing ffi 1.9.10 with native extensions
> Installing json 1.8.3 with native extensions
> Installing rb-fsevent 0.9.6
> Installing mime-types 2.99
> Installing mini_portile2 2.0.0
> Installing puma 2.15.3 with native extensions
> Using rack 1.6.4
> Using ruby-ldap 0.9.17
> Installing tilt 2.0.1
> Using thread_safe 0.3.5
> Installing zip 2.0.2
> Using bundler 1.11.0
> Using parser 2.2.3.0
> Installing rb-inotify 0.9.5
> Installing wunderbar 1.0.10
> Installing mail 2.6.3
> Installing nokogiri 1.6.7 with native extensions
> 
> Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native 
> extension.
> 
>    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby 
> extconf.rb
> checking if the C compiler accepts ... yes
> checking if the C compiler accepts 
> -Wno-error=unused-command-line-argument-hard-error-in-future... no
> Building nokogiri using packaged libraries.
> Using mini_portile version 2.0.0
> checking for iconv.h... yes
> checking for gzdopen() in -lz... yes
> checking for iconv... no
> -----
> libiconv is missing.  Please locate mkmf.log to investigate how it is failing.
> -----
> *** extconf.rb failed ***
> Could not create Makefile due to some reason, probably lack of necessary
> libraries and/or headers.  Check the mkmf.log file for more details.  You may
> need configuration options.
> 
> Provided configuration options:
>       --with-opt-dir
>       --without-opt-dir
>       --with-opt-include
>       --without-opt-include=${opt-dir}/include
>       --with-opt-lib
>       --without-opt-lib=${opt-dir}/lib
>       --with-make-prog
>       --without-make-prog
>       --srcdir=.
>       --curdir
>       
> --ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
>       --help
>       --clean
>       --use-system-libraries
>       --enable-static
>       --disable-static
>       --with-zlib-dir
>       --without-zlib-dir
>       --with-zlib-include
>       --without-zlib-include=${zlib-dir}/include
>       --with-zlib-lib
>       --without-zlib-lib=${zlib-dir}/lib
>       --enable-cross-build
>       --disable-cross-build
> 
> 
> Gem files will remain installed in 
> /var/folders/mx/t44d3_bs437dpnywzk_mwl_0002msd/T/bundler20151213-26734-1hkrf09nokogiri-1.6.7/gems/nokogiri-1.6.7
>  for inspection.
> Results logged to 
> /var/folders/mx/t44d3_bs437dpnywzk_mwl_0002msd/T/bundler20151213-26734-1hkrf09nokogiri-1.6.7/gems/nokogiri-1.6.7/ext/nokogiri/gem_make.out
> Installing rack-protection 1.5.3
> Using tzinfo 1.2.2
> Installing ruby2js 2.0.10
> Installing listen 3.0.5
> An error occurred while installing nokogiri (1.6.7), and Bundler cannot
> continue.
> Make sure that `gem install nokogiri -v '1.6.7'` succeeds before bundling.
> rake aborted!
> Command failed with status (5): [bundle update...]
> /Users/clr/apache/git/whimsy/www/secmail/Rakefile:11:in `block in <top 
> (required)>'
> Tasks: TOP => fetch1 => bundle => Gemfile.lock
> (See full trace by running task with --trace)
> [CraigRussell:whimsy/www/secmail] clr% sudo gem install nokogiri -v '1.6.7'
> Building native extensions.  This could take a while...
> ERROR:  Error installing nokogiri:
>       ERROR: Failed to build gem native extension.
> 
>    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby 
> extconf.rb
> checking if the C compiler accepts ... yes
> checking if the C compiler accepts 
> -Wno-error=unused-command-line-argument-hard-error-in-future... no
> Building nokogiri using packaged libraries.
> Using mini_portile version 2.0.0
> checking for iconv.h... yes
> checking for gzdopen() in -lz... yes
> checking for iconv... no
> -----
> libiconv is missing.  Please locate mkmf.log to investigate how it is failing.
> -----
> *** extconf.rb failed ***
> Could not create Makefile due to some reason, probably lack of necessary
> libraries and/or headers.  Check the mkmf.log file for more details.  You may
> need configuration options.
> 
> Provided configuration options:
>       --with-opt-dir
>       --without-opt-dir
>       --with-opt-include
>       --without-opt-include=${opt-dir}/include
>       --with-opt-lib
>       --without-opt-lib=${opt-dir}/lib
>       --with-make-prog
>       --without-make-prog
>       --srcdir=.
>       --curdir
>       
> --ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
>       --help
>       --clean
>       --use-system-libraries
>       --enable-static
>       --disable-static
>       --with-zlib-dir
>       --without-zlib-dir
>       --with-zlib-include
>       --without-zlib-include=${zlib-dir}/include
>       --with-zlib-lib
>       --without-zlib-lib=${zlib-dir}/lib
>       --enable-cross-build
>       --disable-cross-build
> 
> 
> Gem files will remain installed in 
> /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.7 for inspection.
> Results logged to 
> /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.7/ext/nokogiri/gem_make.out
> [CraigRussell:whimsy/www/secmail] clr% 
> 
>> On Dec 13, 2015, at 3:15 PM, Sam Ruby <[email protected]> wrote:
>> 
>> On Sun, Dec 13, 2015 at 6:04 PM, Craig L Russell
>> <[email protected]> wrote:
>>> 
>>> Command failed with status (127): [bundle update...]
>> 
>> Looks like I skipped a step: "gem install bundler"
>> 
>> - Sam Ruby
> 
> Craig L Russell
> Architect, Oracle
> http://db.apache.org/jdo
> 408 276-5638 mailto:[email protected]
> P.S. A good JDO? O, Gasp!
> 

Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:[email protected]
P.S. A good JDO? O, Gasp!

Reply via email to