Re: Bug in configure script for build postgresql

Lists: pgsql-hackers
From: Azat Khuzhin <dohardgopro(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Bug in configure script for build postgresql
Date: 2010-12-27 21:58:47
Message-ID: AANLkTikvWXarizomiyfPOhY7JtjJE=UCCnVFp5r0X3Zf@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hi all!
Yesterday-today I try to install postgresql, and I have noticed bug in
configure script

If path which you try to install postgresql from, contains "&" symbol, then
configure doesn`t work correctly (it doesn`t make make file)

It writes some thing like this:
config.status: creating GNUmakefile
sed: -e expression #1, char 358: unknown option to `s'
config.status: creating src/Makefile.global
sed: -e expression #1, char 374: unknown option to `s'

I attach here my modify configure script, line ~30389
I don`t good at scripting on shell, so I can`t change this script to the
right way!

And when I remove symbol "&" from path name - configure works correctly!


From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Azat Khuzhin <dohardgopro(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bug in configure script for build postgresql
Date: 2010-12-27 22:04:15
Message-ID: AANLkTin0-GzrOWkOnLqUue+ZHf_JEF+QbCUOasu8ub6e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Mon, Dec 27, 2010 at 4:58 PM, Azat Khuzhin <dohardgopro(at)gmail(dot)com> wrote:
> Hi all!
> Yesterday-today I try to install postgresql, and I have noticed bug in
> configure script
> If path which you try to install postgresql from, contains "&" symbol, then
> configure doesn`t work correctly (it doesn`t make make file)
> It writes some thing like this:
> config.status: creating GNUmakefile
> sed: -e expression #1, char 358: unknown option to `s'
> config.status: creating src/Makefile.global
> sed: -e expression #1, char 374: unknown option to `s'

I can reproduce this.

> I attach here my modify configure script, line ~30389

No, you didn't.

> I don`t good at scripting on shell, so I can`t change this script to the
> right way!
> And when I remove symbol "&" from path name - configure works correctly!

I think this is more than likely a bug in autoconf (which is used to
generate configure) than in PostgreSQL.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Compan


From: Azat Khuzhin <dohardgopro(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bug in configure script for build postgresql
Date: 2010-12-28 17:53:26
Message-ID: AANLkTikkSOeS5gYNT2N8OPAXu7==BzOs4_7TGpUeaY+=@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Tue, Dec 28, 2010 at 1:04 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:

> On Mon, Dec 27, 2010 at 4:58 PM, Azat Khuzhin <dohardgopro(at)gmail(dot)com>
> wrote:
> > Hi all!
> > Yesterday-today I try to install postgresql, and I have noticed bug in
> > configure script
> > If path which you try to install postgresql from, contains "&" symbol,
> then
> > configure doesn`t work correctly (it doesn`t make make file)
> > It writes some thing like this:
> > config.status: creating GNUmakefile
> > sed: -e expression #1, char 358: unknown option to `s'
> > config.status: creating src/Makefile.global
> > sed: -e expression #1, char 374: unknown option to `s'
>
> I can reproduce this.
>
> > I attach here my modify configure script, line ~30389
>
> No, you didn't.
>
Sorry, I forgot an attachment

>
> > I don`t good at scripting on shell, so I can`t change this script to the
> > right way!
> > And when I remove symbol "&" from path name - configure works correctly!
>
> I think this is more than likely a bug in autoconf (which is used to
> generate configure) than in PostgreSQL.
>
Maybe.

>
> --
> Robert Haas
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Compan
>

Attachment Content-Type Size
configure application/octet-stream 829.0 KB