Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers-win32 by date

Next:From: Merlin MoncureDate: 2004-04-23 15:45:52
Subject: Re: win32 binaries
Previous:From: Magnus HaganderDate: 2004-04-23 15:18:52
Subject: Re: Build error

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group