Re: [HACKERS] Request for supported platforms

Lists: pgsql-cygwinpgsql-hackers
From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Jason Tishler" <jason(at)tishler(dot)net>
Cc: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>, "Thomas Lockhart" <lockhart(at)fourpalms(dot)org>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Pgsql-Cygwin" <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: [HACKERS] Request for supported platforms
Date: 2002-10-28 20:58:12
Message-ID: 03AF4E498C591348A42FC93DEA9661B884A3@mail.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin pgsql-hackers

> -----Original Message-----
> From: Jason Tishler [mailto:jason(at)tishler(dot)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.


From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: Jason Tishler <jason(at)tishler(dot)net>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Thomas Lockhart <lockhart(at)fourpalms(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pgsql-Cygwin <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: [HACKERS] Request for supported platforms
Date: 2002-10-28 21:00:15
Message-ID: 1035838816.457.29.camel@lerlaptop.iadfw.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin pgsql-hackers

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(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


From: Jason Tishler <jason(at)tishler(dot)net>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Thomas Lockhart <lockhart(at)fourpalms(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pgsql-Cygwin <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: [HACKERS] Request for supported platforms
Date: 2002-10-29 14:47:35
Message-ID: 20021029144734.GB1812@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin pgsql-hackers

Dave,

On Mon, Oct 28, 2002 at 08:58:12PM -0000, Dave Page wrote:
> > -----Original Message-----
> > From: Jason Tishler [mailto:jason(at)tishler(dot)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


From: Jason Tishler <jason(at)tishler(dot)net>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Thomas Lockhart <lockhart(at)fourpalms(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pgsql-Cygwin <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: [HACKERS] Request for supported platforms
Date: 2002-11-07 13:42:48
Message-ID: 20021107134248.GD1820@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin pgsql-hackers

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