Re: Build error - Mailing list pgsql-hackers-win32

From Bruce Momjian
Subject Re: Build error
Date
Msg-id 200404231524.i3NFORe14346@candle.pha.pa.us
Whole thread Raw
In response to Build error  (Adrian Maier <am@fx.ro>)
List 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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-hackers-win32 by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: Build error
Next
From: "Merlin Moncure"
Date:
Subject: Re: win32 binaries