Re: [HACKERS] 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 [EMAIL PROTECTED] ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED] -- Bruce Momjian| http://candle.pha.pa.us [EMAIL PROTECTED] | (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 [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly -- Bruce Momjian| http://candle.pha.pa.us [EMAIL PROTECTED] | (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 4: Don't 'kill -9' the postmaster
[HACKERS] CVS broken - large file support?
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 ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
Re: [HACKERS] CVS broken - large file support?
Christopher Kings-Lynne [EMAIL PROTECTED] 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 ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly
Re: [HACKERS] 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 [EMAIL PROTECTED] ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
Re: [HACKERS] 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 [EMAIL PROTECTED] ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED] -- Bruce Momjian| http://candle.pha.pa.us [EMAIL PROTECTED] | (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 [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly
Re: [HACKERS] 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 ---(end of broadcast)--- TIP 4: Don't 'kill -9' the postmaster
Re: [HACKERS] 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 Index: pg_backup_archiver.h === RCS file: /projects/cvsroot/pgsql-server/src/bin/pg_dump/pg_backup_archiver.h,v retrieving revision 1.46 diff -u -r1.46 pg_backup_archiver.h --- pg_backup_archiver.h2002/08/20 17:54:44 1.46 +++ pg_backup_archiver.h2002/08/21 23:01:14 @@ -29,6 +29,7 @@ #include time.h #include errno.h +#include sys/types.h #include pqexpbuffer.h #define LOBBUFSIZE 32768 ---(end of broadcast)--- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly
Re: [HACKERS] 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 Index: src/backend/utils/mb/conversion_procs/ascii_and_mic/Makefile === RCS file: /projects/cvsroot/pgsql-server/src/backend/utils/mb/conversion_procs/ascii_and_mic/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- src/backend/utils/mb/conversion_procs/ascii_and_mic/Makefile2002/08/21 21:33:55 1.2 +++ src/backend/utils/mb/conversion_procs/ascii_and_mic/Makefile2002/08/22 +02:10:28 @@ -1,4 +1,4 @@ -]#- +#- # # $Id: Makefile,v 1.2 2002/08/21 21:33:55 momjian Exp $ # ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
Re: [HACKERS] 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 [EMAIL PROTECTED] -- Bruce Momjian| http://candle.pha.pa.us [EMAIL PROTECTED] | (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 2: you can get off all lists at once with the unregister command (send unregister YourEmailAddressHere to [EMAIL PROTECTED])