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


Wed, 21 Aug 2002 16:59:47 +0800
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au>
CVS broken - large file support?
"Christopher Kings-Lynne" <chriskl@familyhealth.com.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

Wed, 21 Aug 2002 10:14:40 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: CVS broken - large file support? 
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@gmx.net


Wed, 21 Aug 2002 19:25:37 +0200 (CEST)
Peter Eisentraut <peter_e@gmx.net>
Re: CVS broken - large file support?

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@gmx.net
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Wed, 21 Aug 2002 13:30:45 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: CVS broken - large file support?
> > 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

Wed, 21 Aug 2002 12:26:26 -0700
Sean Chittenden <sean@chittenden.org>
Re: CVS broken - large file support?
> > > 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
Wed, 21 Aug 2002 16:06:41 -0700
Sean Chittenden <sean@chittenden.org>
Re: CVS broken - large file support?
> > > > 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
Wed, 21 Aug 2002 19:14:07 -0700
Sean Chittenden <sean@chittenden.org>
Re: CVS broken - large file support?

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@postgresql.org

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Wed, 21 Aug 2002 22:29:42 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: CVS broken - large file support?

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@gmx.net
> > 
> > 
> > ---------------------------(end of broadcast)---------------------------
> > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> > 
> 
> -- 
>   Bruce Momjian                        |  http://candle.pha.pa.us
>   pgman@candle.pha.pa.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@postgresql.org so that your
> message can get through to the mailing list cleanly
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Thu, 22 Aug 2002 17:55:30 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: CVS broken - large file support?

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@gmx.net
> > 
> > 
> > ---------------------------(end of broadcast)---------------------------
> > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> > 
> 
> -- 
>   Bruce Momjian                        |  http://candle.pha.pa.us
>   pgman@candle.pha.pa.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@postgresql.org so that your
> message can get through to the mailing list cleanly
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Sun, 1 Sep 2002 22:34:55 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: CVS broken - large file support?