Обсуждение: building Postgresql 7.3.10 on Mac OS X 10.4

Поиск
Список
Период
Сортировка

building Postgresql 7.3.10 on Mac OS X 10.4

От
"Peter Bazeley"
Дата:
Hello=20
I am trying to build Postgresql 7.3.10 on Mac OS X 10.4 and am getting a co=
uple 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 bo=
otparse.o bootparse.c=20
y.tab.c:928: warning: no previous prototype for 'Int_yyparse'=20
bootparse.y: In function 'Int_yyparse':=20
bootparse.y:273: error: stray '##' in program=20
bootparse.y:273: error: 'T_' undeclared (first use in this function)=20
bootparse.y:273: error: (Each undeclared identifier is reported only once=
=20
bootparse.y:273: error: for each function it appears in.)=20
bootparse.y:273: error: parse error before 'IndexElem'=20
In file included from bootparse.y:341:=20
lex.Int_yy.c: At top level:=20
lex.Int_yy.c:1122: warning: 'Int_yy_get_next_buffer' was used with no proto=
type before its definition=20
lex.Int_yy.c:1254: warning: 'Int_yy_get_previous_state' was used with no pr=
ototype before its definition=20
lex.Int_yy.c:1292: warning: 'Int_yy_try_NUL_trans' was used with no prototy=
pe before its definition=20
lex.Int_yy.c:1440: warning: no previous prototype for 'Int_yyrestart'=20
lex.Int_yy.c:1455: warning: no previous prototype for 'Int_yy_switch_to_buf=
fer'=20
lex.Int_yy.c:1486: warning: no previous prototype for 'Int_yy_load_buffer_s=
tate'=20
lex.Int_yy.c:1498: warning: no previous prototype for 'Int_yy_create_buffer=
'=20
lex.Int_yy.c:1529: warning: no previous prototype for 'Int_yy_delete_buffer=
'=20
lex.Int_yy.c:1555: warning: no previous prototype for 'Int_yy_init_buffer'=
=20
lex.Int_yy.c:1582: warning: no previous prototype for 'Int_yy_flush_buffer'=
=20
lex.Int_yy.c:1613: warning: no previous prototype for 'Int_yy_scan_buffer'=
=20
lex.Int_yy.c:1651: warning: no previous prototype for 'Int_yy_scan_string'=
=20
lex.Int_yy.c:1668: warning: no previous prototype for 'Int_yy_scan_bytes'=
=20
lex.Int_yy.c:1762: warning: 'Int_yy_fatal_error' was used with no prototype=
 before its definition=20
lex.Int_yy.c:1826: warning: 'Int_yy_flex_alloc' was used with no prototype =
before its definition=20
lex.Int_yy.c:1836: warning: 'Int_yy_flex_realloc' was used with no prototyp=
e before its definition=20
lex.Int_yy.c:1854: warning: 'Int_yy_flex_free' was used with no prototype b=
efore its definition=20
make[3]: *** [bootparse.o] Error 1=20
make[2]: *** [bootstrap-recursive] Error 2=20
make[1]: *** [all] Error 2=20
make: *** [all] Error 2=20
Any suggestions?=20
Thanks,=20
Peter Bazeley=20

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 in=
terruptions 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 informati=
on.  Any unauthorized review, use, disclosure or distribution is prohibited=
.  If you are not the intended recipient, please contact the sender by repl=
y e-mail and destroy all copies of the original message.
<<<<meduohio.edu>>>>=

Re: building Postgresql 7.3.10 on Mac OS X 10.4

От
Bruce Momjian
Дата:
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
changedto 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
confidentialand privileged information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If
youare 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

Re: building Postgresql 7.3.10 on Mac OS X 10.4

От
Benjamin Reed
Дата:
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.

Re: building Postgresql 7.3.10 on Mac OS X 10.4

От
Tom Lane
Дата:
"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

Re: building Postgresql 7.3.10 on Mac OS X 10.4

От
"Peter Bazeley"
Дата:
Hi Tom,=20
=20
Thanks, that got me passed that step, but make failed on another. My produc=
tion site is stuck with 7.3.10 (RHEL 3.0), and I would like to have a separ=
ate development site on a OS X 10.4 machine, but alas, it seems I'll have t=
o keep them together.=20
=20
=20
Thanks all for input,=20
Pete=20
=20

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 >>>=20
=20
Peter Bazeley <pbazeley@meduohio.edu> writes:=20
=20
>I am trying to build Postgresql 7.3.10 on Mac OS X 10.4 and am getting a =
=3D=20
=20
>couple errors related to bootstrap libraries. These are occuring during =
=3D=20
=20
>make -C bootstrap all. Here is the output:=3D20=20
=20
>make -C bootstrap all=3D20=20
=20
>gcc -traditional-cpp -g -O2 -fno-strict-aliasing -Wall -Wmissing-prototype=
s=3D=20
=20
> -Wmissing-declarations -I. -I../../../src/include -I/sw/include/  -c -o =
=3D=20
=20
=20
For more recent versions of OS X (since 10.2 I think), you need=20
=20
-no-cpp-precomp instead of -traditional-cpp.  PG 7.3.* is too old to=20
=20
know about that ... you can probably fix this in src/template/darwin,=20
=20
but it may not be the last such gotcha.  Are you sure you want such an=20
=20
old PG version?  I'd currently recommend the 8.0 branch for production=20
=20
and 8.1 for development.=20
=20
=20
regards, tom lane=20


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 in=
terruptions 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 informati=
on.  Any unauthorized review, use, disclosure or distribution is prohibited=
.  If you are not the intended recipient, please contact the sender by repl=
y e-mail and destroy all copies of the original message.
<<<<meduohio.edu>>>>=