From: | "Magnus Hagander" <mha(at)sollentuna(dot)net> |
---|---|
To: | "Cyrille Chepelov" <cyrille(at)chepelov(dot)org>, <pgsql-hackers-win32(at)postgresql(dot)org> |
Subject: | Re: Build failure |
Date: | 2004-04-02 07:55:33 |
Message-ID: | 6BCB9D8A16AC4241919521715F4D8BCE34B660@algol.sollentuna.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers-win32 |
Hi!
The line:
../../src/include/c.h:80:26: pg_config_os.h: No such file or directory
looks like your configure failed. It should include pg_config_os.h -
configure will symlink (which on mingw means copy, more or less)
port/win32.h. You could manually copy port/win32.h to pg_config_os.h,
but if configure is failing, I'm sure there will be other issues.
This includefile is very critical - it contains most of the definitions
for win32 fixes. So just dropping an empty file in there will give you a
lot of more problems than just gettimeofday.
Did configure give you any errors or warnings?
//Magnus
> -----Original Message-----
> From: Cyrille Chepelov [mailto:cyrille(at)chepelov(dot)org]
> Sent: Thursday, April 01, 2004 5:49 PM
> To: pgsql-hackers-win32(at)postgresql(dot)org
> Subject: [pgsql-hackers-win32] Build failure
>
>
> Greetings,
>
> I'm trying without much luck to compile the 31MAR04 snapshot
> of PostgreSQL on a Win2K box.
>
> I have installed MSYS-1.09 MSYS-DTK-1.01, GNU Bison 1.875.0,
> MinGW 3.1.0, some Perl interpreter (I think I'm using the one
> from Cygwin, hopefully that's OK), and ./configure'd
> --without-zlib, and typed make.
>
> Got the attached error log.
>
> Re-ran make with -k, then again, and got the second error log.
>
> Fiddled with -DWIN32, with spraying #defines -- no dice, c.h
> always ends up including pg_config_os.h
>
> I ended up touching pg_config_os.h to see where this would
> lead, but gettimeofday.c wasn't happy.
>
> Obviously, I missed an obvious step somewhere?
>
> -- Cyrille
>
> --
>
From | Date | Subject | |
---|---|---|---|
Next Message | Claudio Natoli | 2004-04-02 08:22:24 | Re: Build failure |
Previous Message | Magnus Hagander | 2004-04-02 07:51:57 | Re: PostgreSQL Win32 Port / psqlODBC driver |