Hi all,
I've been trying to compile a 64bit version of PostgreSQL on Solaris
sparc using Sun compiler 5.5, unfortunately I keep getting errors when
compiling. I can compile PostgreSQL as 32bit without any problems, but
not 64bit.
So I am hoping someone on this list will be able to help. I'm getting
frustrated!
I think I'm using configure wrong. Below are the details on my
environment, and how I try to compile PostgreSQL.
Machine:
SunOS dev 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Fire-V440
Compiler:
cc: Sun C 5.5 2003/03/12
Environment:
PATH=/devtools/WS8.0/SUNWspro/bin/sparcv9:/devtools/WS8.0/SUNWspro/bin:/
usr/bin/sparcv9:/usr/bin:/usr/ccs/bin/sparcv9:/usr/ccs/bin:/usr1/clarka/
bin
LD_LIBRARY_PATH=
LD_LIBRARY_PATH_32=/lib:/devtools/WS8.0/SUNWspro/lib:/devtools/oracle/8.
1.7_64/lib:/devtools/sybase-12_0/OCS-12_0/lib:/usr1/clarka/lib
LD_LIBRARY_PATH_64=/lib/64:/lib/sparcv9:/devtools/WS8.0/SUNWspro/lib/v9:
/devtools/oracle/8.1.7_64/lib64:/devtools/sybase-12_0/OCS-12_5/lib:/devt
ools/sybase-12_0/OCS-12_5/lib3p64:/usr1/clarka/lib
Compiling commands:
./configure CFLAGS="-xtarget=ultra2 -xarch=v9a -xchip=ultra2"
--without-readline --without-zlib --prefix=$HOME/UAT/postgres
--enable-thread-safety --enable-integer-datetimes
make
make install
Thanks,
Andrew