Problem on Installation

Started by lftsangover 17 years ago4 messagesbugs
Jump to latest
#1lftsang
lftsang@heungto.info

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.

#2John R Pierce
pierce@hogranch.com
In reply to: lftsang (#1)
Re: Problem on Installation

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?

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: lftsang (#1)
Re: Problem on Installation

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

#4Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: lftsang (#1)
Re: Problem on Installation

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