Обсуждение: Problems with installing with perl interface
Dave Pfaltzgraff@PATAPSCO 05/08/2001 01:33 PM I am trying to install PostgreSQL, version 6.5.3, on a new machine by following the instructions inchapter 4 of the "PostgreSQL Administrator's Guide." I've already installed Perl 5.6.1 but when I get to paragraph 17 to add the perl interface, I get the following message: ---- cc -c -I/usr/local/pgsql/include -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION =\"1.8.0\" -DXS_VERSION=\"1.8.0\" -fpic -I/usr/local/lib/perl5/5.6.1/i586-linux/CORE Pg.c Pg.xs: In function `XS_Pg_PQprint': Pg.xs:583: `na' undeclared (first use in this function) Pg.xs:583: (Each undeclared identifier is reported only once Pg.xs:583: for each function it appears in.) Pg.xs: In function `XS_PG_results_fetchrow': Pg.xs:1253: `sv_undef' undeclared (first use in this function) Pg.xs: In function `XS_PG_results_print': Pg.xs:1293: `na' undeclared (first use in this function) make: *** [Pg.o] Error 1 ---- I've defined POSTGRES_HOME=/usr/local/pgsql as suggested by the README in that directory. I'm trying to keep the installation as plain vanilla as I can, but obviously there's something missing. Can someone point me in the right direction? Thanks, Dave
Dave_Pfaltzgraff@patapsco.com writes: > I am trying to install PostgreSQL, version 6.5.3, on a new machine by following > the instructions inchapter 4 of the "PostgreSQL Administrator's Guide." I've > already installed Perl 5.6.1 but when I get to paragraph 17 to add the perl > interface, I get the following message: Use Postgres 7.1. 6.5.3 is old, buggy, and not compatible with recent Perls. regards, tom lane