pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/42336: devel/glib2 does not compile on Solaris10
The following reply was made to PR pkg/42336; it has been noted by GNATS.
From: Jens Rehsack <rehsack%googlemail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/42336: devel/glib2 does not compile on Solaris10
Date: Wed, 18 Nov 2009 08:30:42 +0100
2009/11/17 Filip Hajny <filip%joyent.com@localhost>:
> The following reply was made to PR pkg/42336; it has been noted by GNATS.
>
> From: Filip Hajny <filip%joyent.com@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc:
> Subject: Re: pkg/42336: devel/glib2 does not compile on Solaris10
> Date: Tue, 17 Nov 2009 19:01:27 +0100
>
> On 17.11.2009, at 18:55, Uwe Klaus wrote:
>
> > The following reply was made to PR pkg/42336; it has been noted by
> > GNATS.
> >
> > From: Uwe Klaus <uklaus%hgb-leipzig.de@localhost>
> > To: gnats-bugs%NetBSD.org@localhost
> > Cc:
> > Subject: Re: pkg/42336: devel/glib2 does not compile on Solaris10
> > Date: Tue, 17 Nov 2009 18:53:09 +0100 (CET)
> >
> > On Tue, 17 Nov 2009, David Holland wrote:
> >
> >> On Tue, Nov 17, 2009 at 03:25:00PM +0000, uklaus%hgb-leipzig.de@localhost
> >> wrote:
> >>> checking for res_query... no
> >>> checking for res_query in -lresolv... yes
> >>> checking number of arguments to statfs()... unknown
> >>> configure: error: unable to determine number of arguments to statfs
> >>> ()
> >>
> >> What does config.log say about what blew up?
> > configure:35277: cc -c -xO3 -xtarget=ultra -Xa -I/opt/pkg/include
> > -I/usr/include -DPREFIX="\"/opt/pkg\"" -DPKGLOCALEDIR="\"lib\""
> > -DPKG_SYSCONFDIR="\"/opt/pkg/etc\"" -I/opt/pkg/include -I/usr/include
> > -DG_DISABLE_SINGLE_INCLUDES conftest.c >&5
> > "/usr/include/sys/feature_tests.h", line 332: #error: "Compiler or
> > options
> > invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX
> > applications"
>
> The fix is the exclude 'c99' from USE_LANGUAGES on Solaris.
A much better fix is to use _XOPEN_SOURCE=600 instead of
_XOPEN_SOURCE=2 in it's configure. In that case, c99 can remain (what I
rate higher).
I didn't found the time to create the patches, but maybe someone could assign
this PR to me and I'll take care (hopefully this year).
/Jens
Home |
Main Index |
Thread Index |
Old Index