Thread: oid2name

oid2name

From
Pam Wampler
Date:
I am trying to make install on  contrib/oid2name and am getting these
errors:

I am new to freebsd & postgresql -- can you please help?
thanks

root:/usr/ports/databases/postgresql7/work/postgresql-7.2.1/contrib/oid2name
# make install

"../../src/Makefile.global", line 38: Need an operator
"../../src/Makefile.global", line 41: Need an operator
"../../src/Makefile.global", line 44: Need an operator
"../../src/Makefile.global", line 62: Need an operator
"../../src/Makefile.global", line 63: Need an operator
"../../src/Makefile.global", line 65: Need an operator
"../../src/Makefile.global", line 66: Need an operator
"../../src/Makefile.global", line 69: Need an operator
"../../src/Makefile.global", line 70: Need an operator
"../../src/Makefile.global", line 72: Need an operator
"../../src/Makefile.global", line 73: Need an operator
"../../src/Makefile.global", line 76: Need an operator
"../../src/Makefile.global", line 77: Need an operator
"../../src/Makefile.global", line 79: Need an operator
"../../src/Makefile.global", line 80: Need an operator
"../../src/Makefile.global", line 84: Need an operator
"../../src/Makefile.global", line 85: Need an operator
"../../src/Makefile.global", line 87: Need an operator
"../../src/Makefile.global", line 88: Need an operator
"../../src/Makefile.global", line 92: Need an operator
"../../src/Makefile.global", line 93: Need an operator
"../../src/Makefile.global", line 95: Need an operator
"../../src/Makefile.global", line 96: Need an operator
"../../src/Makefile.global", line 104: Need an operator
"../../src/Makefile.global", line 105: Need an operator
"../../src/Makefile.global", line 107: Need an operator
"../../src/Makefile.global", line 108: Need an operator
"../../src/Makefile.global", line 162: Need an operator
"../../src/Makefile.global", line 164: Need an operator
"../../src/Makefile.global", line 169: Missing dependency operator
"../../src/Makefile.global", line 171: Need an operator
"../../src/Makefile.global", line 176: Missing dependency operator
"../../src/Makefile.global", line 178: Need an operator
"../../src/Makefile.port", line 3: Need an operator
"../../src/Makefile.port", line 7: Need an operator
"../../src/Makefile.port", line 13: Need an operator
"../../src/Makefile.port", line 15: Need an operator
"../../src/Makefile.port", line 23: Need an operator
"../../src/Makefile.global", line 271: Missing dependency operator
"../../src/Makefile.global", line 273: Need an operator
"../../src/Makefile.global", line 298: Need an operator
"../../src/Makefile.global", line 300: Missing dependency operator
"../../src/Makefile.global", line 302: Need an operator
"../../src/Makefile.global", line 304: Missing dependency operator
"../../src/Makefile.global", line 306: Need an operator
"../../src/Makefile.global", line 308: Missing dependency operator
"../../src/Makefile.global", line 310: Need an operator
"../../src/Makefile.global", line 312: Need an operator
"../../src/Makefile.global", line 315: Need an operator
"../../src/Makefile.global", line 317: Need an operator
"../../src/Makefile.global", line 320: Need an operator
"../../src/Makefile.global", line 397: Missing dependency operator
"../../src/Makefile.global", line 399: Need an operator
"../../src/Makefile.global", line 401: Need an operator
"../../src/Makefile.global", line 403: Need an operator
"../../src/Makefile.global", line 405: Need an operator
"../../src/Makefile.global", line 412: Need an operator
"../../src/Makefile.global", line 415: Need an operator
"../../src/Makefile.global", line 416: Need an operator
"../../src/Makefile.global", line 418: Need an operator
"../../src/Makefile.global", line 419: Need an operator
"../../src/Makefile.global", line 421: Missing dependency operator
"../../src/Makefile.global", line 428: Need an operator
"../../src/Makefile.global", line 430: Missing dependency operator
"../../src/Makefile.global", line 436: Need an operator
"../../src/Makefile.global", line 441: Need an operator
"../../src/Makefile.global", line 450: Need an operator
"../../src/Makefile.global", line 457: Missing dependency operator
"../../src/Makefile.global", line 458: Missing dependency operator
"../../src/Makefile.global", line 460: Could not find /src/nls-global.mk
"../../src/Makefile.global", line 462: Need an operator
"../../src/Makefile.global", line 463: Need an operator
"Makefile", line 15: Could not find /contrib/contrib-global.mk
make: fatal errors encountered -- cannot continue
root@tiny:/usr/ports/databases/postgresql7/work/postgresql-7.2.1/contrib/oid
2name # make

Re: oid2name

From
Tom Lane
Date:
Pam Wampler <Pam_Wampler@taylorwhite.com> writes:
> root:/usr/ports/databases/postgresql7/work/postgresql-7.2.1/contrib/oid2name
> # make install

> "../../src/Makefile.global", line 38: Need an operator
> "../../src/Makefile.global", line 41: Need an operator

Are you using GNU make?  That looks somewhat like the kind of errors
that the PG makefiles trigger on crufty old versions of "make".  Try
"gmake install" ...

            regards, tom lane

Re: oid2name

From
Pam Wampler
Date:
    Tom, that was it !!!  Thanks very much!!
    Pam

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Tuesday, July 09, 2002 6:26 PM
To: Pam Wampler
Cc: pgsql-novice@postgresql.org
Subject: Re: [NOVICE] oid2name


Pam Wampler <Pam_Wampler@taylorwhite.com> writes:
>
root:/usr/ports/databases/postgresql7/work/postgresql-7.2.1/contrib/oid2name
> # make install

> "../../src/Makefile.global", line 38: Need an operator
> "../../src/Makefile.global", line 41: Need an operator

Are you using GNU make?  That looks somewhat like the kind of errors
that the PG makefiles trigger on crufty old versions of "make".  Try
"gmake install" ...

            regards, tom lane