Compilation fails --with-ssl on Solaris 8 - Mailing list pgsql-bugs

From Arcady Genkin
Subject Compilation fails --with-ssl on Solaris 8
Date
Msg-id r1zpucx8m0x.fsf_-_@gnu.cdf.toronto.edu
Whole thread Raw
List pgsql-bugs
System:

 SunOS 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-Enterprise

Configuration options:

 env CFLAGS='-O2 -pipe' ./configure --prefix=/opt/pgsql \
       --with-perl --with-python --with-CXX \
       --with-openssl=/local/lib/openssl

Compilation fails with the following error:

In file included from crypt.c:27:
/usr/include/crypt.h:23: conflicting types for `des_encrypt'
/local/lib/openssl/include/openssl/des.h:150: previous declaration of `des_encrypt'
make[3]: *** [crypt.o] Error 1
make[3]: Leaving directory `/admin/src/postgresql-7.1.1/src/backend/libpq'
make[2]: *** [libpq-recursive] Error 2
make[2]: Leaving directory `/admin/src/postgresql-7.1.1/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/admin/src/postgresql-7.1.1/src'
make: *** [all] Error 2

--
Arcady Genkin

pgsql-bugs by date:

Previous
From: PETERMACKIE5@cs.com
Date:
Subject: Error message.
Next
From: Paul-Andre Panon
Date:
Subject: SQL update statements are failing if submitted in sequence on same connection