| From: | Nicholas White <n(dot)j(dot)white(at)gmail(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: S_ISLNK |
| Date: | 2012-11-14 16:19:26 |
| Message-ID: | CA+=vxNYLgi=+4+Gw7aCWK+MMryLXBawsg6Df6mC9dxSRKRCtSA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Ah - OK. It turns out I'd run ./configure in the postgresql directory
before running it in my build directory, so I had two (different)
pg_config.hs! The below builds for me from a clean source tree now.
Thanks -
Nick
./path/to/build/configure CC=x86_64-w64-mingw32-gcc
--target=x86_64-w64-mingw32 --build=x86_64-w64-mingw32
--host=x86_64-w64-mingw32 --without-readline --without-zlib
--disable-thread-safety
On 14 November 2012 06:25, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Nicholas White <n(dot)j(dot)white(at)gmail(dot)com> writes:
>> Hi - I'm cross-compiling the master branch (cygwin/mingw) and have found a
>> reference to S_ISLNK that isn't guarded by #ifndef WIN32 like the ones in
>> basebackup.c are.
>
> That whole function is guarded by HAVE_READLINK, so I'm not seeing the
> problem (and neither are the Windows members of the buildfarm). What
> environment are you in that has readlink() and not S_ISLNK?
>
> regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2012-11-14 16:20:59 | Re: WIP patch: add (PRE|POST)PROCESSOR options to COPY |
| Previous Message | Alvaro Herrera | 2012-11-14 15:55:51 | Re: WIP patch: add (PRE|POST)PROCESSOR options to COPY |