Re: Getting “make: Entering an unknown directory” error while building postgresql on MIPS platform

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: shreesha21 <shreesha1988(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Getting “make: Entering an unknown directory” error while building postgresql on MIPS platform
Date: 2014-06-10 18:00:49
Message-ID: 1709.1402423249@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

shreesha21 <shreesha1988(at)gmail(dot)com> writes:
> make[4]: Leaving directory
> `/home/shreesha/platform/utils/postgresql-9.3.4/src/port'
> /home/shreesha/platform/tools/bin/make -C timezone all
> make[4]: Entering directory
> `/home/shreesha/platform/utils/postgresql-9.3.4/src/timezone'
> I am trying to install postgresql on MIPS platform and I am getting the
> following error while building it.

> /home/shreesha/platform/tools/bin/make -C common all

> **make: Entering an unknown directory**

> make: *** common: No such file or directory. Stop.

> make: Leaving an unknown directory

> make[4]: *** [common-recursive] Error 2

What seems like the most likely bet here is that make has inherited the
setting for SUBDIRS in src/Makefile into the child run in src/timezone/,
and so it's looking for a subdirectory "common" which of course ain't
there. Why this would not have happened within the previous two
subdirectories isn't real clear, but in any case that would be a bug
in "make".

What make version are you using? Can you try another one? If you're
trying a parallel build, maybe don't do that.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2014-06-10 18:02:24 make check For Extensions
Previous Message Adam Brightwell 2014-06-10 17:46:30 Re: API change advice: Passing plan invalidation info from the rewriter into the planner?