Subject: Re: Updated Wine pkgsrc entry (finally) available
To: Johnny Lam <jlam@jgrind.org>
From: Bang Jun-Young <junyoung@mogua.com>
List: tech-pkg
Date: 02/01/2002 01:49:17
On Thu, Jan 31, 2002 at 07:42:18AM -0800, Johnny Lam wrote:
> On Fri, Feb 01, 2002 at 12:34:21AM +0900, Bang Jun-Young wrote:
> > On Thu, Jan 31, 2002 at 06:23:36AM -0800, Johnny Lam wrote:
> > > I've fixed this package to install properly in ${LOCALBASE} (/usr/pkg)
> > > instead.
> > 
> > Installation was successful on my machine. Thanks for your work.
> 
> That sounds good.  Were you able to test whether the changes to remove
> LD_RUN_PATH were correct or not, i.e. can you run Windows executables?

Yes. LD_RUN_PATH was no longer necessary. 

> I'm having a new problem.  I can't build "regapi", the registry-editting
> program for Wine that is executed by the wineinstall script.  Running
> "gmake" in ${WRKSRC}/programs/regapi yields (lines wrapped for clarity):
> 
> cc -c -I. -I. -I../../include -I../../include
> 	-I/usr/pkgsrc/scratch/wine/work/.buildlink/include -O2
> 	-mcpu=pentiumpro -I/usr/pkg/share/x11-links/include -Wall
> 	-mpreferred-stack-boundary=2 -fPIC -DSTRICT -DNONAMELESSUNION
> 	-DNONAMELESSSTRUCT  -D_REENTRANT -I/usr/pkg/share/x11-links/include
> 	-o regapi.o regapi.c
> In file included from ../../include/winsock2.h:30,
>                  from ../../include/windows.h:39,
>                  from regapi.c:12:
> ../../include/winsock.h:905: parse error before `('
> ../../include/winsock.h:905: parse error before `)'
> ../../include/winsock.h:906: parse error before `('
> ../../include/winsock.h:906: parse error before `)'
> ../../include/winsock.h:911: parse error before `('
> ../../include/winsock.h:911: parse error before `)'
> ../../include/winsock.h:912: parse error before `('
> ../../include/winsock.h:912: parse error before `)'
> gmake: *** [regapi.o] Error 1

This is a known problem. The final fix was committed on 1/29,
a week after the latest release was made available. You
can resolve it by fetching -r1.39 from the cvs.

Jun-Young

-- 
Bang Jun-Young <junyoung@mogua.com>