pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedplperl fails to compile PostgreSQL v8.2.6
3+ messages / 3 participants
[nested] [flat]
* plperl fails to compile PostgreSQL v8.2.6
@ 2008-01-10 18:40 Fred Stevens <fstevens@cimsoftware.com>
0 siblings, 2 replies; 3+ messages in thread
From: Fred Stevens @ 2008-01-10 18:40 UTC (permalink / raw)
To: pgsql-interfaces
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??
Fred
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: plperl fails to compile PostgreSQL v8.2.6
@ 2008-01-16 15:01 Alvaro Herrera <alvherre@commandprompt.com>
parent: Fred Stevens <fstevens@cimsoftware.com>
1 sibling, 0 replies; 3+ messages in thread
From: Alvaro Herrera @ 2008-01-16 15:01 UTC (permalink / raw)
To: Fred Stevens <fstevens@cimsoftware.com>; +Cc: pgsql-interfaces
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.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: plperl fails to compile PostgreSQL v8.2.6
@ 2008-01-16 15:33 Tom Lane <tgl@sss.pgh.pa.us>
parent: Fred Stevens <fstevens@cimsoftware.com>
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 2008-01-16 15:33 UTC (permalink / raw)
To: Fred Stevens <fstevens@cimsoftware.com>; +Cc: pgsql-interfaces
Fred Stevens <fstevens@cimsoftware.com> writes:
> The file fmgroids.h seems to be missing. Any hints??
You need to build the whole source tree, not just the plperl
subdirectory.
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2008-01-16 15:33 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-01-10 18:40 plperl fails to compile PostgreSQL v8.2.6 Fred Stevens <fstevens@cimsoftware.com>
2008-01-16 15:01 ` Alvaro Herrera <alvherre@commandprompt.com>
2008-01-16 15:33 ` Tom Lane <tgl@sss.pgh.pa.us>
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