Received: from mail-b.bcc.ac.uk (mail-b.bcc.ac.uk [144.82.100.22]) by hub.org (8.9.3/8.9.3) with ESMTP id KAA90337 for ; Mon, 19 Jul 1999 10:39:34 -0400 (EDT) (envelope-from stuart@ludwig.ucl.ac.uk) Received: from kestrel.ludwig.ucl.ac.uk by mail-b.bcc.ac.uk with SMTP (XT-PP); Mon, 19 Jul 1999 15:38:24 +0100 Received: from [128.40.242.190] by kestrel.ludwig.ucl.ac.uk (SMI-8.6/SMI-SVR4) id PAA28010; Mon, 19 Jul 1999 15:40:08 +0100 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Sender: stuart@kestrel.ludwig.ucl.ac.uk Message-Id: Date: Mon, 19 Jul 1999 15:36:00 +0100 To: dbi-users@isc.org, pgsql-interfaces@hub.org From: Stuart Rison Subject: Request for help (attempt II)... Can't compile DBD::Pg (under IRIX 5.3) 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 | +--------------------------+--------------------------------------+