Re: CVS broken - large file support?

Lists: pgsql-hackers
From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: CVS broken - large file support?
Date: 2002-08-21 08:59:47
Message-ID: GNELIHDDFBOCMGBFGEFOIENBCDAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On FreeBSD/Alpha, CVS gives:

gmake[4]: Entering directory `/home/chriskl/pgsql-head/src/backend/parser'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/home/chriskl/pgsql-head/src/backend/parser'
gcc -pipe -O -g -Wall -Wmissing-prototypes -Wmissing-declarations -I../../..
/src/interfaces/libpq -I../../../src/include -c -o common.o common.c -MMD
In file included from common.c:21:
pg_backup_archiver.h:168: syntax error before `off_t'
gmake[3]: *** [common.o] Error 1
gmake[3]: Leaving directory `/home/chriskl/pgsql-head/src/bin/pg_dump'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/chriskl/pgsql-head/src/bin'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/chriskl/pgsql-head/src'
gmake: *** [all] Error 2

Chris


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
Cc: "Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CVS broken - large file support?
Date: 2002-08-21 14:14:40
Message-ID: 20100.1029939280@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

"Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au> writes:
> On FreeBSD/Alpha, CVS gives [trouble]

I'm currently having to use "configure --disable-largefile" on HPUX;
looks like you'll have to do the same until Peter finishes ironing out
the wrinkles with autoconfiguring largefile support. It would be
helpful if you'd poke into your system headers and find out (a) can you
do large files at all, and if so (b) what is the correct magic
combination of #defines for your system.

regards, tom lane


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CVS broken - large file support?
Date: 2002-08-21 17:25:37
Message-ID: Pine.LNX.4.44.0208211925030.1376-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Christopher Kings-Lynne writes:

> On FreeBSD/Alpha, CVS gives:

> pg_backup_archiver.h:168: syntax error before `off_t'

I have added sys/types.h, so off_t should now be available.

--
Peter Eisentraut peter_e(at)gmx(dot)net


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CVS broken - large file support?
Date: 2002-08-21 17:30:45
Message-ID: 200208211730.g7LHUjd29552@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


Peter, did you go around and remove sys/types.h from all the include
files now that it is in c.h?

---------------------------------------------------------------------------

Peter Eisentraut wrote:
> Christopher Kings-Lynne writes:
>
> > On FreeBSD/Alpha, CVS gives:
>
> > pg_backup_archiver.h:168: syntax error before `off_t'
>
> I have added sys/types.h, so off_t should now be available.
>
> --
> Peter Eisentraut peter_e(at)gmx(dot)net
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

--
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


From: Sean Chittenden <sean(at)chittenden(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CVS broken - large file support?
Date: 2002-08-21 19:26:26
Message-ID: 20020821192626.GB46902@ninja1.internal
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> > On FreeBSD/Alpha, CVS gives [trouble]
>
> I'm currently having to use "configure --disable-largefile" on HPUX;
> looks like you'll have to do the same until Peter finishes ironing out
> the wrinkles with autoconfiguring largefile support. It would be
> helpful if you'd poke into your system headers and find out (a) can you
> do large files at all, and if so (b) what is the correct magic
> combination of #defines for your system.

FreeBSD 5.0-CURRENT, gcc 3.1 and 3.2 both have this same problem even
with largefile disabled. Help? -sc

gmake[4]: Leaving directory `/usr/home/sean/open_source/postgresql/pgsql/src/backend/parser'
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include -c -o pg_dump.o pg_dump.c
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include -c -o common.o common.c
In file included from common.c:21:
pg_backup_archiver.h:168: syntax error before "off_t"
gmake[3]: *** [common.o] Error 1
gmake[3]: Leaving directory `/usr/home/sean/open_source/postgresql/pgsql/src/bin/pg_dump'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/home/sean/open_source/postgresql/pgsql/src/bin'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/home/sean/open_source/postgresql/pgsql/src'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/home/sean/open_source/postgresql/pgsql.

--
Sean Chittenden


From: Sean Chittenden <sean(at)chittenden(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CVS broken - large file support?
Date: 2002-08-21 23:06:41
Message-ID: 20020821230641.GD46902@ninja1.internal
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> > > On FreeBSD/Alpha, CVS gives [trouble]
> >
> > I'm currently having to use "configure --disable-largefile" on HPUX;
> > looks like you'll have to do the same until Peter finishes ironing out
> > the wrinkles with autoconfiguring largefile support. It would be
> > helpful if you'd poke into your system headers and find out (a) can you
> > do large files at all, and if so (b) what is the correct magic
> > combination of #defines for your system.
>
> FreeBSD 5.0-CURRENT, gcc 3.1 and 3.2 both have this same problem even
> with largefile disabled. Help? -sc

For those interested and with commit powers, including sys/types.h in
pg_backup_archiver.h fixes this build problem. -sc

> gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include -c -o common.o common.c
> In file included from common.c:21:
> pg_backup_archiver.h:168: syntax error before "off_t"
> gmake[3]: *** [common.o] Error 1

--
Sean Chittenden

Attachment Content-Type Size
patch text/plain 469 bytes

From: Sean Chittenden <sean(at)chittenden(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CVS broken - large file support?
Date: 2002-08-22 02:14:07
Message-ID: 20020822021407.GF46902@ninja1.internal
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> > > > On FreeBSD/Alpha, CVS gives [trouble]
> > >
> > > I'm currently having to use "configure --disable-largefile" on HPUX;
> > > looks like you'll have to do the same until Peter finishes ironing out
> > > the wrinkles with autoconfiguring largefile support. It would be
> > > helpful if you'd poke into your system headers and find out (a) can you
> > > do large files at all, and if so (b) what is the correct magic
> > > combination of #defines for your system.
> >
> > FreeBSD 5.0-CURRENT, gcc 3.1 and 3.2 both have this same problem even
> > with largefile disabled. Help? -sc
>
> For those interested and with commit powers, including sys/types.h in
> pg_backup_archiver.h fixes this build problem. -sc
>
> > gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include -c -o common.o common.c
> > In file included from common.c:21:
> > pg_backup_archiver.h:168: syntax error before "off_t"
> > gmake[3]: *** [common.o] Error 1

'nother trivial type-o/patch that gets building working with
--disable-largefile. -sc

--
Sean Chittenden

Attachment Content-Type Size
patch text/plain 693 bytes

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Sean Chittenden <sean(at)chittenden(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CVS broken - large file support?
Date: 2002-08-22 02:29:42
Message-ID: 200208220229.g7M2TgG28323@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


Yea, that was my booboo, fixed now.

---------------------------------------------------------------------------

Sean Chittenden wrote:
> > > > > On FreeBSD/Alpha, CVS gives [trouble]
> > > >
> > > > I'm currently having to use "configure --disable-largefile" on HPUX;
> > > > looks like you'll have to do the same until Peter finishes ironing out
> > > > the wrinkles with autoconfiguring largefile support. It would be
> > > > helpful if you'd poke into your system headers and find out (a) can you
> > > > do large files at all, and if so (b) what is the correct magic
> > > > combination of #defines for your system.
> > >
> > > FreeBSD 5.0-CURRENT, gcc 3.1 and 3.2 both have this same problem even
> > > with largefile disabled. Help? -sc
> >
> > For those interested and with commit powers, including sys/types.h in
> > pg_backup_archiver.h fixes this build problem. -sc
> >
> > > gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/interfaces/libpq -I../../../src/include -c -o common.o common.c
> > > In file included from common.c:21:
> > > pg_backup_archiver.h:168: syntax error before "off_t"
> > > gmake[3]: *** [common.o] Error 1
>
> 'nother trivial type-o/patch that gets building working with
> --disable-largefile. -sc
>
>
> --
> Sean Chittenden

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org

--
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


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CVS broken - large file support?
Date: 2002-08-22 21:55:30
Message-ID: 200208222155.g7MLtUA10083@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


Peter, I have received no reply to this question.

---------------------------------------------------------------------------

Bruce Momjian wrote:
>
> Peter, did you go around and remove sys/types.h from all the include
> files now that it is in c.h?
>
> ---------------------------------------------------------------------------
>
> Peter Eisentraut wrote:
> > Christopher Kings-Lynne writes:
> >
> > > On FreeBSD/Alpha, CVS gives:
> >
> > > pg_backup_archiver.h:168: syntax error before `off_t'
> >
> > I have added sys/types.h, so off_t should now be available.
> >
> > --
> > Peter Eisentraut peter_e(at)gmx(dot)net
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
> >
>
> --
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

--
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


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CVS broken - large file support?
Date: 2002-09-02 02:34:55
Message-ID: 200209020234.g822YuE16625@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


Done and committed with clean compile.

---------------------------------------------------------------------------

Bruce Momjian wrote:
>
> Peter, did you go around and remove sys/types.h from all the include
> files now that it is in c.h?
>
> ---------------------------------------------------------------------------
>
> Peter Eisentraut wrote:
> > Christopher Kings-Lynne writes:
> >
> > > On FreeBSD/Alpha, CVS gives:
> >
> > > pg_backup_archiver.h:168: syntax error before `off_t'
> >
> > I have added sys/types.h, so off_t should now be available.
> >
> > --
> > Peter Eisentraut peter_e(at)gmx(dot)net
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
> >
>
> --
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

--
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