instalar pg, como? (fwd)

RUBEN ruben@sg.df.gob.mx
Mon, 19 Oct 1998 16:38:44 -0500 (CDT)





Hola lista!

he tratado de instalar el módulo pg (perl<->postgres), pero me manda un
error que de plano no entiendo, les agradecería su ayuda. Espero no se
molesten por lo largo del correo.

1.- baje el pgsql_perl5-1.6.1.tar.gz
2.- tar -xzf ""    ""
3.- perl Makefile.PL:


Configuring Pg
Remember to actually read the README file !
$POSTGRESHOME not defined. Searching for Postgres...
Unable to determine $POSTGRESHOME !

4.- le puse a mano el $POSTGRESHOME como /usr (parece que solo busca un
directorio que tenga /lib, y segun mis mortales conocimientos postgres
esta en /usr/bin)

5.- perl Makefile.PL:

Configuring Pg
Remember to actually read the README file !

Found Postgres in /usr
Checking if your kit is complete...
Looks good
Writing Makefile for Pg

6.-make:

mkdir ./blib
mkdir ./blib/lib
mkdir ./blib/arch
mkdir ./blib/arch/auto
mkdir ./blib/arch/auto/Pg
mkdir ./blib/lib/auto
mkdir ./blib/lib/auto/Pg
mkdir ./blib/man3
cp Pg.pm ./blib/lib/Pg.pm
AutoSplitting Pg (./blib/lib/auto/Pg)
cp ApachePg.pl ./blib/lib/ApachePg.pl
/usr/bin/perl -I/usr/lib/perl5/i386-linux/5.00401 -I/usr/lib/perl5
/usr/lib/perl5/ExtUtils/xsubpp  -typemap /usr/lib/perl5/ExtUtils/typemap
-typemap typemap Pg.xs >Pg.tc && mv Pg.tc Pg.c
cc -c -I/usr/include -Dbool=char -DHAS_BOOL -O2    -DVERSION=\"1.6.1\"
-DXS_VERSION=\"1.6.1\" -fpic -I/usr/lib/perl5/i386-linux/5.00401/CORE
Pg.c
Pg.xs:25: postgres.h: No such file or directory
Pg.xs:26: libpq-fe.h: No such file or directory
make: *** [Pg.o] Error 1

7.- y de ahi, ni idea, el make test, (me vuelvo root, make test):

cc -c -I/usr/include -Dbool=char -DHAS_BOOL -O2    -DVERSION=\"1.6.1\"
-DXS_VERSION=\"1.6.1\" -fpic -I/usr/lib/perl5/i386-linux/5.00401/CORE
Pg.c
Pg.xs:25: postgres.h: No such file or directory
Pg.xs:26: libpq-fe.h: No such file or directory
make: *** [Pg.o] Error 1

--Plataforma HW (Hardware)
estoy usando Redhat 5.0.mx, en una PII, con
un buen de espacio, y de memoria

--Plataforma HW (HumanWare)
usuario BASTANTE neófito! :(

Saludos y gracias.


                \||/
                |  -___oo
      /\  /\   / (__,,,,|
     ) /^\) ^\/ _)
     )   /^\/   _)	      J. Ruben Marrero V.
     )   _ /  / _)            
 /\  )/\/ ||  | )_)           ruben@sg.df.gob.mx
<  >      |(,,) )__)
 ||      /    \)___)\	   
 | \____(      )___) ) 	   
 \______(_______;;; __;;;   



--------- Pie de mensaje --------------------------------
Visite: http://tlali.iztacala.unam.mx/~randrade/perl.shtml
Cancelar inscripcion:
mail to: majordomo@tlali.iztacala.unam.mx
text   : cancelacion perl