Thread: [Fwd: pgsql_perl5 problem to compile on IRIX 6.4]

[Fwd: pgsql_perl5 problem to compile on IRIX 6.4]

From
Edmund Mergl
Date:
Hi,

once and a while this typedef appears in the
include files. On some systems it gives only
warnings, on other systems the compilers stops.

Edmund
--
Edmund Mergl          mailto:E.Mergl@bawue.de
Im Haldenhau 9        http://www.bawue.de/~mergl
70565 Stuttgart       fon: +49 711 747503
Germany               gsm: +49 171 2645325
perl -v output:

This is perl, version 5.003 with EMBED
        built under irix at Jan 23 1997 16:55:47
        + suidperl security patch

Copyright 1987-1996, Larry Wall

Perl may be copied only under the terms of either the Artistic License or
the
GNU General Public License, which may be found in the Perl 5.0 source kit.

perl -V output:

Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=irix, osver=6.2, archname=irix-n32
    uname='irix hoshi 6.2 03131015 ip22 '
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='cc -n32 -mips3', optimize='-O2 -OPT:Olimit=0', gccversion=
    cppflags='-DBSD_TYPES -D_BSD_SIGNALS -D_BSD_TIME -DLANGUAGE_C -woff
1009'
    ccflags ='-DBSD_TYPES -D_BSD_SIGNALS -D_BSD_TIME -DLANGUAGE_C -woff
1009'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y, randbits=15
  Linker and Libraries:
    ld='cc', ldflags =''
    libpth=/usr/lib32 /lib32 /usr/lib /lib
    libs=-lbsd -lm
    libc=, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags=' ', lddlflags='-n32 -mips3 -shared'

@INC: /usr/share/lib/perl5/irix-n32/5.003 /usr/share/lib/perl5
/usr/share/lib/perl5/site_perl/irix-n32 /usr/share/lib/perl5/site_perl
/usr/share/lib/perl5/sgi_perl .

Postgresql Version = 6.3
pgsql_perl5 Version = 1.7.0

And the error message while compiling (at the 'make' phase):

        cc -n32 -mips3 -c -I/usr/local/pgsql/include -DBSD_TYPES
-D_BSD_SIGNALS
-D_BSD_TIME -DLANGUAGE_C -woff 1009 -O2 -OPT:Olimit=0
-DVERSION=\"1.7.0\"  -DXS_VERSION=\"1.7.0\"
-I/usr/share/lib/perl5/irix-n32/5.003/CORE  Pg.c
"/usr/local/pgsql/include/c.h", line 66: error(1084): invalid combination
of
          type specifiers
  typedef char bool;
               ^

1 error detected in the compilation of "Pg.c".
*** Error code 2 (bu21)

uname -a: IRIX64 soulman 6.4 02121744 IP27

And the postgresql 6.3 was succesfully installed&working.
If you know a solution to this problem, please reply it to me.

Thanks in advance: Spitzer Andras