Thread: Perl Procedural Language Install
I'm having a bit of trouble installing the Perl procedural language as described in the PostgreSQL User's Guide (Chapter 12). The "Makefile" is created OK, but the "make" command aborts due to compile time errors. Here are a couple of examples: plperl.c: In function 'plperl_create_sub': plperl.c:327: 'errgv' undeclared (first use in this function) plperl.c:327: (Each undeclared identifier is reported only once plperl.c:327: for each function it appears in.) plperl.c:333: 'na' undeclared (first use in this function) Has anyone seen this before? I can fix the C code if I can find out what these variables are declared as (int, char, whatever). Or is there a simpler solution? Thanks. -- John R. Burski - (Title depends on the hat I'm wearing) Automotive Parts Headquarters, Inc. 125 South 29th Avenue Saint Cloud, MN 56301 320 252 5411 x137
Attachment
We need a little more information than that, in particular the Perl version (perl -v) and your platform. John Burski writes: > I'm having a bit of trouble installing the Perl procedural language as > described in the PostgreSQL User's Guide (Chapter 12). > > The "Makefile" is created OK, but the "make" command aborts due to > compile time errors. Here are a couple of examples: > > plperl.c: In function 'plperl_create_sub': > plperl.c:327: 'errgv' undeclared (first use in this function) > plperl.c:327: (Each undeclared identifier is reported only > once > plperl.c:327: for each function it appears in.) > plperl.c:333: 'na' undeclared (first use in this function) > > Has anyone seen this before? I can fix the C code if I can find out > what these variables are declared as (int, char, whatever). Or is there > a simpler solution? -- Peter Eisentraut Sernanders väg 10:115 peter_e@gmx.net 75262 Uppsala http://yi.org/peter-e/ Sweden
Sorry 'bout that - I should know better by now... I'm installing PostgreSQL 7.0.2 with Perl 5.6.0 on Red Hat 6.0. Thank you. Peter Eisentraut wrote: > We need a little more information than that, in particular the Perl > version (perl -v) and your platform. > > John Burski writes: > > > I'm having a bit of trouble installing the Perl procedural language as > > described in the PostgreSQL User's Guide (Chapter 12). > > > > The "Makefile" is created OK, but the "make" command aborts due to > > compile time errors. Here are a couple of examples: > > > > plperl.c: In function 'plperl_create_sub': > > plperl.c:327: 'errgv' undeclared (first use in this function) > > plperl.c:327: (Each undeclared identifier is reported only > > once > > plperl.c:327: for each function it appears in.) > > plperl.c:333: 'na' undeclared (first use in this function) > > > > Has anyone seen this before? I can fix the C code if I can find out > > what these variables are declared as (int, char, whatever). Or is there > > a simpler solution? > > -- > Peter Eisentraut Sernanders väg 10:115 > peter_e@gmx.net 75262 Uppsala > http://yi.org/peter-e/ Sweden -- John R. Burski - (Title depends on the hat I'm wearing) Automotive Parts Headquarters, Inc. 125 South 29th Avenue Saint Cloud, MN 56301 320 252 5411 x137