-
Notifications
You must be signed in to change notification settings - Fork 180
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
pg 0.12.1 fails to install with ruby 1.8.7 in Ubuntu 11.10 #97
Comments
Original comment by Anonymous. +1, we are experiencing this issue too. Travis CI tests are failing because of this. Error: pg currently requires the ruby/st.h header Here is the trace from 'bundle install':
|
Original comment by Anonymous. I have the same using REE. With ruby 1.9.2 it installs fine. |
Original comment by Anonymous. I had the same problem. The extconf.rb file in line 64 requires st.h in /ruby: //have_header 'ruby/st.h' or abort "pg currently requires the ruby/st.h header"// However, I think that it must be replaced by, // //have_header 'st.h' or abort "pg currently requires the ruby/st.h header"//// I have made a ruby directory in mkdir /usr/lib/ruby/1.8/x86_64-linux //Building native extensions. This could take a while...// //Successfully installed pg-0.12.1// //1 gem installed// //Installing ri documentation for pg-0.12.1...// //Installing RDoc documentation for pg-0.12.1...// |
Original comment by Michael Granger (Bitbucket: ged, GitHub: ged). Fixed by [[https://bitbucket.org/ged/ruby-pg/changeset/0cf272cb383f|a patch]] from @larskanis. Thanks again Lars! |
Original report by Phong Nguyen (Bitbucket: phongnh, GitHub: phongnh).
The text was updated successfully, but these errors were encountered: