dbTalk Databases Forums  

[BUGS] help with mac osx 10.2.6

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] help with mac osx 10.2.6 in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Theodore Petrosky
 
Posts: n/a

Default [BUGS] help with mac osx 10.2.6 - 09-07-2003 , 10:14 PM






Please help with a mac osx installation... I had
installed 7.3.4 on osx 10.2.6 some months ago. it was
a painless installation. I responded to someone on the
apple help list about installing. this person was
having a problem with the make stage. I didn't think
to retry making on my system.

I did. I can not make it now. I am getting an error

[postgres:~/postgres/postgresql-7.3.4 copy.4]
postgres% make
make -C doc all
make[1]: Nothing to be done for `all'.
make -C src all
make -C port all
gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../src/include -c -o
isinf.o isinf.c
In file included from /usr/include/math.h:24,
from isinf.c:5:
/usr/include/architecture/ppc/math.h:128: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:128: error: parse
error before "__cplusplus"
/usr/include/architecture/ppc/math.h:129: error:
syntax error before "inline"
/usr/include/architecture/ppc/math.h:130: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:130: error: parse
error before "else"
/usr/include/architecture/ppc/math.h:131: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:132: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:140: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:140: error: parse
error before "__cplusplus"
/usr/include/architecture/ppc/math.h:141: error:
syntax error before "inline"
/usr/include/architecture/ppc/math.h:142: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:142: error: parse
error before "else"
/usr/include/architecture/ppc/math.h:143: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:144: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:151: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:151: error: parse
error before "__cplusplus"
/usr/include/architecture/ppc/math.h:152: error:
syntax error before "inline"
/usr/include/architecture/ppc/math.h:153: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:153: error: parse
error before "else"
/usr/include/architecture/ppc/math.h:154: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:155: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:163: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:163: error: parse
error before "__cplusplus"
/usr/include/architecture/ppc/math.h:164: error:
syntax error before "inline"
/usr/include/architecture/ppc/math.h:165: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:165: error: parse
error before "else"
/usr/include/architecture/ppc/math.h:166: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:167: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:175: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:175: error: parse
error before "__cplusplus"
/usr/include/architecture/ppc/math.h:176: error:
syntax error before "inline"
/usr/include/architecture/ppc/math.h:177: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:177: error: parse
error before "else"
/usr/include/architecture/ppc/math.h:178: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:179: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:187: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:187: error: parse
error before "__cplusplus"
/usr/include/architecture/ppc/math.h:188: error:
syntax error before "inline"
/usr/include/architecture/ppc/math.h:189: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:189: error: parse
error before "else"
/usr/include/architecture/ppc/math.h:190: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:191: error:
syntax error at '#' token
make[2]: *** [isinf.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2

any ideas... i believe the problem lies with the
december 2002 update to the developers tools.

Thanks,

Ted

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org

Reply With Quote
  #2  
Old   
Payman
 
Posts: n/a

Default Re: [BUGS] help with mac osx 10.2.6 - 09-09-2003 , 08:06 PM






Hi Theodore
I download 7.3.4 and build it !!!

All of PostgreSQL successfully made. Ready to install.

i am in OS X.2.6 and
% gnumake -v
GNU Make version 3.79, by Richard Stallman and Roland McGrath.
Built for powerpc-apple-darwin6.0
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
Free Software Foundation, Inc.
i dont patch gcc 3.3 ...
In gcc 3.1 all works ...
now you can do this for build with gcc 3.1 : (if you need)

sudo /usr/sbin/gcc_select 3.1

I am goiing to install gcc3.3 to see the probleme !!!

Payman




Theodore Petrosky <tedpet5 (AT) yahoo (DOT) com> wrote:

Quote:
Please help with a mac osx installation... I had
installed 7.3.4 on osx 10.2.6 some months ago. it was
a painless installation. I responded to someone on the
apple help list about installing. this person was
having a problem with the make stage. I didn't think
to retry making on my system.

I did. I can not make it now. I am getting an error

[postgres:~/postgres/postgresql-7.3.4 copy.4]
postgres% make
make -C doc all
make[1]: Nothing to be done for `all'.
make -C src all
make -C port all
gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../src/include -c -o
isinf.o isinf.c
In file included from /usr/include/math.h:24,
from isinf.c:5:
/usr/include/architecture/ppc/math.h:128: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:128: error: parse
error before "__cplusplus"
/usr/include/architecture/ppc/math.h:129: error:
syntax error before "inline"
/usr/include/architecture/ppc/math.h:130: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:130: error: parse
error before "else"
/usr/include/architecture/ppc/math.h:131: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:132: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:140: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:140: error: parse
error before "__cplusplus"
/usr/include/architecture/ppc/math.h:141: error:
syntax error before "inline"
/usr/include/architecture/ppc/math.h:142: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:142: error: parse
error before "else"
/usr/include/architecture/ppc/math.h:143: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:144: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:151: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:151: error: parse
error before "__cplusplus"
/usr/include/architecture/ppc/math.h:152: error:
syntax error before "inline"
/usr/include/architecture/ppc/math.h:153: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:153: error: parse
error before "else"
/usr/include/architecture/ppc/math.h:154: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:155: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:163: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:163: error: parse
error before "__cplusplus"
/usr/include/architecture/ppc/math.h:164: error:
syntax error before "inline"
/usr/include/architecture/ppc/math.h:165: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:165: error: parse
error before "else"
/usr/include/architecture/ppc/math.h:166: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:167: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:175: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:175: error: parse
error before "__cplusplus"
/usr/include/architecture/ppc/math.h:176: error:
syntax error before "inline"
/usr/include/architecture/ppc/math.h:177: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:177: error: parse
error before "else"
/usr/include/architecture/ppc/math.h:178: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:179: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:187: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:187: error: parse
error before "__cplusplus"
/usr/include/architecture/ppc/math.h:188: error:
syntax error before "inline"
/usr/include/architecture/ppc/math.h:189: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:189: error: parse
error before "else"
/usr/include/architecture/ppc/math.h:190: error:
syntax error at '#' token
/usr/include/architecture/ppc/math.h:191: error:
syntax error at '#' token
make[2]: *** [isinf.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2

any ideas... i believe the problem lies with the
december 2002 update to the developers tools.

Thanks,

Ted

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html


Reply With Quote
  #3  
Old   
Theodore Petrosky
 
Posts: n/a

Default Re: [BUGS] help with mac osx 10.2.6 - 09-10-2003 , 11:35 AM



Tom,

I got a reply back from someone on the apple
developers list.

Quote:
gcc -traditional-cpp -g -O2 -Wall
-Wmissing-prototypes
^^^^^^^^^^^^^^^

This is wrong. You need to use -no-cpp-precomp. It
says this in the release notes for the December tools
updater, as well as a number of other things... if you
haven't read the release notes carefully, then I would
read them again if I were you.
------------------------------------
so I tried make -no-cpp-precomp

it started the make and failed here:

make[3]: *** No rule to make target
`../../../src/interfaces/libpq/libpq.a', needed by
`pg_dump'. Stop.
make[2]: *** [all] Error 2


any ideas... do you have an ETA for the return of your
mac... we need you

Ted


--- Tom Lane <tgl (AT) sss (DOT) pgh.pa.us> wrote:
Quote:
Theodore Petrosky <tedpet5 (AT) yahoo (DOT) com> writes:
any ideas... i believe the problem lies with the
december 2002 update to the developers tools.

There is some recent traffic in our archives
suggesting that Apple's
gcc 3.3 is busted. I have not been able to check
this out because
my Powerbook is in the shop (still!?!?! snif).
Please feel free to
investigate and propose a workaround, if there is
one.

regards, tom lane
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

http://archives.postgresql.org


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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.