Hello all,
Last week I emailed this list with this same question. However, our
mail server crashed and we are now just getting back up. Anyway, here
is my situation again:
I am trying to compile postgresql 7.2.1 on a Solaris 8 box. Postgresql itself
compiles just fine. However, I need the perl interface for postgres. So when
I tried to compile postgresql with the perl interface (using ./configure --with-perl) I received the following
message:
cc: unrecognized option `-KPIC'
cc: language depend not recognized
cc: Pg.c: linker input file unused since linking not done
cc -o blib/arch/auto/Pg/Pg.so -G Pg.o -R/usr/local/pgsql/lib -L/tmp/postgresql-7.2.1/src/interfaces/libpq -lpq
cc: Pg.o: No such file or directory
make[4]: *** [blib/arch/auto/Pg/Pg.so] Error 1
I have gcc-2.95.1 for my compiler that I downloaded from www.sunfreeware.com.
Any help on this problem is greatly appreciated.
Ryan