MacOS version not working

Hi folks,

I simply downloaded script and installed it:

export SHELL=''; ./install.sh

When trying to run it:

winemenubuilder.exe(55402,0x681e2000) malloc: can't allocate region
*** mach_vm_map(size=159973376) failed (error code=3)
winemenubuilder.exe(55402,0x681e2000) malloc: *** set a breakpoint in malloc_error_break to debug
000d:err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng15.15.dylib
000d:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
000d:err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng15.15.dylib
000d:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
< snip snip just the PNG error repeated >
000d:err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng15.15.dylib
000d:err:menubuilder:convert_to_native_icon error 0x80004005 getting frame 0
0009:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0009:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.

Any ideas?

MacOS Mojave 10.14.6, Homebrew updated.

Running Insurgence on Mac seems to be a common problem. I’m too tired to try translating that code right now (I’ll do it tomorrow), but try checking other Questions; it’s a common issue, so maybe it was already solved.

Based on the “error code=3” part, it’s probably from, like Deuk said, lack of memory. The memory could also be corrupted, but the former is much more likely. The simplest solution is to get a hard drive and move some stuff you don’t need there, or just toss some junk in the trash.

Two things, first try just running it through bash:

bash install.sh

Besides that I’m seeing an error that malloc can’t allocate memory. This looks like an error with being out of memory. Check if you have some memory available.