Re: Building with MinGW issue

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: Muhammad Bashir Al-Noimi <mbnoimi(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Building with MinGW issue
Date: 2013-09-23 22:35:18
Message-ID: 5240C226.1010905@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 09/23/2013 02:20 PM, Muhammad Bashir Al-Noimi wrote:
> On 09/23/2013 04:05 AM, Adrian Klaver wrote:
>> If it where me I would try:
>>
>> --with-includes=/c/OpenSSL-Win32/include
>> --with-libraries=/c/OpenSSL-Win32/lib/MinGW
> Thanks a lot Adrian; I successfully configured PG with MinGW & OpenSSL
> but I faced a new obstacle with make command:
>
> In file included from ../../src/include/c.h:851:0,
> from ../../src/include/postgres_fe.h:25,
> from dirmod.c:21:
> ../../src/include/port.h:333:12: note: expected 'struct _stati64 *' but
> argument
> is of type 'struct stat *'
> extern int pgwin32_safestat(const char *path, struct stat * buf);

Best guess is that you have a 32/64 bit mismatch problem. This is
explained here.

http://www.postgresql.org/docs/9.3/interactive/install-windows-full.html#AEN26293

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Muhammad Bashir Al-Noimi 2013-09-23 22:50:24 Re: Building with MinGW issue
Previous Message Adrian Klaver 2013-09-23 22:31:23 Re: reading cvs logs with pgadmin queries