Thread: instalation problems!
Hello, I tried to install PstgreSQL 7.1.1, and I got these error log: gmake[3]: Leaving directory `/users/noorbakh/postgreSQL/postgresql-7.1.1/src/backend/tcop' gmake -C utils all gmake[3]: Entering directory `/users/noorbakh/postgreSQL/postgresql-7.1.1/src/backend/utils' gmake -C adt SUBSYS.o gmake[4]: Entering directory `/users/noorbakh/postgreSQL/postgresql-7.1.1/src/backend/utils/adt' gcc -Wall -Wmissing-prototypes -Wmissing-declarations -mieee -I../../../../src/include -c acl.c -o acl.o cc1: Invalid option `ieee' gmake[4]: *** [acl.o] Error 1 gmake[4]: Leaving directory `/users/noorbakh/postgreSQL/postgresql-7.1.1/src/backend/utils/adt' gmake[3]: *** [adt-recursive] Error 2 gmake[3]: Leaving directory `/users/noorbakh/postgreSQL/postgresql-7.1.1/src/backend/utils' gmake[2]: *** [utils-recursive] Error 2 gmake[2]: Leaving directory `/users/noorbakh/postgreSQL/postgresql-7.1.1/src/backend' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/users/noorbakh/postgreSQL/postgresql-7.1.1/src' gmake: *** [all] Error 2 Can you explain me, how I can solve the problem? Thanks in advance, Fariba
Fariba Noorbakhsh <fNoorbakhsh@ccs-munich.de> writes: > gcc -Wall -Wmissing-prototypes -Wmissing-declarations -mieee > -I../../../../src/include -c acl.c -o acl.o > cc1: Invalid option `ieee' > gmake[4]: *** [acl.o] Error 1 Hm. It looks like configure is choosing the wrong compiler options for your platform. What is your platform, exactly, and what does configure report as the selected platform at the very start of its run? regards, tom lane
Fariba Noorbakhsh <fNoorbakhsh@ccs-munich.de> writes: > The platfrom which we are using is Digital V4.0-D (alphaev56-dec-osf4.0d). > I copied the whole configuration report for you, maybe it helps. > I'm acctually suspecting our GCC version (v2.7.2.3), maybe it's too old and > not familiar with "-mieee" option. What do you think? Could be. Try removing this hack from src/backend/utils/adt/Makefile: # seems to be required for some date/time stuff 1999/07/22 bjm ifeq "$(findstring alpha,$(host_cpu))" "alpha" ifeq "$(GCC)" "yes" override CFLAGS+= -mieee endif endif I'd be interested to know whether the regression tests pass cleanly after you do that. regards, tom lane
Tom Lane writes: > Fariba Noorbakhsh <fNoorbakhsh@ccs-munich.de> writes: > > The platfrom which we are using is Digital V4.0-D (alphaev56-dec-osf4.0d). > > I copied the whole configuration report for you, maybe it helps. > > I'm acctually suspecting our GCC version (v2.7.2.3), maybe it's too old and > > not familiar with "-mieee" option. What do you think? Yup. This option was introduced in GCC 2.8.0. -- Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter
Peter Eisentraut <peter_e@gmx.net> writes: > The platfrom which we are using is Digital V4.0-D (alphaev56-dec-osf4.0d). > I copied the whole configuration report for you, maybe it helps. > I'm acctually suspecting our GCC version (v2.7.2.3), maybe it's too old and > not familiar with "-mieee" option. What do you think? > Yup. This option was introduced in GCC 2.8.0. Hm. Do we want to do something about that hard-wired hack in utils/adt/Makefile? I'm not sure whether gcc 2.7.* on Alpha is reliable enough for us to care whether it builds Postgres ... but if it is, seems like configure ought to take care of this. regards, tom lane