pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ayush Vatsa <ayushvatsa1810@gmail.com>
Cc: Ian Lawrence Barwick <barwick@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Assistance Needed: Error during PostgreSQL Configuration
Date: Tue, 12 Dec 2023 11:40:12 -0500
Message-ID: <2447028.1702399212@sss.pgh.pa.us> (raw)
In-Reply-To: <CACX+KaNY-cU6U1yLGeXgV_-FGfHLDZpVv7xk=23wqnTB98F-HQ@mail.gmail.com>
References: <CACX+KaMVfimkq5kmXbFbO=GAUhwi35jX98uwSZBFe4hT3EWO-Q@mail.gmail.com>
	<CAB8KJ=hw8e0NgFFNVFUm4C1u0=dLv=vYvJBFNxbxJpUycBGNBw@mail.gmail.com>
	<2169650.1702306225@sss.pgh.pa.us>
	<CACX+KaNY-cU6U1yLGeXgV_-FGfHLDZpVv7xk=23wqnTB98F-HQ@mail.gmail.com>

Ayush Vatsa <ayushvatsa1810@gmail.com> writes:
> Sorry, I should have included the required information initially itself. I
> am new to the database field so please pardon my mistakes :)

You still didn't mention the platform/environment, but I guess from
the reference to -isysroot that it must be macOS (Darwin).  I further
guess that you're using Homebrew or MacPorts, because bare macOS
doesn't supply GNU sed.  That doesn't get us much further though;
plenty of Postgres developers use one or the other of those setups
without difficulty.

One idea that comes to mind is that you might be trying to build in
a directory path that contains spaces or other odd characters.
That's generally not well supported by Unix-based tooling.
However, I'm not sure how that'd lead to this particular failure.

The only other idea I have is that maybe you have some weird
Homebrew or MacPorts package installed that changes the behavior
of your shell.  I have no idea what that would be though.

FWIW, on my own Mac laptop, line 486 in config.status in a
current build looks like

    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;

which seems identical to what you reported.  So that takes some
steam out of the idea that the file was generated incorrectly
in your build, pointing more to the idea that your shell is not
reading it as-expected.

			regards, tom lane





view thread (7+ messages)  latest in thread

Message-ID: <2447028.1702399212@sss.pgh.pa.us>
Permalink:  ../2447028.1702399212@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2447028.1702399212@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ayushvatsa1810@gmail.com, barwick@gmail.com
  Subject: Re: Assistance Needed: Error during PostgreSQL Configuration
  In-Reply-To: <2447028.1702399212@sss.pgh.pa.us>
  References: <CACX+KaMVfimkq5kmXbFbO=GAUhwi35jX98uwSZBFe4hT3EWO-Q@mail.gmail.com> <CAB8KJ=hw8e0NgFFNVFUm4C1u0=dLv=vYvJBFNxbxJpUycBGNBw@mail.gmail.com> <2169650.1702306225@sss.pgh.pa.us> <CACX+KaNY-cU6U1yLGeXgV_-FGfHLDZpVv7xk=23wqnTB98F-HQ@mail.gmail.com> <2447028.1702399212@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox