Re: [GENERAL] error when compiling a c function

2011-07-27 Thread Sebastian Jaenicke
On Wed, Jul 27, 2011 at 09:34:20AM -0700, Ioana Danes wrote: [..] > #include "/usr/include/pgsql/server/postgres.h" > #include "/usr/include/pgsql/server/fmgr.h" #include "postgres.h" #include "fmgr.h" > #ifdef PG_MODULE_MAGIC #ifndef > PG_MODULE_MAGIC; > #endif ...and compile with -I`pg_confi

Re: [GENERAL] Postgres 9 and postgis1.5.2

2010-11-24 Thread Sebastian Jaenicke
Hi, On Wed, Nov 24, 2010 at 11:34:42AM -0500, akp geek wrote: > One more question. What version of perl do you have? and do we have to > install perl at all or we can use the one that comes with OS? I compiled without perl support; however, the OS-provided perl version should be ok (if you're goi

Re: [GENERAL] Postgres 9 and postgis1.5.2

2010-11-24 Thread Sebastian Jaenicke
On Wed, Nov 24, 2010 at 10:47:18AM -0500, akp geek wrote: [..] > Did any one of you build Postgres 9 and postgis package on > solaris 10? I am planning to do one. Any suggestions? Postgres 9.0 yes, PostGIS no. Sun Studio compiler 12.2, with CFLAGS="-m64 -xO3 -xarch=native" src/in