I'm on a brand new Mini on 11.2.2 and I can't get pg installed.  I would 
have expected this to have been fully tackled by now, so it surprised me 
when I can't install the pg gem.  So you've had no issues?  That's odd.  
What version of ruby?  

*~/Sites/hq ❯ gem install pg                                                
                             11:03:07*
*Building native extensions. This could take a while...*
*ERROR:  Error installing pg:*
* ERROR: Failed to build gem native extension.*

*    current directory: 
/Users/rich/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/pg-1.2.3/ext*
*/Users/rich/.rbenv/versions/2.7.2/bin/ruby -I 
/Users/rich/.rbenv/versions/2.7.2/lib/ruby/2.7.0 -r 
./siteconf20210309-44451-mb2alo.rb extconf.rb*
*checking for pg_config... no*
*No pg_config... trying anyway. If building fails, please try again with*
* --with-pg-config=/path/to/pg_config*
*checking for libpq-fe.h... no*
*Can't find the 'libpq-fe.h header*
**** 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/rich/.rbenv/versions/2.7.2/bin/$(RUBY_BASE_NAME)*
* --with-pg*
* --without-pg*
* --enable-windows-cross*
* --disable-windows-cross*
* --with-pg-config*
* --without-pg-config*
* --with-pg_config*
* --without-pg_config*
* --with-pg-dir*
* --without-pg-dir*
* --with-pg-include*
* --without-pg-include=${pg-dir}/include*
* --with-pg-lib*
* --without-pg-lib=${pg-dir}/lib*

*To see why this extension failed to compile, please check the mkmf.log 
which can be found here:*

*  
/Users/rich/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/extensions/arm64-darwin-20/2.7.0/pg-1.2.3/mkmf.log*

*extconf failed, exit code 1*

*Gem files will remain installed in 
/Users/rich/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/pg-1.2.3 for 
inspection.*
*Results logged to 
/Users/rich/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/extensions/arm64-darwin-20/2.7.0/pg-1.2.3/gem_make.out*

*~/Sites/hq ❯ nginx -v                                                      
                             11:03:10*
*nginx version: nginx/1.19.7*


On Tuesday, March 9, 2021 at 12:43:44 PM UTC-5 adam.me...@gmail.com wrote:

> No issues that I've seen, with either pg or sequel gems.
>
> I have had issues with the unf_ext gem, and some v8 gems for therubyracer.
>
> On Tuesday, March 9, 2021 at 12:21:55 PM UTC-5 bee...@gmail.com wrote:
>
>> Hi folks.  Just wondering if M1 silicon is supported yet.  I haven't 
>> tried as there are issues with the PG gem, either path or the gem itself.  
>> I thought I would investigate any potential issues with M1.  
>>
>> Cheers
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sequel-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/ce126a8e-6385-4c6d-8eff-9347e509f093n%40googlegroups.com.

Reply via email to