Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 49B2B1EB83EA for ; Thu, 23 Feb 2012 14:59:28 -0400 (AST) Received: from pancernik.batory.org.pl ([62.89.72.210]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1S0dt0-0002ZW-G7 for pgsql-bugs@postgresql.org; Thu, 23 Feb 2012 18:59:27 +0000 Received: from pancernik.batory.org.pl (localhost [127.0.0.1]) by pancernik.batory.org.pl (8.14.5/8.14.5) with ESMTP id q1NIxCLU019503 for ; Thu, 23 Feb 2012 19:59:12 +0100 Message-ID: <4F468C80.6040406@batory.org.pl> Date: Thu, 23 Feb 2012 19:59:12 +0100 From: Tomasz Ostrowski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: BUG #6486: configure - unable to cross-compile postgresql with openssl using Fedora MinGW References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------080301000001050000080201" X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201202/182 X-Sequence-Number: 32525 This is a multi-part message in MIME format. --------------080301000001050000080201 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit 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 --------------080301000001050000080201 Content-Type: text/x-patch; name="postgresql-configure-openssl-windows.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="postgresql-configure-openssl-windows.patch" 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 --------------080301000001050000080201--