From: Stuart Rison <stuart@ludwig.ucl.ac.uk>
To: dbi-users@isc.org
To: pgsql-interfaces@hub.org
Subject: Request for help (attempt II)... Can't compile DBD::Pg (under IRIX 5.3)
Date: Mon, 19 Jul 1999 15:36:00 +0100
Message-ID: <v04020a05b3b8e5cae2d4@[128.40.242.190]> (raw)
Dear all,
This is a (re-)request for help from anybody who could explain the problems
I am experiencing compiling DBD::Pg under 5.3.
Can anyone help me compile DBD::Pg 0.89 under IRIX 5.3 (I am using that
version of DBD::Pg because it is the latest compatible with my version of
postgreSQL (6.4)).
I get:
cc -c -I/usr/local/pgsql/include -I/usr/local/include/pgsql
-I/usr/include/pgsql -I/usr/local/lib/perl5/site_perl/IP22-irix/auto/DBI
-I/usr/local/lib/perl5/IP22-irix/5.00404/DBI -I/auto/DBI -I/DBI
-D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 30
cfe: Warning 608: ./Pg.h: 24: Undefined the ANSI standard library defined
macro BUFSIZ (4.1.2.1(9))
cfe: Error: dbdimp.c, line 826: Incompatible pointer type assignment
(3.3.16.1, 3.5.4.1(21))
val = (((phs->sv)->sv_flags & 0x00040000 ) ? (( len =
((XPV*) (phs->sv)->sv_any )->xpv_cur ), ((XPV*) (phs->sv)->sv_any
)->xpv_pv ) : Perl_sv_2pv (phs->sv, & len)) ;
-------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-----------------^
cfe: Error: dbdimp.c, line 826: Type int * of this argument is
incompatible with type STRLEN * of function prototype description
(3.3.16.1)
val = (((phs->sv)->sv_flags & 0x00040000 ) ? (( len =
((XPV*) (phs->sv)->sv_any )->xpv_cur ), ((XPV*) (phs->sv)->sv_any
)->xpv_pv ) : Perl_sv_2pv (phs->sv, & len)) ;
-------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-----------------^
*** Error code 1 (bu21)
FULL DETAILS are in a previous post entitled "Problems compiling DBD::Pg
under IRIX 5.3" that I'd be happy to forward to you if you need it.
I'd be grateful for any help.
With best regards,
Stuart.
+--------------------------+--------------------------------------+
| Stuart C. G. Rison | Ludwig Institute for Cancer Research |
+--------------------------+ 91 Riding House Street |
| N.B. new phone code!! | London, W1P 8BT |
| Tel. +44 (0)207 878 4041 | UNITED KINGDOM |
| Fax. +44 (0)207 878 4040 | stuart@ludwig.ucl.ac.uk |
+--------------------------+--------------------------------------+
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-interfaces@postgresql.org
Cc: stuart@ludwig.ucl.ac.uk, dbi-users@isc.org, pgsql-interfaces@hub.org
Subject: Re: Request for help (attempt II)... Can't compile DBD::Pg (under IRIX 5.3)
In-Reply-To: <v04020a05b3b8e5cae2d4@[128.40.242.190]>
References: <v04020a05b3b8e5cae2d4@[128.40.242.190]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox