ArchLinux all BlitzMax Applications Segfault

Archives Forums/Linux Discussion/ArchLinux all BlitzMax Applications Segfault

The_Nici(Posted 2010) [#1]
Hello,
I'm was trying to run a BlitzMax console program on an ArchLinux computer without any Xserver running.
binutils is installed, bmk makeapp -a -r -t console -o test test.bmx works, but starting "test" afterwards results in a segmentation fault.
Does anyone here know what dependencies BlitzMax applications need to run?

Thanks for answers.

EDIT: ldd tells me I've got all deps on my system that I need. strange.

Last edited 2010


The_Nici(Posted 2010) [#2]
AYE I've got it figured out.
To run BlitzMax Applications on Linux - EVEN IF "-t console" IS SET WHEN BUILDING - a running xserver is needed and the "DISPLAY"-variable must be set.
Either -t is bugged or it's really this crappy.


skidracer(Posted 2010) [#3]
without a framework command blitzmax defaults to including all modules, many of which aren't designed to run without a display, you could try:
Framework brl.standardio
Print "hello"

which should run on a headless box.


The_Nici(Posted 2010) [#4]
Well yes, the other program I intended to run before segfaulted because BRL.System was used, which used X11.
That's sad since CurrentTime() is useful for logs, I guess we'll have to develop a workaround.

Regards