Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 702432E3B89 for ; Wed, 16 Jan 2008 11:01:37 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 11372-03 for ; Wed, 16 Jan 2008 11:01:26 -0400 (AST) Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id F37AA2E2D7E for ; Wed, 16 Jan 2008 11:01:25 -0400 (AST) Received: from perhan.alvh.no-ip.org (200-126-113-152.bk8-dsl.surnet.cl [200.126.113.152]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m0GF1TvM011118 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Jan 2008 07:01:32 -0800 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 4490447BDF; Wed, 16 Jan 2008 12:01:20 -0300 (CLST) Date: Wed, 16 Jan 2008 12:01:20 -0300 From: Alvaro Herrera To: Fred Stevens Cc: pgsql-interfaces@postgresql.org Subject: Re: plperl fails to compile PostgreSQL v8.2.6 Message-ID: <20080116150120.GG5106@alvh.no-ip.org> References: <478666A7.4030003@cimsoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <478666A7.4030003@cimsoftware.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Wed, 16 Jan 2008 07:01:32 -0800 (PST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/9 X-Sequence-Number: 6687 Fred Stevens wrote: > when compiling plperl on SuSE 10.2 the following error occurs: > > gcc -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 > -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline > -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fpic > -I. -I../../../src/include -D_GNU_SOURCE > -I/usr/lib/perl5/5.8.8/i586-linux-thread-multi/CORE -c -o plperl.o plperl.c > plperl.c:26:28: error: utils/fmgroids.h: No such file or directory > plperl.c: In function ‘plperl_safe_init’: > plperl.c:537: error: ‘F_TEXTOUT’ undeclared (first use in this function) > plperl.c:537: error: (Each undeclared identifier is reported only once > plperl.c:537: error: for each function it appears in.) > make: *** [plperl.o] Error 1 > > The file fmgroids.h seems to be missing. Any hints?? It is a generated file. If you got the source from CVS, you are expected to ensure the file is generated ("make" on src/backend should do it AFAIR). If you didn't, it's probably a packaging bug. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.