Обсуждение: problem with postgresql7.2 installation
Hi, I'm trying to install postgresql7.2 on susOS. When I used gmake command to build it, it is giving the following error. /usr/ucb/cc: language optional software package not installed Below is some of the output generated with gmake. /bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503 /usr/perl5/5.00503/ExtUtils/xsubpp -typemap /usr/perl5/5.00503/ExtUtils/typemap -typemap typemap Pg.xs > Pg.c cc -c -I. -I../../../src/interfaces/libpq -I../../../src/include -xO3 -xdepend -DVERSION=\"1.9.0\" -DXS_VERSION=\"1.9.0\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE Pg.c /usr/ucb/cc: language optional software package not installed gmake[4]: *** [Pg.o] Error 1 gmake[4]: Leaving directory `/u01/app/pgsql/postgresql-7.2/src/interfaces/perl5' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/u01/app/pgsql/postgresql-7.2/src/interfaces/perl5' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/u01/app/pgsql/postgresql-7.2/src/interfaces' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/u01/app/pgsql/postgresql-7.2/src' gmake: *** [all] Error 2
s.chava@wcom.com (Srinivasa Rao Chava) writes: > /bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503 > /usr/perl5/5.00503/ExtUtils/xsubpp -typemap > /usr/perl5/5.00503/ExtUtils/typemap -typemap typemap Pg.xs > Pg.c > cc -c -I. -I../../../src/interfaces/libpq -I../../../src/include -xO3 > -xdepend -DVERSION=\"1.9.0\" -DXS_VERSION=\"1.9.0\" -KPIC > -I/usr/perl5/5.00503/sun4-solaris/CORE Pg.c > /usr/ucb/cc: language optional software package not installed It would appear that your Perl installation was constructed using a compiler that you haven't got. You may find that you have to build Perl from source to get around this. Or, don't bother with building PG's Perl interface. regards, tom lane
At 08:09 AM 2/15/2002 , Srinivasa Rao Chava wrote: >Hi, >I'm trying to install postgresql7.2 on susOS. >When I used gmake command to build it, it is giving the following >error. >/usr/ucb/cc: language optional software package not installed You need to install the Sun Workshop compiler suite, or the GCC package. -crl -- Chad R. Larson (CRL22) chad@eldocomp.com Eldorado Computing, Inc. 602-604-3100 5353 North 16th Street, Suite 400 Phoenix, Arizona 85016-3228