From: Tomasz Ostrowski <tometzky@batory.org.pl>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #6486: configure - unable to cross-compile postgresql with openssl using Fedora MinGW
Date: Thu, 23 Feb 2012 19:59:12 +0100
Message-ID: <4F468C80.6040406@batory.org.pl> (raw)
In-Reply-To: <E1S0dlT-0001ls-JY@wrigleys.postgresql.org>
References: <E1S0dlT-0001ls-JY@wrigleys.postgresql.org>
On 2012-02-23 19:51, tometzky@batory.org.pl wrote:
> I've attached a proposed patch for configure.in
The bug reporting form has word-wrapped my patch - I'm attaching a
correct version.
> 4. Run using "System Tools\Terminal":
> su -c 'yum -y install mingw32-gcc mingw32-openssl gcc'
Sorry - make this:
su -c 'yum -y install mingw32-gcc mingw32-openssl'
"gcc" isn't needed - much less to download.
Regards
Tometzky
--
...although Eating Honey was a very good thing to do, there was a
moment just before you began to eat it which was better than when you
were...
Winnie the Pooh
Attachments:postgresql-configure-openssl-windows.patch (text/x-patch, 956B) download
diff -urNP postgresql-9.1.2.orig/configure.in postgresql-9.1.2/configure.in
--- postgresql-9.1.2.orig/configure.in 2011-12-01 22:47:20.000000000 +0100+++ postgresql-9.1.2/configure.in 2012-02-23 19:24:43.708343882 +0100@@ -945,8 +945,8 @@
AC_CHECK_LIB(crypto, CRYPTO_new_ex_data, [], [AC_MSG_ERROR([library 'crypto' is required for OpenSSL])])
AC_CHECK_LIB(ssl, SSL_library_init, [], [AC_MSG_ERROR([library 'ssl' is required for OpenSSL])])
else
- AC_CHECK_LIB(eay32, CRYPTO_new_ex_data, [], [AC_MSG_ERROR([library 'eay32' is required for OpenSSL])])- AC_CHECK_LIB(ssleay32, SSL_library_init, [], [AC_MSG_ERROR([library 'ssleay32' is required for OpenSSL])])+ AC_CHECK_LIB(CRYPTO_new_ex_data, crypto eay32, [], [AC_MSG_ERROR([library 'crypto' or 'eay32' is required for OpenSSL])])+ AC_CHECK_LIB(SSL_library_init, ssl ssleay32, [], [AC_MSG_ERROR([library 'ssl' or 'ssleay32' is required for OpenSSL])])
fi
fi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tometzky@batory.org.pl
Subject: Re: BUG #6486: configure - unable to cross-compile postgresql with openssl using Fedora MinGW
In-Reply-To: <4F468C80.6040406@batory.org.pl>
References: <E1S0dlT-0001ls-JY@wrigleys.postgresql.org> <4F468C80.6040406@batory.org.pl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox