Re: Build error

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Adrian Maier <am(at)fx(dot)ro>
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: Build error
Date: 2004-04-23 15:24:27
Message-ID: 200404231524.i3NFORe14346@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

Adrian Maier wrote:
> Hello,
>
>
> I am trying to build the latest nightly snapshot on windows2000, and
> I'm getting the following error:
>
>
> make[2]: Entering directory `/d/work/pgsql/postgresql-snapshot/src/port'
> [..snip..]
> gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
> -Wmissing-declarations -I../../src/include -I./src/include/port/win32
> -DEXEC_BACKEND "-I../../src/include/port/win32" -c -o getrusage.o
> getrusage.c
> In file included from ../../src/include/postgres.h:48,
> from getrusage.c:19:
> ../../src/include/c.h:80:26: pg_config_os.h: No such file or directory

This line looks like the problem. pg_config_os.h should have been
created by configure.

On my unix machine it looks like:

(4) l /pg/include/pg_config_os.h
lrwxr-xr-x 1 postgres wheel 31 Apr 23 10:44
/pg/include/pg_config_os.h@ -> ../.././src/include/port/bsdi.h

We have heard reports of random symlink failures in win32. Could that
be the cause?
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Merlin Moncure 2004-04-23 15:45:52 Re: win32 binaries
Previous Message Magnus Hagander 2004-04-23 15:18:52 Re: Build error