From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Sam Kidman <sam(at)fresho(dot)com> |
Cc: | pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | Re: errcodes.h and others not generated when compiling 13.6 on M1 Mac |
Date: | 2022-04-29 00:51:09 |
Message-ID: | 232983.1651193469@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Sam Kidman <sam(at)fresho(dot)com> writes:
>> Are you using any nondefault make options? Are you invoking our Makefile
>> from some make script of your own?
> This all came about because we use asdf as a version manager which compiles
> the versions of various programs you want to use. There's potentially a
> problem with the asdf plugin for postgres which I'd like to fix. I couldn't
> make head nor tails of the problem with asdf, so I cloned the source and
> started trying to compile it myself. The error I get when I compile it
> myself and when asdf does it are the same (the problem with header files
> not being generated)
Our manual recommends doing it this way if you invoke PG's build from
an upper-level makefile:
build-postgresql:
$(MAKE) -C postgresql MAKELEVEL=0 all
I don't know anything about asdf, but if it uses make scripts then a
likely explanation for the problem is lack of the "MAKELEVEL=0" bit.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Ron | 2022-04-29 15:47:41 | Re: About postgresql-db Directory |
Previous Message | Sam Kidman | 2022-04-29 00:47:42 | Re: errcodes.h and others not generated when compiling 13.6 on M1 Mac |