Subject: Re: Problems with wine
To: Alicia da Conceicao <alicia@engine.ca>
From: Stephen Nelson <st3phen@paradise.net.nz>
List: port-i386
Date: 01/07/2004 04:07:12
--Boundary-00=_wX4+/Pu4kbc4i8x
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

> Thank you Stephen!  My datasize limit was too small.  Once I set it to
> the same large value you specificed, I was able to able to run wine
> without that memory error.  Unfortunately, it now freezes for me in
> the exact same way it freezes for you.

Finally taking Michal's advice, I looked at the tech-pkg mailing list, and got 
a patch for building wine without opengl. I have attached the patch and the 
message, note that I used the current version, with the same steps as 
specified. Wine doesn't owrk for me 'yet', but the error I now have seems 
alot more solvable, atleast there is no complete freeze.

--Boundary-00=_wX4+/Pu4kbc4i8x
Content-Type: message/rfc822;
  name="wine trouble"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="wine trouble"


=46rom wiz@netbsd.org Tue Jan  6 12:58:18 2004
  by pop3-2.paradise.net.nz with SMTP; 6 Jan 2004 12:59:30 -0000
	id 4CCC319B01; Tue,  6 Jan 2004 13:58:18 +0100 (CET)
Date: Tue, 6 Jan 2004 13:58:18 +0100
=46rom: Thomas Klausner <wiz@netbsd.org>
To: Stephen Nelson <st3phen@paradise.net.nz>
Cc: tech-pkg@netbsd.org
Subject: Re: wine trouble
Message-ID: <20040106125817.GF23149@dmath5.geometrie.tuwien.ac.at>
Mail-Followup-To: Stephen Nelson <st3phen@paradise.net.nz>,
	tech-pkg@netbsd.org
References: <200401062139.25777.st3phen@paradise.net.nz>
Mime-Version: 1.0
Content-Type: multipart/mixed;
  boundary=3D"nFreZHaLTZJo0R7j"
Content-Disposition: inline
In-Reply-To: <200401062139.25777.st3phen@paradise.net.nz>


=2D-nFreZHaLTZJo0R7j
Content-Type: text/plain; charset=3Dus-ascii
Content-Disposition: inline

On Tue, Jan 06, 2004 at 09:39:25PM +0000, Stephen Nelson wrote:
> There is a thread on port-i386 mailing list discussing the same problem.
> I managed to get the 20031212 version to start by raising the datasize li=
mit,=20
> but wine still doesn't run. How do you disable opengl?

I'm currently using the previous version of wine, without opengl.
cd /usr/pkgsrc/emulators
mv wine wine.new
cvs up -D20031204 wine
mv wine wine.old
mv wine.new wine
cd wine.old
patch < attached_patch
make install

The updated patch does not work with the current wine package,
because of "bash: /usr/pkg/bin/wine: Cannot allocate memory"

Cheers,
 Thomas

=2D-nFreZHaLTZJo0R7j
Content-Type: text/plain; charset=3Dus-ascii
Content-Disposition: attachment; filename=3D"wine.patch"

? wine.patch
Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/emulators/wine/Makefile,v
retrieving revision 1.55
diff -u -r1.55 Makefile
=2D-- Makefile	1 Dec 2003 15:59:50 -0000	1.55
+++ Makefile	6 Jan 2004 12:33:07 -0000
@@ -25,6 +25,7 @@
=20
 GNU_CONFIGURE=3D		YES
 CONFIGURE_ARGS+=3D	--without-curses #--disable-debug --disable-trace
+CONFIGURE_ARGS+=3D	--without-opengl
 CONFIGURE_ENV+=3D		ac_cv_path_ARTSCCONFIG=3D${TRUE}
 CONFIGURE_ENV+=3D		ac_cv_prog_sane_devel=3Dno
=20
@@ -57,7 +58,7 @@
=20
 .include "../../graphics/MesaLib/buildlink2.mk"
 .include "../../graphics/freetype2/buildlink2.mk"
=2D.include "../../graphics/glu/buildlink2.mk"
+#.include "../../graphics/glu/buildlink2.mk"
 .include "../../graphics/jpeg/buildlink2.mk"
 .include "../../graphics/libungif/buildlink2.mk"
 .include "../../mk/pthread.buildlink2.mk"
Index: PLIST
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/emulators/wine/PLIST,v
retrieving revision 1.18
diff -u -r1.18 PLIST
=2D-- PLIST	1 Dec 2003 15:59:50 -0000	1.18
+++ PLIST	6 Jan 2004 12:33:08 -0000
@@ -304,10 +304,7 @@
 lib/wine/ctl3d.dll.so
 lib/wine/ctl3d32.dll.so
 lib/wine/ctl3dv2.dll.so
=2Dlib/wine/d3d8.dll.so
=2Dlib/wine/d3d9.dll.so
 lib/wine/d3dim.dll.so
=2Dlib/wine/d3dx8.dll.so
 lib/wine/dciman32.dll.so
 lib/wine/ddeml.dll.so
 lib/wine/ddraw.dll.so
@@ -332,7 +329,6 @@
 lib/wine/expand.exe.so
 lib/wine/gdi.exe.so
 lib/wine/gdi32.dll.so
=2Dlib/wine/glu32.dll.so
 lib/wine/icinfo.exe.so
 lib/wine/icmp.dll.so
 lib/wine/imaadp32.acm.so
@@ -497,7 +493,6 @@
 lib/wine/olepro32.dll.so
 lib/wine/olesvr.dll.so
 lib/wine/olesvr32.dll.so
=2Dlib/wine/opengl32.dll.so
 lib/wine/progman.exe.so
 lib/wine/psapi.dll.so
 lib/wine/qcap.dll.so
@@ -551,7 +546,6 @@
 lib/wine/wineboot.exe.so
 lib/wine/winecfg.exe.so
 lib/wine/wineconsole.exe.so
=2Dlib/wine/wined3d.dll.so
 lib/wine/winedbg.exe.so
 lib/wine/winedos.dll.so
 lib/wine/winefile.exe.so

=2D-nFreZHaLTZJo0R7j--



--Boundary-00=_wX4+/Pu4kbc4i8x
Content-Type: text/x-diff;
  charset="iso-8859-1";
  name="wine.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="wine.patch"

? wine.patch
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/wine/Makefile,v
retrieving revision 1.55
diff -u -r1.55 Makefile
--- Makefile	1 Dec 2003 15:59:50 -0000	1.55
+++ Makefile	6 Jan 2004 12:33:07 -0000
@@ -25,6 +25,7 @@
 
 GNU_CONFIGURE=		YES
 CONFIGURE_ARGS+=	--without-curses #--disable-debug --disable-trace
+CONFIGURE_ARGS+=	--without-opengl
 CONFIGURE_ENV+=		ac_cv_path_ARTSCCONFIG=${TRUE}
 CONFIGURE_ENV+=		ac_cv_prog_sane_devel=no
 
@@ -57,7 +58,7 @@
 
 .include "../../graphics/MesaLib/buildlink2.mk"
 .include "../../graphics/freetype2/buildlink2.mk"
-.include "../../graphics/glu/buildlink2.mk"
+#.include "../../graphics/glu/buildlink2.mk"
 .include "../../graphics/jpeg/buildlink2.mk"
 .include "../../graphics/libungif/buildlink2.mk"
 .include "../../mk/pthread.buildlink2.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/wine/PLIST,v
retrieving revision 1.18
diff -u -r1.18 PLIST
--- PLIST	1 Dec 2003 15:59:50 -0000	1.18
+++ PLIST	6 Jan 2004 12:33:08 -0000
@@ -304,10 +304,7 @@
 lib/wine/ctl3d.dll.so
 lib/wine/ctl3d32.dll.so
 lib/wine/ctl3dv2.dll.so
-lib/wine/d3d8.dll.so
-lib/wine/d3d9.dll.so
 lib/wine/d3dim.dll.so
-lib/wine/d3dx8.dll.so
 lib/wine/dciman32.dll.so
 lib/wine/ddeml.dll.so
 lib/wine/ddraw.dll.so
@@ -332,7 +329,6 @@
 lib/wine/expand.exe.so
 lib/wine/gdi.exe.so
 lib/wine/gdi32.dll.so
-lib/wine/glu32.dll.so
 lib/wine/icinfo.exe.so
 lib/wine/icmp.dll.so
 lib/wine/imaadp32.acm.so
@@ -497,7 +493,6 @@
 lib/wine/olepro32.dll.so
 lib/wine/olesvr.dll.so
 lib/wine/olesvr32.dll.so
-lib/wine/opengl32.dll.so
 lib/wine/progman.exe.so
 lib/wine/psapi.dll.so
 lib/wine/qcap.dll.so
@@ -551,7 +546,6 @@
 lib/wine/wineboot.exe.so
 lib/wine/winecfg.exe.so
 lib/wine/wineconsole.exe.so
-lib/wine/wined3d.dll.so
 lib/wine/winedbg.exe.so
 lib/wine/winedos.dll.so
 lib/wine/winefile.exe.so

--Boundary-00=_wX4+/Pu4kbc4i8x--