Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 9ACB2B5DC26 for ; Sun, 4 Sep 2011 16:48:48 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 05323-09 for ; Sun, 4 Sep 2011 19:48:48 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id B7927B5DC0D for ; Sun, 4 Sep 2011 16:48:47 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p84Jmkmq003491 for ; Sun, 4 Sep 2011 19:48:46 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p84Jmk0h003490; Sun, 4 Sep 2011 19:48:46 GMT (envelope-from www) Date: Sun, 4 Sep 2011 19:48:46 GMT Message-Id: <201109041948.p84Jmk0h003490@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #6198: init-po fails for plperl due to invalid xsubpp path (contains ExtUtils) From: "init-po fails for plperl due to invalid xsubpp path" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201109/18 X-Sequence-Number: 31035 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.