RV: [Perl] DBD::PG para Postgres interface for perl 5- Por favor Ayuda!!!!
Lorena Garcia
mglorenna@hotmail.com
Wed, 2 Jan 2002 00:51:49 -0300
------=_NextPart_001_0000_01C19327.A914BA00
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hola a todos!! =20
Gracias a los que contestaron
sigo teniendo problemas, creo que me falto decir que ya habia probado los=
comandos
make
make test
make install
el error que me aparece al ejecutar cualquiera de ellos es el siguiente
linux:/usr/src/pgsql/DBD-Pg # make
cc -c -I/usr/src/pgsql/postgresql-7.1.3/src/include -I/usr/lib/perl5/site=
_perl/5.6.0/i586-linux/auto/DBI -fno-strict-aliasing -I/usr/local/include=
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -O2 -pipe -DVERSION=3D\=
"0.95\" -DXS_VERSION=3D\"0.95\" -fpic -I/usr/lib/perl5/5.6.0/i586-linux/C=
ORE Pg.c
In file included from Pg.xs:13:
Pg.h:17: libpq-fe.h: No such file or directory
In file included from Pg.xs:13:
Pg.h:41: dbdimp.h: No such file or directory
Pg.xs: In function `XS_DBD__Pg__db_commit':
Pg.xs:90: dereferencing pointer to incomplete type
Pg.xs: In function `XS_DBD__Pg__db_rollback':
Pg.xs:101: dereferencing pointer to incomplete type
Pg.xs: In function `XS_DBD__Pg__db_disconnect':
Pg.xs:112: dereferencing pointer to incomplete type
Pg.xs:116: dereferencing pointer to incomplete type
Pg.xs:117: dereferencing pointer to incomplete type
Pg.xs:118: dereferencing pointer to incomplete type
Pg.xs:122: dereferencing pointer to incomplete type
Pg.xs:122: dereferencing pointer to incomplete type
Pg.xs:123: dereferencing pointer to incomplete type
Pg.xs:125: dereferencing pointer to incomplete type
Pg.xs: In function `XS_DBD__Pg__db_DESTROY':
Pg.xs:165: dereferencing pointer to incomplete type
Pg.xs:166: dereferencing pointer to incomplete type
Pg.xs:172: dereferencing pointer to incomplete type
Pg.xs:173: dereferencing pointer to incomplete type
Pg.xs:174: dereferencing pointer to incomplete type
Pg.xs:176: dereferencing pointer to incomplete type
Pg.xs:177: dereferencing pointer to incomplete type
Pg.xs:177: dereferencing pointer to incomplete type
Pg.xs:177: dereferencing pointer to incomplete type
Pg.xs:179: dereferencing pointer to incomplete type
Pg.xs:180: dereferencing pointer to incomplete type
Pg.xs:190: dereferencing pointer to incomplete type
Pg.xs: In function `XS_DBD__Pg__st__prepare':
Pg.xs:356: dereferencing pointer to incomplete type
Pg.xs: In function `XS_DBD__Pg__st_execute':
Pg.xs:447: dereferencing pointer to incomplete type
Pg.xs:448: dereferencing pointer to incomplete type
Pg.xs:449: dereferencing pointer to incomplete type
Pg.xs: In function `XS_DBD__Pg__st_finish':
Pg.xs:508: dereferencing pointer to incomplete type
Pg.xs:509: dereferencing pointer to incomplete type
Pg.xs:515: dereferencing pointer to incomplete type
Pg.xs: In function `XS_DBD__Pg__st_DESTROY':
Pg.xs:576: dereferencing pointer to incomplete type
Pg.xs:577: dereferencing pointer to incomplete type
Pg.xs:582: dereferencing pointer to incomplete type
Pg.xs:583: dereferencing pointer to incomplete type
Pg.xs:583: dereferencing pointer to incomplete type
Pg.xs:583: dereferencing pointer to incomplete type
Pg.xs:585: dereferencing pointer to incomplete type
Pg.xs: In function `boot_DBD__Pg':
Pg.xs:33: sizeof applied to an incomplete type
Pg.xs:34: sizeof applied to an incomplete type
Pg.xs:35: sizeof applied to an incomplete type
make: *** [Pg.o] Error 1
linux:/usr/src/pgsql/DBD-Pg #
----- Mensaje original -----
De: Lorena Garcia
Enviado: Domingo, 30 de Diciembre de 2001 08:31 p.m.
Para: lista perl
Asunto: [Perl] DBD::PG para Postgres interface for perl 5- Por favor Ayud=
a!!!!
Hola, soy novata en linux, y estoy incursionando en la programacion en Pe=
rl, usando Postgres
He tenido problemas para instalar el modulo DBD-Pg de perl para Postgres
hice los siguientes pasos
siendo root
root # perl Makefile.PL
me sale =20
Configuring PG
Remeber to actually read the README file!
please set enviroment varibales POSTGRES_INCLUDE and POSTGRES_LIB!
root#export POSTGRES_INCLUDE=3D/usr/src/pgsql/postgresql-7.1.3/src/includ=
e (es donde descomprimi el paquete de postgres)
root# export POSTGRES_LIB=3D/usr/src/pgsql/postgresql-7.1.3/src/include/l=
ib
root#perl Makefile.PL
Configuring PG
OS_Linux
Using DBI 1.14 instaled in /usr/lib/perl5/site-perl/5.6.0/i586-linus/auto=
/DBI
Writing Makefile for DBD::PG
Esto ultimo no entiendo, que debo hacer? alguien me puede decir bien los =
pasos que me faltan para poder instalar =20
este modulo.
Uso Suse 7.2 y la version del modulo DBD-Pg es 0.95 =20
Gracias desde ya!!!
Lorena Garc=EDa
Obtenga el m=E1ximo provecho del Web. Descarga GRATUITA de MSN Explorer: =
http://explorer.msn.es/intl.asp#esObtenga el m=E1ximo provecho del Web. D=
escarga GRATUITA de MSN Explorer: http://explorer.msn.es/intl.asp#es
------=_NextPart_001_0000_01C19327.A914BA00
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<HTML><BODY STYLE=3D"font:10pt verdana; border:none;"><DIV>Hola a todos!!=
</DIV> <DIV>Gracias a los que contestaron</DIV> <DIV>sigo teniendo probl=
emas, creo que me falto decir que ya habia probado los comandos</DIV> <DI=
V>make</DIV> <DIV>make test</DIV> <DIV>make install</DIV> <DIV> </DI=
V> <DIV>el error que me aparece al ejecutar cualquiera de ellos es el sig=
uiente</DIV> <DIV> </DIV> <DIV> <P class=3DMsoPlainText style=3D"MAR=
GIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US style=3D"mso-ansi-language: EN-US"><=
FONT face=3D"Courier New">linux:/usr/src/pgsql/DBD-Pg # make<BR>cc -c -I/=
usr/src/pgsql/postgresql-7.1.3/src/include -I/usr/lib/perl5/site_perl/5.6=
.0/i586-linux/auto/DBI -fno-strict-aliasing -I/usr/local/include -D_LARGE=
FILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -O2 -pipe<SPAN style=3D"mso-spacerun=
: yes"> </SPAN>-DVERSION=3D\"0.95\" -DXS_VERSION=3D=
\"0.95\" -fpic -I/usr/lib/perl5/5.6.0/i586-linux/CORE<SPAN style=3D"mso-s=
pacerun: yes"> </SPAN>Pg.c<BR>In file included from Pg.xs:13:<BR>Pg=
.h:17: libpq-fe.h: No such file or directory<BR>In file included from Pg.=
xs:13:<BR>Pg.h:41: dbdimp.h: No such file or directory<BR>Pg.xs: In funct=
ion `XS_DBD__Pg__db_commit':<BR>Pg.xs:90: dereferencing pointer to incomp=
lete type<BR>Pg.xs: In function `XS_DBD__Pg__db_rollback':<BR>Pg.xs:101: =
dereferencing pointer to incomplete type<BR>Pg.xs: In function `XS_DBD__P=
g__db_disconnect':<BR>Pg.xs:112: dereferencing pointer to incomplete type=
<BR>Pg.xs:116: dereferencing pointer to incomplete type<BR>Pg.xs:117: der=
eferencing pointer to incomplete type<BR>Pg.xs:118: dereferencing pointer=
to incomplete type<BR>Pg.xs:122: dereferencing pointer to incomplete typ=
e<BR>Pg.xs:122: dereferencing pointer to incomplete type<BR>Pg.xs:123: de=
referencing pointer to incomplete type<BR>Pg.xs:125: dereferencing pointe=
r to incomplete type<BR>Pg.xs: In function `XS_DBD__Pg__db_DESTROY':<BR>P=
g.xs:165: dereferencing pointer to incomplete type<BR>Pg.xs:166: derefere=
ncing pointer to incomplete type<BR>Pg.xs:172: dereferencing pointer to i=
ncomplete type<BR>Pg.xs:173: dereferencing pointer to incomplete type<BR>=
Pg.xs:174: dereferencing pointer to incomplete type<BR>Pg.xs:176: derefer=
encing pointer to incomplete type<BR>Pg.xs:177: dereferencing pointer to =
incomplete type<BR>Pg.xs:177: dereferencing pointer to incomplete type<BR=
>Pg.xs:177: dereferencing pointer to incomplete type<BR>Pg.xs:179: derefe=
rencing pointer to incomplete type<BR>Pg.xs:180: dereferencing pointer to=
incomplete type<BR>Pg.xs:190: dereferencing pointer to incomplete type<B=
R>Pg.xs: In function `XS_DBD__Pg__st__prepare':<BR>Pg.xs:356: dereferenci=
ng pointer to incomplete type<BR>Pg.xs: In function `XS_DBD__Pg__st_execu=
te':<BR>Pg.xs:447: dereferencing pointer to incomplete type<BR>Pg.xs:448:=
dereferencing pointer to incomplete type<BR>Pg.xs:449: dereferencing poi=
nter to incomplete type<BR>Pg.xs: In function `XS_DBD__Pg__st_finish':<BR=
>Pg.xs:508: dereferencing pointer to incomplete type<BR>Pg.xs:509: derefe=
rencing pointer to incomplete type<BR>Pg.xs:515: dereferencing pointer to=
incomplete type<BR>Pg.xs: In function `XS_DBD__Pg__st_DESTROY':<BR>Pg.xs=
:576: dereferencing pointer to incomplete type<BR>Pg.xs:577: dereferencin=
g pointer to incomplete type<BR>Pg.xs:582: dereferencing pointer to incom=
plete type<BR>Pg.xs:583: dereferencing pointer to incomplete type<BR>Pg.x=
s:583: dereferencing pointer to incomplete type<BR>Pg.xs:583: dereferenci=
ng pointer to incomplete type<BR>Pg.xs:585: dereferencing pointer to inco=
mplete type<BR>Pg.xs: In function `boot_DBD__Pg':<BR>Pg.xs:33: sizeof app=
lied to an incomplete type<BR>Pg.xs:34: sizeof applied to an incomplete t=
ype<BR>Pg.xs:35: sizeof applied to an incomplete type<BR>make: *** [Pg.o]=
Error 1<BR>linux:/usr/src/pgsql/DBD-Pg #<?xml:namespace prefix =3D o ns =
=3D "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></SPAN>=
</P></DIV> <DIV> </DIV> <BLOCKQUOTE style=3D"PADDING-RIGHT: 0px; PAD=
DING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-=
RIGHT: 0px"> <DIV style=3D"FONT: 10pt Arial">----- Mensaje original -----=
</DIV> <DIV style=3D"BACKGROUND: #e4e4e4; FONT: 10pt Arial; COLOR: black"=
><B>De:</B> Lorena Garcia</DIV> <DIV style=3D"FONT: 10pt Arial"><B>Enviad=
o:</B> Domingo, 30 de Diciembre de 2001 08:31 p.m.</DIV> <DIV style=3D"FO=
NT: 10pt Arial"><B>Para:</B> lista perl</DIV> <DIV style=3D"FONT: 10pt Ar=
ial"><B>Asunto:</B> [Perl] DBD::PG para Postgres interface for perl 5- Po=
r favor Ayuda!!!!</DIV> <DIV> </DIV> <DIV>Hola, soy novata en linux,=
y estoy incursionando en la programacion en Perl, usando Postgres</DIV> =
<DIV> </DIV> <DIV>He tenido problemas para instalar el modulo DBD-Pg=
de perl para Postgres</DIV> <DIV>hice los siguientes pasos</DIV> <DIV>&n=
bsp;</DIV> <DIV>siendo root</DIV> <DIV> </DIV> <DIV>root # perl Make=
file.PL</DIV> <DIV>me sale </DIV> <DIV> </DIV> <DIV>Configuring PG</=
DIV> <DIV>Remeber to actually read the README file!</DIV> <DIV>please set=
enviroment varibales POSTGRES_INCLUDE and POSTGRES_LIB!</DIV> <DIV> =
;</DIV> <DIV>root#export POSTGRES_INCLUDE=3D/usr/src/pgsql/postgresql-7.1=
.3/src/include (es donde descomprimi el paquete de postgres)</DIV> =
<DIV>root# export POSTGRES_LIB=3D/usr/src/pgsql/postgresql-7.1.3/src/incl=
ude/lib</DIV> <DIV>root#perl Makefile.PL</DIV> <DIV>Configuring PG</DIV> =
<DIV>OS_Linux</DIV> <DIV>Using DBI 1.14 instaled in /usr/lib/perl5/site-p=
erl/5.6.0/i586-linus/auto/DBI</DIV> <DIV>Writing Makefile for DBD::PG</DI=
V> <DIV> </DIV> <DIV>Esto ultimo no entiendo, que debo hacer? alguie=
n me puede decir bien los pasos que me faltan para poder instalar </DIV> =
<DIV>este modulo.</DIV> <DIV> </DIV> <DIV>Uso Suse 7.2 y la version =
del modulo DBD-Pg es 0.95 </DIV> <DIV> </DIV> <DIV>Gracias desde ya!=
!!</DIV> <DIV> </DIV> <DIV><BR>Lorena Garc=EDa<BR></DIV><BR clear=3D=
all> <HR> Obtenga el m=E1ximo provecho del Web. Descarga GRATUITA de MSN =
Explorer: <A href=3D"http://explorer.msn.es/intl.asp#es">http://explorer.=
msn.es/intl.asp#es</A><BR> <P></P></BLOCKQUOTE></BODY></HTML><br clear=3D=
all><hr>Obtenga el m=E1ximo provecho del Web. Descarga GRATUITA de MSN Ex=
plorer: <a href=3D'http://explorer.msn.es/intl.asp#es'>http://explorer.ms=
n.es/intl.asp#es</a><br></p>
------=_NextPart_001_0000_01C19327.A914BA00--