Subject: | Unable to compile on OpenSolaris b134 |
Date: | Sun, 13 Jun 2010 13:59:03 +0200 |
To: | bug-DBD-Pg [...] rt.cpan.org |
From: | Martijn de Munnik <martijn [...] youngguns.nl> |
Hi,
I'm trying to compile DBD::Pg on Opensolaris but it seems the
compilation just hangs after a warning. I've been waiting for 30
minutes but nothing seems to happen anymore. iropt is using cpu time
and seems to be running but I don't think it's doing anything, maybe
an endless loop?
I'm using the http://pkg.opensolaris/dev/ 5.10.0 Perl release and
already installed DBI successfully.
Output of the compilation:
=====================================================
Configuring DBD::Pg 2.17.1
PostgreSQL version: 80309 (default port: 5432)
POSTGRES_HOME: /usr/postgres/8.3
POSTGRES_INCLUDE: /usr/postgres/8.3/include
POSTGRES_LIB: /usr/postgres/8.3/lib -lssl -lcrypto
OS: solaris
Checking if your kit is complete...
Looks good
Using DBI 1.611 (for perl 5.010000 on sun4-solaris-64int) installed
in /usr/perl5/site_perl/5.10.0/sun4-solaris-64int/auto/DBI/
Writing Makefile for DBD::Pg
cp lib/Bundle/DBD/Pg.pm blib/lib/Bundle/DBD/Pg.pm
cp Pg.pm blib/lib/DBD/Pg.pm
/usr/perl5/5.10.0/bin/perl -p -e "s/~DRIVER~/Pg/g; s/^do\(/dontdo\(/" /
usr/perl5/site_perl/5.10.0/sun4-solaris-64int/auto/DBI/Driver.xst >
Pg.xsi
/usr/perl5/5.10.0/bin/perl /usr/perl5/5.10.0/lib/ExtUtils/xsubpp -
typemap /usr/perl5/5.10.0/lib/ExtUtils/typemap Pg.xs > Pg.xsc && mv
Pg.xsc Pg.c
cc -c -I/usr/postgres/8.3/include -I/usr/perl5/site_perl/5.10.0/sun4-
solaris-64int/auto/DBI -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -
xarch=v8 -D_TS_ERRNO -DPGLIBVERSION=80309 -DPGDEFPORT=5432 -xO3 -
xspace -xildoff -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -
Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc -DVERSION=
\"2.17.1\" -DXS_VERSION=\"2.17.1\" -KPIC "-I/usr/perl5/5.10.0/lib/
sun4-solaris-64int/CORE" Pg.c
cc -c -I/usr/postgres/8.3/include -I/usr/perl5/site_perl/5.10.0/sun4-
solaris-64int/auto/DBI -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -
xarch=v8 -D_TS_ERRNO -DPGLIBVERSION=80309 -DPGDEFPORT=5432 -xO3 -
xspace -xildoff -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -
Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc -DVERSION=
\"2.17.1\" -DXS_VERSION=\"2.17.1\" -KPIC "-I/usr/perl5/5.10.0/lib/
sun4-solaris-64int/CORE" dbdimp.c
cc -c -I/usr/postgres/8.3/include -I/usr/perl5/site_perl/5.10.0/sun4-
solaris-64int/auto/DBI -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -
xarch=v8 -D_TS_ERRNO -DPGLIBVERSION=80309 -DPGDEFPORT=5432 -xO3 -
xspace -xildoff -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -
Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc -DVERSION=
\"2.17.1\" -DXS_VERSION=\"2.17.1\" -KPIC "-I/usr/perl5/5.10.0/lib/
sun4-solaris-64int/CORE" quote.c
"quote.c", line 334: warning: assignment type mismatch:
pointer to char "=" pointer to const char
=====================================================
Running processes:
=====================================================
munnik 6973 6364 0 13:21:33 pts/1 0:00 cc -c -I/usr/
postgres/8.3/include -I/usr/perl5/site_perl/5.10.0/sun4-solaris-64
munnik 6119 17600 0 13:20:46 pts/1 0:00 /usr/bin/ksh ./
build_perl_dbd_pg.ksh
munnik 6364 6119 0 13:20:59 pts/1 0:00 make
munnik 7004 6973 5 13:21:34 pts/1 32:54 /opt/
SunStudioExpress/prod/bin/iropt -Qy -O3 -xarch=v8 -m32 -xchip=generic -
xca
=====================================================
System:
=====================================================
SunOS duane 5.11 snv_134 sun4v sparc SUNW,SPARC-Enterprise-T5120 Solaris
=====================================================
I don't know what to do. I try to keep it running for some time...
Thanks,
Martijn