No clue what you mean by *pg developer stuff*. Investigated further to find an issue with *libpq-fe.h* header file. I'm on a new box and haven't installed *postgres* yet, which seems to install the missing header. I would have thought the *pg* gem would have handled that as a dependency all the same.
*~/.r/v/2/l/r/g/2/e/a/2.7.0/pg-1.2.3 ❯ cat mkmf.log 16:53:11* *find_executable: checking for pg_config... -------------------- no* *--------------------* *find_header: checking for libpq-fe.h... -------------------- no* *"clang -o conftest -I/Users/rich/.rbenv/versions/2.7.2/include/ruby-2.7.0/arm64-darwin20 -I/Users/rich/.rbenv/versions/2.7.2/include/ruby-2.7.0/ruby/backward -I/Users/rich/.rbenv/versions/2.7.2/include/ruby-2.7.0 -I. -I/Users/rich/.rbenv/versions/2.7.2/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -fno-common -pipe conftest.c -L. -L/Users/rich/.rbenv/versions/2.7.2/lib -L. -L/Users/rich/.rbenv/versions/2.7.2/lib -fstack-protector-strong -lruby.2.7 "* *checked program was:* */* begin */* *1: #include "ruby.h"* *2:* *3: int main(int argc, char **argv)* *4: {* *5: return !!argv[argc];* *6: }* */* end */* *"clang -E -I/Users/rich/.rbenv/versions/2.7.2/include/ruby-2.7.0/arm64-darwin20 -I/Users/rich/.rbenv/versions/2.7.2/include/ruby-2.7.0/ruby/backward -I/Users/rich/.rbenv/versions/2.7.2/include/ruby-2.7.0 -I. -I/Users/rich/.rbenv/versions/2.7.2/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -fno-common -pipe conftest.c -o conftest.i"* *conftest.c:3:10: fatal error: 'libpq-fe.h' file not found* *#include <libpq-fe.h>* * ^~~~~~~~~~~~* *1 error generated.* *checked program was:* */* begin */* *1: #include "ruby.h"* *2:* *3: #include <libpq-fe.h>* */* end */* *--------------------* *~/.r/v/2/l/r/g/2/e/a/2.7.0/pg-1.2.3 ❯ pwd 16:53:15* */Users/rich/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/extensions/arm64-darwin-20/2.7.0/pg-1.2.3* Anyway, now there's an issue installing postgresql@12. Rabbit hole. On Tuesday, March 9, 2021 at 4:56:02 PM UTC-5 ge...@pier64.com wrote: > I think you don’t hav the PG developer stuff installed. > > 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 > > On Mar 9, 2021, at 1:38 PM, bee...@gmail.com <bee...@gmail.com> wrote: > > 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...@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 > > <https://groups.google.com/d/msgid/sequel-talk/ce126a8e-6385-4c6d-8eff-9347e509f093n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > > -- 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/c2220375-c1ba-4bfa-b8e6-743d40e42d27n%40googlegroups.com.