From: Alvaro Herrera <alvherre@commandprompt.com>
To: Fred Stevens <fstevens@cimsoftware.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: plperl fails to compile PostgreSQL v8.2.6
Date: Wed, 16 Jan 2008 12:01:20 -0300
Message-ID: <20080116150120.GG5106@alvh.no-ip.org> (raw)
In-Reply-To: <478666A7.4030003@cimsoftware.com>
References: <478666A7.4030003@cimsoftware.com>
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.
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: alvherre@commandprompt.com, fstevens@cimsoftware.com
Subject: Re: plperl fails to compile PostgreSQL v8.2.6
In-Reply-To: <20080116150120.GG5106@alvh.no-ip.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