Hi,
Sorry, I should have included the required information initially itself. I am new to the database field so please pardon my mistakes :)
Sorry, I should have included the required information initially itself. I am new to the database field so please pardon my mistakes :)
What I have done till now is clone the source code files from Gihub in my Mac laptop and then try to follow this documentation, then I got an error posted in the mail in the very first step itself i.e. ./configure command.
The PostgreSQL version is the latest (i.e. 16) as I have cloned the source code from GitHub.
I have tried using both shells including zsh and bash here but same response
For sed, I am using GNU sed and also included this GNU sed in the PATH variable
ayuvatsa@bcd0745f2da7 ~ % sed --version
sed (GNU sed) 4.9
The configure script runs fine till the step given below:
configure: using CPPFLAGS=-isysroot $(PG_SYSROOT)
configure: using LDFLAGS=-isysroot $(PG_SYSROOT) -Wl,-dead_strip_dylibs
configure: creating ./config.status
Thanks
Ayush Vatsa
On Mon, 11 Dec 2023 at 20:20, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
Ian Lawrence Barwick <barwick@xxxxxxxxx> writes:
> 2023年12月11日(月) 18:09 Ayush Vatsa <ayushvatsa1810@xxxxxxxxx>:
>> ./config.status: line 486: syntax error near unexpected token `)'
>> ./config.status: line 486: ` *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;'
> You should provide, at the very least, the following information:
> - the PostgreSQL version you are trying to build
> - the environment you are trying to build it in
+1
> A very hand-wavy guess, but possibly your local "sed" installation is
> not GNU sed?
I'm also wondering if the shell in use is nonstandard. The configure
script would likely already have failed if you tried to run it with,
say, csh; but maybe more-subtly-incompatible shells could give rise
to this symptom.
regards, tom lane