Thread: install on Solaris

install on Solaris

From
"Jason Meade"
Date:
I'm installing postgreSQL 7.0.3 on a Solaris machine (Ultra Sparc 5). I
don't have
root access so am installing unde my personal account. I'm receiveing the
following error:

make[3]: Entering directory
`/export/home2/marlaque.com/src/postgresql-7.0.3/src/backend/access/index'
make[3]: *** Warning: File `../../../Makefile.global' has modification time
in the future (2001-01-05 14:36:07 > 2001-01-0514:15:37.554671587)
gcc -I../../../include -I../../../backend    -Wall -Wmissing-prototypes -Wmi
ssing-declarations -I../..    -c -o istrat.o istrat.c
istrat.c: In function `OperatorRelationFillScanKeyEntry':
istrat.c:494: `F_OIDEQ' undeclared (first use in this function)
istrat.c:494: (Each undeclared identifier is reported only once
istrat.c:494: for each function it appears in.)
istrat.c: In function `IndexSupportInitialize':
istrat.c:561: `F_OIDEQ' undeclared (first use in this function)
make[3]: *** [istrat.o] Error 1
make[3]: Leaving directory
`/export/home2/marlaque.com/src/postgresql-7.0.3/src/backend/access/index'
make[2]: *** [submake] Error 2
make[2]: Leaving directory
`/export/home2/marlaque.com/src/postgresql-7.0.3/src/backend/access'
make[1]: *** [access.dir] Error 2
make[1]: Leaving directory
`/export/home2/marlaque.com/src/postgresql-7.0.3/src/backend'
make: *** [all] Error 2

I was able to install on a Linux box no problem with the same download so
this is a bit
perplexing. Thanks.

-Jason Meade


Re: install on Solaris

From
Tom Lane
Date:
"Jason Meade" <jason@creativedomainweb.com> writes:
> istrat.c: In function `OperatorRelationFillScanKeyEntry':
> istrat.c:494: `F_OIDEQ' undeclared (first use in this function)
> istrat.c:494: (Each undeclared identifier is reported only once
> istrat.c:494: for each function it appears in.)
> istrat.c: In function `IndexSupportInitialize':
> istrat.c:561: `F_OIDEQ' undeclared (first use in this function)

> I was able to install on a Linux box no problem with the same download so
> this is a bit perplexing. Thanks.

F_OIDEQ should be defined in fmgr.h, which is generated on the fly
during build (see src/backend/utils/Gen_fmgrtab.sh).  I suspect problems
generating fmgr.h --- possibly your machine has no awk(1), or a broken
awk?

            regards, tom lane