Subject: Re: Problems with wine
To: Rui Paulo <goteki@pixeloverflow.com>
From: Alicia da Conceicao <alicia@engine.ca>
List: port-i386
Date: 01/05/2004 17:37:15
>> I get a similar error using "wine-20031212" build taken from pkgsrc
>> current:
>> 	/opt/pkg/bin/wine: Cannot allocate memory
>> even though I have 512MB of RAM, and I am only running a kernel, X-Windows,
>> FVWM95 window manager, and X-term, and 2 tcsh shells.  Oh, BTW I have
>> enabled "options USER_LDT" in my kernel.
>> Please let me know if anyone has a fix to get wine to work.
> 
> Try changing your ulimits and if that donesn't work, set BUILDLINK2=no in wine at pkgsrc's and rebuild wine.

Thanks Rui for the suggestion.  Unfortunately, I have signifigantly
increased all of the ulimits (datasize, stack, memory, descriptors,
etc.) without any luck.  I also recompiled "wine-20031212" in pkgsrc
with the line "BUILDLINK2=no" added to /etc/mk.conf and compiled
with "make BUILDLINK2=no install", but I still get the same error:
"/opt/pkg/bin/wine: Cannot allocate memory".

I used to be able to run MSOffice 2000 using "wine-20021007nb1" on
a laptop under X-Windows with only 96MB of RAM, so I can't figure
out why it won't run with 512MB of RAM with a very recent kernel
taken from NetBSD-current.

Alicia.