building Postgresql 7.3.10 on Mac OS X 10.4

Started by Peter Bazeleyover 20 years ago5 messagesbugs
Jump to latest
#1Peter Bazeley
pbazeley@meduohio.edu

Hello
I am trying to build Postgresql 7.3.10 on Mac OS X 10.4 and am getting a couple errors related to bootstrap libraries. These are occuring during make -C bootstrap all. Here is the output:
make -C bootstrap all
gcc -traditional-cpp -g -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I../../../src/include -I/sw/include/ -c -o bootparse.o bootparse.c
y.tab.c:928: warning: no previous prototype for 'Int_yyparse'
bootparse.y: In function 'Int_yyparse':
bootparse.y:273: error: stray '##' in program
bootparse.y:273: error: 'T_' undeclared (first use in this function)
bootparse.y:273: error: (Each undeclared identifier is reported only once
bootparse.y:273: error: for each function it appears in.)
bootparse.y:273: error: parse error before 'IndexElem'
In file included from bootparse.y:341:
lex.Int_yy.c: At top level:
lex.Int_yy.c:1122: warning: 'Int_yy_get_next_buffer' was used with no prototype before its definition
lex.Int_yy.c:1254: warning: 'Int_yy_get_previous_state' was used with no prototype before its definition
lex.Int_yy.c:1292: warning: 'Int_yy_try_NUL_trans' was used with no prototype before its definition
lex.Int_yy.c:1440: warning: no previous prototype for 'Int_yyrestart'
lex.Int_yy.c:1455: warning: no previous prototype for 'Int_yy_switch_to_buffer'
lex.Int_yy.c:1486: warning: no previous prototype for 'Int_yy_load_buffer_state'
lex.Int_yy.c:1498: warning: no previous prototype for 'Int_yy_create_buffer'
lex.Int_yy.c:1529: warning: no previous prototype for 'Int_yy_delete_buffer'
lex.Int_yy.c:1555: warning: no previous prototype for 'Int_yy_init_buffer'
lex.Int_yy.c:1582: warning: no previous prototype for 'Int_yy_flush_buffer'
lex.Int_yy.c:1613: warning: no previous prototype for 'Int_yy_scan_buffer'
lex.Int_yy.c:1651: warning: no previous prototype for 'Int_yy_scan_string'
lex.Int_yy.c:1668: warning: no previous prototype for 'Int_yy_scan_bytes'
lex.Int_yy.c:1762: warning: 'Int_yy_fatal_error' was used with no prototype before its definition
lex.Int_yy.c:1826: warning: 'Int_yy_flex_alloc' was used with no prototype before its definition
lex.Int_yy.c:1836: warning: 'Int_yy_flex_realloc' was used with no prototype before its definition
lex.Int_yy.c:1854: warning: 'Int_yy_flex_free' was used with no prototype before its definition
make[3]: *** [bootparse.o] Error 1
make[2]: *** [bootstrap-recursive] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
Any suggestions?
Thanks,
Peter Bazeley

Peter Bazeley, M.Sc.
Database Specialist / Research
Bioinformatics and Proteomics / Genomics
Medical University of Ohio
Toledo, Ohio 43614-5806

On June 8, 2005, the Medical College of Ohio's name changed to the Medical University of Ohio.

Please note that any contacts stored in your personal address book with the extension of mco.edu should now be changed to meduohio.edu to avoid any interruptions in email delivery.

CONFIDENTIALITY NOTICE:
This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
<<<<meduohio.edu>>>>

#2Bruce Momjian
bruce@momjian.us
In reply to: Peter Bazeley (#1)
Re: building Postgresql 7.3.10 on Mac OS X 10.4

I would get a newer version of PostgreSQL, either 8.0.X or 8.1beta. I
am sure that wil work.

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

Peter Bazeley wrote:

Hello
I am trying to build Postgresql 7.3.10 on Mac OS X 10.4 and am getting a couple errors related to bootstrap libraries. These are occuring during make -C bootstrap all. Here is the output:
make -C bootstrap all
gcc -traditional-cpp -g -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I../../../src/include -I/sw/include/ -c -o bootparse.o bootparse.c
y.tab.c:928: warning: no previous prototype for 'Int_yyparse'
bootparse.y: In function 'Int_yyparse':
bootparse.y:273: error: stray '##' in program
bootparse.y:273: error: 'T_' undeclared (first use in this function)
bootparse.y:273: error: (Each undeclared identifier is reported only once
bootparse.y:273: error: for each function it appears in.)
bootparse.y:273: error: parse error before 'IndexElem'
In file included from bootparse.y:341:
lex.Int_yy.c: At top level:
lex.Int_yy.c:1122: warning: 'Int_yy_get_next_buffer' was used with no prototype before its definition
lex.Int_yy.c:1254: warning: 'Int_yy_get_previous_state' was used with no prototype before its definition
lex.Int_yy.c:1292: warning: 'Int_yy_try_NUL_trans' was used with no prototype before its definition
lex.Int_yy.c:1440: warning: no previous prototype for 'Int_yyrestart'
lex.Int_yy.c:1455: warning: no previous prototype for 'Int_yy_switch_to_buffer'
lex.Int_yy.c:1486: warning: no previous prototype for 'Int_yy_load_buffer_state'
lex.Int_yy.c:1498: warning: no previous prototype for 'Int_yy_create_buffer'
lex.Int_yy.c:1529: warning: no previous prototype for 'Int_yy_delete_buffer'
lex.Int_yy.c:1555: warning: no previous prototype for 'Int_yy_init_buffer'
lex.Int_yy.c:1582: warning: no previous prototype for 'Int_yy_flush_buffer'
lex.Int_yy.c:1613: warning: no previous prototype for 'Int_yy_scan_buffer'
lex.Int_yy.c:1651: warning: no previous prototype for 'Int_yy_scan_string'
lex.Int_yy.c:1668: warning: no previous prototype for 'Int_yy_scan_bytes'
lex.Int_yy.c:1762: warning: 'Int_yy_fatal_error' was used with no prototype before its definition
lex.Int_yy.c:1826: warning: 'Int_yy_flex_alloc' was used with no prototype before its definition
lex.Int_yy.c:1836: warning: 'Int_yy_flex_realloc' was used with no prototype before its definition
lex.Int_yy.c:1854: warning: 'Int_yy_flex_free' was used with no prototype before its definition
make[3]: *** [bootparse.o] Error 1
make[2]: *** [bootstrap-recursive] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
Any suggestions?
Thanks,
Peter Bazeley

Peter Bazeley, M.Sc.
Database Specialist / Research
Bioinformatics and Proteomics / Genomics
Medical University of Ohio
Toledo, Ohio 43614-5806

On June 8, 2005, the Medical College of Ohio's name changed to the Medical University of Ohio.

Please note that any contacts stored in your personal address book with the extension of mco.edu should now be changed to meduohio.edu to avoid any interruptions in email delivery.

CONFIDENTIALITY NOTICE:
This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
<<<<meduohio.edu>>>>

-- 
  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
#3Benjamin Reed
rangerrick@gmail.com
In reply to: Bruce Momjian (#2)
Re: building Postgresql 7.3.10 on Mac OS X 10.4

On 10/13/05, Bruce Momjian <pgman@candle.pha.pa.us> wrote:

I would get a newer version of PostgreSQL, either 8.0.X or 8.1beta. I
am sure that wil work.

Yes, I discontinued support for the 7.3.x series on Mac OS X 10.4 in
the Fink packages for just this reason; it's not worth trying to
backport the changes from the 7.4+ series that make it possible to
repair these issues.

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Peter Bazeley (#1)
Re: building Postgresql 7.3.10 on Mac OS X 10.4

"Peter Bazeley" <pbazeley@meduohio.edu> writes:

I am trying to build Postgresql 7.3.10 on Mac OS X 10.4 and am getting a =
couple errors related to bootstrap libraries. These are occuring during =
make -C bootstrap all. Here is the output:=20
make -C bootstrap all=20
gcc -traditional-cpp -g -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes=
-Wmissing-declarations -I. -I../../../src/include -I/sw/include/ -c -o =

For more recent versions of OS X (since 10.2 I think), you need
-no-cpp-precomp instead of -traditional-cpp. PG 7.3.* is too old to
know about that ... you can probably fix this in src/template/darwin,
but it may not be the last such gotcha. Are you sure you want such an
old PG version? I'd currently recommend the 8.0 branch for production
and 8.1 for development.

regards, tom lane

#5Peter Bazeley
pbazeley@meduohio.edu
In reply to: Tom Lane (#4)
Re: building Postgresql 7.3.10 on Mac OS X 10.4

Hi Tom,

Thanks, that got me passed that step, but make failed on another. My production site is stuck with 7.3.10 (RHEL 3.0), and I would like to have a separate development site on a OS X 10.4 machine, but alas, it seems I'll have to keep them together.

Thanks all for input,
Pete

Peter Bazeley, M.Sc.
Database Specialist / Research
Bioinformatics and Proteomics / Genomics
Medical University of Ohio
Toledo, Ohio 43614-5806

Tom Lane <tgl@sss.pgh.pa.us> 10/13/05 11:42 am >>>

Peter Bazeley <pbazeley@meduohio.edu> writes:

I am trying to build Postgresql 7.3.10 on Mac OS X 10.4 and am getting a =

couple errors related to bootstrap libraries. These are occuring during =

make -C bootstrap all. Here is the output:=20

make -C bootstrap all=20

gcc -traditional-cpp -g -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes=

-Wmissing-declarations -I. -I../../../src/include -I/sw/include/ -c -o =

For more recent versions of OS X (since 10.2 I think), you need

-no-cpp-precomp instead of -traditional-cpp. PG 7.3.* is too old to

know about that ... you can probably fix this in src/template/darwin,

but it may not be the last such gotcha. Are you sure you want such an

old PG version? I'd currently recommend the 8.0 branch for production

and 8.1 for development.

regards, tom lane

On June 8, 2005, the Medical College of Ohio's name changed to the Medical University of Ohio.

Please note that any contacts stored in your personal address book with the extension of mco.edu should now be changed to meduohio.edu to avoid any interruptions in email delivery.

CONFIDENTIALITY NOTICE:
This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
<<<<meduohio.edu>>>>