Request for help (attempt II)... Can't compile DBD::Pg (under IRIX 5.3)

From: Stuart Rison <stuart(at)ludwig(dot)ucl(dot)ac(dot)uk>
To: dbi-users(at)isc(dot)org, pgsql-interfaces(at)hub(dot)org
Subject: Request for help (attempt II)... Can't compile DBD::Pg (under IRIX 5.3)
Date: 1999-07-19 14:36:00
Message-ID: v04020a05b3b8e5cae2d4@[128.40.242.190]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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(at)ludwig(dot)ucl(dot)ac(dot)uk |
+--------------------------+--------------------------------------+

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Neil Darlow 1999-07-19 15:16:09 Qualified Table Name and PsqlODBC.
Previous Message Piotr Stelmaszyk 1999-07-19 12:55:46 Re[2]: [INTERFACES] JDBC driver/applet question