Re: pgcrypto 3des failure, OpenSSL 0.9.8, Solaris 9/sparc

Marko Kreen <marko@l-t.ee>

From: Marko Kreen <marko@l-t.ee>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Fuhr <mike@fuhr.org>, pgsql-hackers@postgresql.org
Date: 2005-07-06T10:42:49Z
Lists: pgsql-hackers

Attachments

On Tue, Jul 05, 2005 at 07:20:48PM -0400, Tom Lane wrote:
> Marko Kreen <marko@l-t.ee> writes:
> > Ok Tom, you win.  It is indeed possible to make it work, and the
> > resulting makefile is even cleaner than before.
> > Following patch thus autoconfigures pgcrypto.  It drops the
> > possibility to use libc's crypt, which was pointless.
> 
> Applied with a little extra hacking (completely overriding the original
> values of PG_CPPFLAGS and SHLIB_LINK was unwise, and in fact guaranteed
> to fail on machines where OpenSSL isn't in the default location).

Your PG_CPPFLAGS change does not work - it gets always RAND_SILLY.
If I change it from := to =,  make complains about recursion.

-- 
marko