The following reply was made to PR pkg/33757; it has been noted by GNATS.
From: "Brian Gbaguidi" <briangbaguidi@googlemail.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/33757
Date: Mon, 19 Jun 2006 17:57:02 +0200
------=_Part_59863_1832659.1150732622202
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
After a second update from a local mirror of cvs i'm now up to date with
pkgsrc but glib2 still refuse to compile.
In /usr/pkgsrc/devel/glib2/work/glib-2.10.3/gobject the compiler, as we saw
in the bug-report,
doesn't find some files ( config.h glib.h and gprintf.h), which are in:
/usr/pkgsrc/devel/glib2/work/glib-2.10.3/config.h
/usr/pkgsrc/devel/glib2/work/glib-2.10.3/glib/glib.h
/usr/pkgsrc/devel/glib2/work/glib-2.10.3/glib/gprintf.h
So just open /usr/pkgsrc/devel/glib2/work/glib-2.10.3/gobject/glib-
genmarshal.c and change the includes to:
line 19 the config.h include : #include "../config.h"
line 23 the glib.h include : #include "../glib/glib.h"
line 25 the gprintf.h include : #include "../glib/gprintf.h"
And now it compiles.
It's a possible temporary-fix.
(My first attempt was without the "Re:" in the Subject so sorry if it
appears twice)
--
Brian
------=_Part_59863_1832659.1150732622202
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
<span class="gmail_quote"></span><br>After a second update from a local mirror of cvs i'm now up to date with pkgsrc but glib2 still refuse to compile.<br><div>In /usr/pkgsrc/devel/glib2/work/glib-2.10.3/gobject the compiler, as we saw in the bug-report,
<br>doesn't find some files (
config.h glib.h and gprintf.h), which are in:<br>/usr/pkgsrc/devel/glib2/work/glib-2.10.3/config.h<br>/usr/pkgsrc/devel/glib2/work/glib-2.10.3/glib/glib.h<br>/usr/pkgsrc/devel/glib2/work/glib-2.10.3/glib/gprintf.h<br><br>
So just open /usr/pkgsrc/devel/glib2/work/glib-2.10.3/gobject/glib-genmarshal.c and change the includes to:<br><br>line 19 the config.h include : #include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;../config.h&quot;<br>line 23 the glib.h include&nbsp;&nbsp;&nbsp;&nbsp; : #include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;../glib/glib.h&quot;
<br>line 25 the gprintf.h include : #include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;../glib/gprintf.h&quot;<br><br>And now it compiles.<br>It's a possible temporary-fix.<br>(My first attempt was without the &quot;Re:&quot; in the Subject so sorry if it appears twice)
<br><br>--<br></div><div><span class="sg">Brian<br>
</span></div>
------=_Part_59863_1832659.1150732622202--