Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Build Project #90

Closed
jherdman opened this issue Jun 24, 2016 · 1 comment
Closed

Cannot Build Project #90

jherdman opened this issue Jun 24, 2016 · 1 comment

Comments

@jherdman
Copy link

In attempting to look into the cause of #89, I cloned the repo and tried to install the dependencies and build the project. The following error is returned:

smart_listing [master] % bundle install
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...
Installing rake 10.3.2
Installing i18n 0.6.11
Using json 1.8.1
Installing minitest 5.4.2
Installing thread_safe 0.3.4
Using tzinfo 1.2.2
Installing activesupport 4.1.6
Using builder 3.2.2
Using erubis 2.7.0
Installing actionview 4.1.6
Installing rack 1.5.2
Installing rack-test 0.6.2
Installing actionpack 4.1.6
Installing mime-types 2.4.3
Using mail 2.6.3
Installing actionmailer 4.1.6
Installing activemodel 4.1.6
Installing arel 5.0.1.20140414130214
Installing activerecord 4.1.6
Installing sass 3.4.7
Installing bootstrap-sass 3.3.0.1
Using bundler 1.10.6
Installing mini_portile 0.6.0
Installing nokogiri 1.6.3.1 with native extensions
Building nokogiri using packaged libraries.

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /Users/james/.rbenv/versions/2.2.2/bin/ruby -r ./siteconf20160624-33154-nch4yy.rb extconf.rb
Building nokogiri using packaged libraries.
-----
libiconv is missing.  please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
*** 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=/Users/james/.rbenv/versions/2.2.2/bin/$(RUBY_BASE_NAME)
    --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

extconf failed, exit code 1

Gem files will remain installed in /Users/james/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.3.1 for inspection.
Results logged to /Users/james/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/extensions/x86_64-darwin-14/2.2.0-static/nokogiri-1.6.3.1/gem_make.out
An error occurred while installing nokogiri (1.6.3.1), and Bundler cannot continue.
Make sure that `gem install nokogiri -v '1.6.3.1'` succeeds before bundling.

I'm installing on OS X El Cap. My hunch is that Nokogiri is quite out of date, though attempting to upgrade it didn't help either.

@ljachymczyk
Copy link
Member

This has nothing to do with Smart Listing. You are simply missing libiconv library in your system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants