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

Missing sqlite3ext.h on bundle install #44

Open
benjaminjackson opened this issue May 12, 2014 · 12 comments
Open

Missing sqlite3ext.h on bundle install #44

benjaminjackson opened this issue May 12, 2014 · 12 comments
Labels
Projects

Comments

@benjaminjackson
Copy link

Here's the full output: https://gist.github.com/benjaminjackson/597ac027fb1a1e088fcd

I have sqlite3 installed and /usr/include/sqlite3ext.h exists.

@benjaminjackson
Copy link
Author

Small note: bundle install works with the v1.0.8 tag, just not with the latest one.

@dolzenko
Copy link

dolzenko commented Sep 7, 2014

@andreas-venturini posted solution at that gist

On Ubuntu install libjpeg-dev and libpng-dev

@westonplatter
Copy link
Owner

@benjaminjackson based on @dolzenko's comment, did it work for you?

@ghost
Copy link

ghost commented Dec 8, 2014

Any update on this?

@ypresto
Copy link

ypresto commented Jun 14, 2015

I was missing both 'brew install libjpeg' and 'brew install libpng'

I installed libjpeg into ~/homebrew but this gem does not obey --with-cppflags and says could not find header file. (Note that it obeys --with-ldflags)

@MaxPleaner
Copy link

The readme says that Phasion's dependencies are installed through a tarball, but this doesn't seem to be the case (for me, running Ruby 2.4 on Ubuntu). I did fix the problem by installing libjpeg-dev and libpng-dev. I was initially confused, though, because the error I got when using gem install phashion was about a missing SQLite header.

@westonplatter
Copy link
Owner

@MaxPleaner yes, that is confusing. I'll check this out on a fresh ubuntu image this weekend.

Maybe there needs to be a note in the readme about a libsqlite3-dev dependency for ubuntu machines.

@westonplatter
Copy link
Owner

@benjaminjackson @MaxPleaner after releasing version 1.2.0,

  • spun up a ubuntu 14.04 instance
  • confirmed I could not install phashsion before installing libjpeg-dev and libpng-dev
  • installed libjpeg-dev and libpng-dev
  • successfully installed phashion

Could you retry with version 1.2.0?

@westonplatter
Copy link
Owner

@MaxPleaner are you still having this issue?

@dreamalligator
Copy link

dreamalligator commented Sep 13, 2017

@westonplatter libjpeg-dev resolved similarly for me. also installed libsqlite3-dev and sqlite3 while doing.

@westonplatter
Copy link
Owner

@nebulousdog thanks for the input. Which OS are you on? Which package resolved the issue for you, libjpeg-dev, libsqlite3-dev, sqlite3? The reason for all the questions is that I'd like to update the readme with changes if any are needed.

@dreamalligator
Copy link

sure dude! I think libjpeg-dev/libsqlite3-dev fixed, and sqlite3 was extra..

$ lsb_release -a 
No LSB modules are available. 
Distributor ID: Ubuntu 
Description: Ubuntu 16.04.3 LTS 
Release: 16.04 
Codename: xenial

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
everything
answersed-todo
Development

No branches or pull requests

6 participants