Gentoo Archives: gentoo-alt

From: Fabian Groffen <grobian@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [PREFIX] Problem compiling libperl on Solaris 11
Date: Thu, 29 May 2008 13:18:50
Message-Id: 20080529131754.GD9590@gentoo.org
1 On 09-03-2007 15:16:18 +0100, Fabian Groffen wrote:
2 > On 09-03-2007 12:49:58 +0100, Fabrizio Listello wrote:
3 > > On 3/9/07, Fabian Groffen <grobian@g.o> wrote:
4 > > >On 02-03-2007 12:24:30 +0100, Fabrizio Listello wrote:
5 > > >> >> I'm getting an error while compiling libperl:
6 > > >> >>
7 > > >> >> `sh cflags "optimize='-I/opt/gentoo/usr/include'" perlio.o` -fPIC
8 > > >> >> perlio.c
9 > > >> >> CCCMD = i386-pc-solaris2.11-gcc -DPERL_CORE -c
10 > > >> >> -fno-strict-aliasing -pipe -Wdeclaration-after-statement
11 > > >> >> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV
12 > > >> >> -I/opt/gentoo/usr/include -Wall
13 > > >> >> perlio.c: In function 'PerlIOStdio_invalidate_fileno':
14 > > >> >> perlio.c :2899: error: 'FILE' has no member named '_file'
15 > > >> >> make: *** [perlio.o] Error 1
16
17 Instead, I get this error on OpenSolaris:
18
19 In file included from perl.h:1195,
20 from miniperlmain.c:36:
21 /usr/include/sys/mode.h:49: error: array type has incomplete element type
22
23 weird enough, on Solaris 10 this header effectively contains the same.
24
25 --
26 Fabian Groffen
27 Gentoo on a different level
28 --
29 gentoo-alt@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] [PREFIX] Problem compiling libperl on Solaris 11 Fabian Groffen <grobian@g.o>