pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alex Hunsaker <badalex@gmail.com>
Cc: Tomas Vondra <tv@fuzzy.cz>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6198: init-po fails for plperl due to invalid xsubpp path (contains ExtUtils)
Date: Sun, 04 Sep 2011 19:32:28 -0400
Message-ID: <10209.1315179148@sss.pgh.pa.us> (raw)
In-Reply-To: <CAFaPBrToj=Ka31HxApYswpORsNHq8bRvV6vfO3=sAw5Gynen2Q@mail.gmail.com>
References: <201109041948.p84Jmk0h003490@wwwmaster.postgresql.org>
	<CAFaPBrSUnaVPuWA1H5ALUr0dz=q5VUHqdsswV5C5pDNciMKaRw@mail.gmail.com>
	<6afa8296cbdb5921ea9b5da4103aebbb.squirrel@sq.gransy.com>
	<CAFaPBrToj=Ka31HxApYswpORsNHq8bRvV6vfO3=sAw5Gynen2Q@mail.gmail.com>

Alex Hunsaker <badalex@gmail.com> writes:
> On Sun, Sep 4, 2011 at 16:57, Tomas Vondra <tv@fuzzy.cz> wrote:
>> Aha! When I run configure like this
>> 
>> $ ./configure --with-perl --enable-nls=cs

> Whoa, I totally missed that it was without --with-perl. :-)

>> then it works, so obviously the "--with-perl" option is required.
>> Shouldn't this behave a bit differently, e.g. not allowing "enable-nls"
>> without "with-perl"? Allowing that and getting not-fully-working tree is
>> not a good thing I guess ...

> Hrm, I don't know much about the nls stuff... but it seems like a
> reasonable request to me.

Uh, no, because init-po is not needed by mere users of existing
translations.  Nor does somebody who wants --enable-nls necessarily
care about building plperl.  The failure here is not about combining NLS
with --without-perl, it's about trying to do anything at all with plperl
with --without-perl.

I'd say the fix is to make plperl's makefile defend itself against
somebody cd'ing to that directory and trying to use the makefile without
having configured correctly.

Another question worth asking is why is the rule being run at all?
Do we need to have built SPI.c in order to do init-po for plperl?

			regards, tom lane



view thread (5+ messages)

Message-ID: <10209.1315179148@sss.pgh.pa.us>
Permalink:  ../10209.1315179148@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10209.1315179148@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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, badalex@gmail.com, tv@fuzzy.cz
  Subject: Re: BUG #6198: init-po fails for plperl due to invalid xsubpp path (contains ExtUtils)
  In-Reply-To: <10209.1315179148@sss.pgh.pa.us>
  References: <201109041948.p84Jmk0h003490@wwwmaster.postgresql.org> <CAFaPBrSUnaVPuWA1H5ALUr0dz=q5VUHqdsswV5C5pDNciMKaRw@mail.gmail.com> <6afa8296cbdb5921ea9b5da4103aebbb.squirrel@sq.gransy.com> <CAFaPBrToj=Ka31HxApYswpORsNHq8bRvV6vfO3=sAw5Gynen2Q@mail.gmail.com> <10209.1315179148@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