Thread: Error compiling 7.3.4 on Solaris 9
I am having problems compiling Postgres 7.3.4 on a Sun Fire V120 running Solaris 9. ./configure --with-java --with-openssl=/usr/local/ssl --enable-syslog --disable-shared --enable-locale --enable-multibyte Configure goes OK, but when #gmake .... following error: make[2]: Entering directory `~/src/postgresql-7.3.4/src/interfaces' make[3]: Entering directory `~/src/postgresql-7.3.4/src/interfaces/libpq' gcc -Wall -Wmissing-prototypes -Wmissing-declarations -fPIC -I. -I../../../src/include -I/usr/local/ssl/include -DFRONTEND-DSYSCONFDIR='"/usr/local/pgsql/etc"' -c -o fe-connect.o fe-connect.c In file included from fe-connect.c:46: /usr/include/crypt.h:22: parse error before `(' /usr/include/crypt.h:22: parse error before `const' make[3]: *** [fe-connect.o] Error 1
=?windows-1251?Q?=CA=F0=E8=E2=EE=F8=E5=E5=E2_=CF=E0=E2=E5=EB?= <pasha@mts.by> writes: > I am having problems compiling Postgres 7.3.4 on a Sun Fire V120 > running Solaris 9. Take out the inclusion of <crypt.h> in fe-connect.c. This probably should be back-patched into 7.3.5: 2003-06-23 13:03 momjian * src/interfaces/libpq/fe-connect.c: Remove crypt.h from fe-connect.c --- not needed, and caused problems on Solaris with Open SSL version 0.9.7b regards, tom lane