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

Re: bug in config for cygwin

From: "Scott" <scott(dot)ellis(at)aetas(dot)com(dot)au>
To: "pgsql-bugs" <pgsql-bugs(at)postgresql(dot)org>,"Peter Eisentraut" <peter_e(at)gmx(dot)net>
Subject: Re: bug in config for cygwin
Date: 2002-08-17 16:25:22
Message-ID: 005101c2460a$b023aae0$5800a8c0@europa (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Yep I thought so - that's why I didn't think it's really a bug - but the
include really ought to be after the define, and if it was I would be able
to use the same headers for both cygwin and non-cygwin builds...would just
be 'nice to have'.

----- Original Message -----
From: "Peter Eisentraut" <peter_e(at)gmx(dot)net>
To: "Scott" <scott(dot)ellis(at)aetas(dot)com(dot)au>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Sent: Sunday, August 18, 2002 1:46 AM
Subject: Re: [BUGS] bug in config for cygwin

> Scott writes:
> > I'm not sure if what I've noticed fully qualifies as a bug...but, I run
cygwin and also do a lot of development with vc++ (6)...Using version 7.2.1
I built the libpq++ libs/dll for win32 for use in my vc++ progs, and also
ran the 'configure' script under cygwin...the problem occurs in the
pg_config_os.h file, where an "#include <cygwin/version.h>" occurs before an
"#ifdef __CYGWIN__" - so naturally my vc++ builds fail. By moving the
include to after the ifdef the problem goes away...I thought I'd send this
here so somwone with knowledge of patching the configure scripts etc. might
have a look.
> If you configure under cygwin then you can't build under not-cygwin.  If
> you want to build the libraries for native Windows you need to follow the
> instructions for the native build.
> --
> Peter Eisentraut   peter_e(at)gmx(dot)net
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

In response to


pgsql-bugs by date

Next:From: Philip WarnerDate: 2002-08-18 01:03:10
Subject: Re: Bug #740: Temp tables not deleted if postmaster
Previous:From: Peter EisentrautDate: 2002-08-17 15:46:39
Subject: Re: bug in config for cygwin

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