Thread: Solaris 7

Solaris 7

From
"Jonathan A. Zdziarski"
Date:
Hi there,

I've been trying to successfully compile 6.4.2 on Solaris 7 - I know there
is a bindist on the FTP site but it does not include the PERL interface,
so I figured it'd be best to build it myself anyways.

I'm running..

Solaris 7
flex 2.5.4a
bison 1.27
gcc 2.8.1
make 3.77

Upon compilation I always get this:

gcc -c -I../libpq -I../../include -I/usr/local/include -O
-DVERSION=\"1.8.0\" -DXS_VERSION=\"1.8.0\" -fPIC
-I/usr/local/lib/perl5/5.00554/i86pc-solaris/CORE  Pg.c
Pg.xs: In function `XS_Pg_PQprint':
Pg.xs:584: `na' undeclared (first use in this function)
Pg.xs:584: (Each undeclared identifier is reported only once
Pg.xs:584: for each function it appears in.)
Pg.xs: In function `XS_PG_results_fetchrow':
Pg.xs:1256: `sv_undef' undeclared (first use in this function)
Pg.xs: In function `XS_PG_results_print':
Pg.xs:1296: `na' undeclared (first use in this function)
make[2]: *** [Pg.o] Error 1
make[2]: Leaving directory `/usr/share/src/pgsql/src/interfaces/perl5'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/share/src/pgsql/src/interfaces'
make: *** [all] Error 2

and have no idea how to fix it.  Any suggestions would be greatly
appreciated.

Thank you,

Jonathan A. Zdziarski
Sr. Systems Administrator
Netrail, inc.
888.NET.RAIL x240