From: init-po fails for plperl due to invalid xsubpp path <tv@fuzzy.cz>
To: pgsql-bugs@postgresql.org
Subject: BUG #6198: init-po fails for plperl due to invalid xsubpp path (contains ExtUtils)
Date: Sun, 4 Sep 2011 19:48:46 GMT
Message-ID: <201109041948.p84Jmk0h003490@wwwmaster.postgresql.org> (raw)
The following bug has been logged online:
Bug reference: 6198
Logged by: init-po fails for plperl due to invalid xsubpp path
Email address: tv@fuzzy.cz
PostgreSQL version: 9.0.4, 9.1-rc1
Operating system: Linux
Description: init-po fails for plperl due to invalid xsubpp path
(contains ExtUtils)
Details:
When I try to prepare a fresh .pot file for plpgsql, it fails like this
$ ./configure --enable-nls=cs
$ cd src/pl/plperl
$ gmake init-po
'/usr/bin/perl' /ExtUtils/xsubpp -typemap /ExtUtils/typemap SPI.xs >SPI.c
Can't open perl script "/ExtUtils/xsubpp": Directory or file does not
exist.
gmake: *** [SPI.c] Error 2
gmake: *** Deleting file `SPI.c'
This is due to invalid xsubpp/typemap paths - the xsubpp is available here
$ which xsubpp
/usr/bin/xsubpp
but the GNUmakefile contains this:
$(PERL) $(perl_privlibexp)/ExtUtils/xsubpp -typemap
$(perl_privlibexp)/ExtUtils/typemap $< >$@
After changing to
xsubpp -typemap
/usr/src/linux-2.6.38-gentoo-r6/tools/perf/scripts/perl/Perf-Trace-Util/type
map $< >$@
it works fine.
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: tv@fuzzy.cz
Subject: Re: BUG #6198: init-po fails for plperl due to invalid xsubpp path (contains ExtUtils)
In-Reply-To: <201109041948.p84Jmk0h003490@wwwmaster.postgresql.org>
References: <201109041948.p84Jmk0h003490@wwwmaster.postgresql.org>
* 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