Subject: Perl compilation problems on Solaris Express b53/x86
To: None <pkgsrc-users@netbsd.org>
From: Michael Huff <mphuff@gmail.com>
List: pkgsrc-users
Date: 03/14/2007 01:07:49
Hi, I'm trying to build xchat on OpenSolaris (build 53)/i386 and perl is one of
the dependencies. I am only using the bundled gcc (no other compilers or tools)
and the build of perl is failing with the following message:
===
perlio.c: In function `PerlIO_clone':
perlio.c:649: warning: ignoring return value of `Perl_fp_dup', declared with
attribute warn_unused_result
perlio.c: In function `PerlIOStdio_invalidate_fileno':
perlio.c:2899: error: structure has no member named `_file'

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/lang/perl5/work/.gcc/bin/gcc -c -DPERL_CORE -D_REENTRANT
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/pkgsrc/lang/perl5/work/.buildlink/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -Wall -fPIC perlio.c
-L/usr/pkgsrc/lang/perl5/work/.buildlink/lib 
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/perl5/work/perl-5.8.8
*** Error code 1

====

I don't know what is causing this or how to work around it. The version of
pkgsrc I'm using is 2006Q4.