Обсуждение: Re: [HACKERS] Request for supported platforms
> -----Original Message----- > From: Jason Tishler [mailto:jason@tishler.net] > Sent: 28 October 2002 20:42 > To: Dave Page > Cc: Bruce Momjian; PostgreSQL-development; Thomas Lockhart; > Tom Lane; Pgsql-Cygwin > Subject: Re: [HACKERS] Request for supported platforms > > > Dave, > > On Mon, Oct 28, 2002 at 11:20:16AM -0500, Jason Tishler wrote: > > > > My WAG is that you will be able to upgrade your Cygwin installation > > before I fix the Cygwin build issues. :,) > > I guess my WAG was wrong... :,) I've been meaning to ask this for a while - what exactly is a WAG? :-) > 1. Cygwin bison needs to be upgraded from 1.35 to 1.75 (i.e., > 1.50+) to process src/interfaces/ecpg/preproc/preproc.y > successfully. I will post to the Cygwin mailing list asking > the maintainer for this upgrade. OK. This shouldn't stop a release though I assume, only a build from CVS. > 2. The following fseeko/ftello ifdef in src/include/pg_config.h.in: > > #ifndef HAVE_FSEEKO > #define fseeko(a, b, c) fseek((a), (b), (c)) > #define ftello(a) ftell((a)) > #endif > > conflicts with the following Cygwin /usr/include/stdio.h entries: > > int _EXFUN(fseeko, (FILE *, off_t, int)); > off_t _EXFUN(ftello, ( FILE *)); > > Unfortunately, I'm not sure what is the best way to solve > this one yet. Any suggestions would be appreciated. Yes, I'm seeing errors with this on my updated Cygwin very early in the build. I did think it was my hacked about installation, but I guess not! Unfortunately though, I don't know the answer either, but I guess the change was in Cygwin as I didn't see it before you asked me to upgrade. Regards, Dave.
Dave,
On Mon, Oct 28, 2002 at 08:58:12PM -0000, Dave Page wrote:
> > -----Original Message-----
> > From: Jason Tishler [mailto:jason@tishler.net]
> > Sent: 28 October 2002 20:42
> > Subject: Re: [HACKERS] Request for supported platforms
> >
> > On Mon, Oct 28, 2002 at 11:20:16AM -0500, Jason Tishler wrote:
> > > My WAG is that you will be able to upgrade your Cygwin
> > > installation before I fix the Cygwin build issues. :,)
> >
> > I guess my WAG was wrong... :,)
>
> I've been meaning to ask this for a while - what exactly is a WAG? :-)
Larry was kind enough to answer this one for me. :,)
> > 1. Cygwin bison needs to be upgraded from 1.35 to 1.75 (i.e.,
> > 1.50+) to process src/interfaces/ecpg/preproc/preproc.y
> > successfully. I will post to the Cygwin mailing list asking
> > the maintainer for this upgrade.
>
> OK. This shouldn't stop a release though I assume, only a build from
> CVS.
Yes. Nevertheless, I have posted my request:
http://cygwin.com/ml/cygwin/2002-10/msg01740.html
> > 2. The following fseeko/ftello ifdef in src/include/pg_config.h.in:
> >
> > #ifndef HAVE_FSEEKO
> > #define fseeko(a, b, c) fseek((a), (b), (c))
> > #define ftello(a) ftell((a))
> > #endif
> >
> > conflicts with the following Cygwin /usr/include/stdio.h entries:
> >
> > int _EXFUN(fseeko, (FILE *, off_t, int));
> > off_t _EXFUN(ftello, ( FILE *));
> >
> > Unfortunately, I'm not sure what is the best way to solve
> > this one yet. Any suggestions would be appreciated.
I found a solution to the above which will hopefully find its way into
the next Cygwin release:
http://cygwin.com/ml/cygwin-patches/2002-q4/msg00042.html
> Yes, I'm seeing errors with this on my updated Cygwin very early in
> the build. I did think it was my hacked about installation, but I
> guess not!
A quick and *dirty* fix for this problem is to temporarily delete the
above two entries from your stdio.h file.
Jason
On Mon, 2002-10-28 at 14:58, Dave Page wrote: > > > > > > > My WAG is that you will be able to upgrade your Cygwin installation > > > before I fix the Cygwin build issues. :,) > > > > I guess my WAG was wrong... :,) > > I've been meaning to ask this for a while - what exactly is a WAG? :-) Wild-A**ed-Guess, I would presume. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
This post is just for closure -- both of the issues below have been resolved: On Tue, Oct 29, 2002 at 09:47:35AM -0500, Jason Tishler wrote: > > > 1. Cygwin bison needs to be upgraded from 1.35 to 1.75 (i.e., > > > 1.50+) to process src/interfaces/ecpg/preproc/preproc.y > > > successfully. I will post to the Cygwin mailing list asking the > > > maintainer for this upgrade. > > > > OK. This shouldn't stop a release though I assume, only a build from > > CVS. > > Yes. Nevertheless, I have posted my request: > > http://cygwin.com/ml/cygwin/2002-10/msg01740.html http://cygwin.com/ml/cygwin-announce/2002-10/msg00016.html > > > 2. The following fseeko/ftello ifdef in src/include/pg_config.h.in: > > > > > > #ifndef HAVE_FSEEKO > > > #define fseeko(a, b, c) fseek((a), (b), (c)) > > > #define ftello(a) ftell((a)) > > > #endif > > > > > > conflicts with the following Cygwin /usr/include/stdio.h entries: > > > > > > int _EXFUN(fseeko, (FILE *, off_t, int)); > > > off_t _EXFUN(ftello, ( FILE *)); > > > > > > Unfortunately, I'm not sure what is the best way to solve this one > > > yet. Any suggestions would be appreciated. > > I found a solution to the above which will hopefully find its way into > the next Cygwin release: > > http://cygwin.com/ml/cygwin-patches/2002-q4/msg00042.html http://cygwin.com/ml/cygwin-patches/2002-q4/msg00089.html Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6