I'm using 8.3.5 on OS X and get clean compiles for do_postgres. I now use the installer found at http://www.enterprisedb.com/products/pgdownload.do#osx
I had written a blog post on source installing postgres on OS X http://odwks.com/2008/10/postgresql-install-on-os-x/ Unfortunately, there seems to be a buggy part in setting up the postgres user. Not sure, so I quit trying to install from source and went to the "one-click" install as pointed out above. hope this helps, Jon On Dec 28, 9:40 am, gnutse <[email protected]> wrote: > Anyone have any luck building do_postgres for postgresql 8.3.5 on os x? > > pg_config is in my path, but I am getting this error in my mkmf.log: > > have_library: checking for main() in -llibpq... -------------------- no > > "/usr/bin/gcc-4.0 -o conftest -I. -I/opt/local/lib/ruby/1.8/i686- > darwin9.2.2 -I. -I/opt/local/include/postgresql83 -I/opt/local/include > -O2 -fno-common -pipe -fno-common conftest.c -L\".\" -L\"/opt/local/ > lib\" -L\"/opt/local/lib/postgresql83\" -L. -L/opt/local/lib - > lruby-static -llibpq -lpthread -ldl -lobjc " > ld: library not found for -llibpq > collect2: ld returned 1 exit status > checked program was: > /* begin */ > 1: /*top*/ > 2: int main() { return 0; } > 3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } > /* end */ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
