Обсуждение: Error compiling 7.3.4 on Solaris 8

Поиск
Список
Период
Сортировка

Error compiling 7.3.4 on Solaris 8

От
Sam Carleton
Дата:
I am having problems compiling Postgres 7.3.4 on a UltraSPARC 10
running Solaris 8.  It compiled fine when I only compiled with perl
and python, but when I try to recompile with ssl, I get errors:

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

I have openssl 0.9.7 installed on the machine.

Sam