Thread: Problem on Installation

Problem on Installation

From
lftsang
Date:
Dear Sir,

I tried to install PostgreSQL 8.1.15 on Freebsd 7.0. When I extracted
the .tar.gz and inputed 'make' it shows the following error:

"/usr/share/mk/bsd.port.mk", line 11: Could not find
/usr/ports/Mk/bsd.port.mk
"Makefile", line 177: Malformed conditional (${ARCH} == sparc64 &&
${OSVERSION} < 700000)
"Makefile", line 179: if-less endif

Please help, and thanks in advance.

Re: Problem on Installation

From
John R Pierce
Date:
lftsang wrote:
> Dear Sir,
>
> I tried to install PostgreSQL 8.1.15 on Freebsd 7.0. When I extracted
> the .tar.gz and inputed 'make' it shows the following error:
>
> "/usr/share/mk/bsd.port.mk", line 11: Could not find
> /usr/ports/Mk/bsd.port.mk
> "Makefile", line 177: Malformed conditional (${ARCH} == sparc64 &&
> ${OSVERSION} < 700000)
> "Makefile", line 179: if-less endif

did you run ./configure, with the appropriate parameters for your
configuration first?

Re: Problem on Installation

From
Tom Lane
Date:
lftsang <lftsang@heungto.info> writes:
> I tried to install PostgreSQL 8.1.15 on Freebsd 7.0. When I extracted
> the .tar.gz and inputed 'make' it shows the following error:

> "/usr/share/mk/bsd.port.mk", line 11: Could not find
> /usr/ports/Mk/bsd.port.mk
> "Makefile", line 177: Malformed conditional (${ARCH} == sparc64 &&
> ${OSVERSION} < 700000)
> "Makefile", line 179: if-less endif

There is no such code anywhere in the standard Postgres distribution.
I suppose that what you actually have is someone's FreeBSD port of
Postgres, and you're going to have to complain to that someone.

            regards, tom lane

Re: Problem on Installation

From
Alvaro Herrera
Date:
lftsang wrote:
> Dear Sir,
>
> I tried to install PostgreSQL 8.1.15 on Freebsd 7.0. When I extracted
> the .tar.gz and inputed 'make' it shows the following error:

Did you try gmake?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support