Unix Technical Forum

building Postgresql 7.3.10 on Mac OS X 10.4

This is a discussion on building Postgresql 7.3.10 on Mac OS X 10.4 within the pgsql Bugs forums, part of the PostgreSQL category; --> Hello I am trying to build Postgresql 7.3.10 on Mac OS X 10.4 and am getting a couple errors ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Bugs

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 09:18 AM
Peter Bazeley
 
Posts: n/a
Default building Postgresql 7.3.10 on Mac OS X 10.4

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>>>>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 09:19 AM
Bruce Momjian
 
Posts: n/a
Default 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

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-10-2008, 09:19 AM
Benjamin Reed
 
Posts: n/a
Default 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.

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-10-2008, 09:19 AM
Tom Lane
 
Posts: n/a
Default 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

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:48 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com