make RELEASE=1 NO_X=1 SBBSDIR=/opt/sbbs JSINCLUDE=/usr/include/js JSLIB=mozjs185 install...
340.9 In file included from ansiterm.cpp:22:
340.9 sbbs.h:101:10: fatal error: jsversion.h: No such file or directory 340.9 101 | #include <jsversion.h>
Curios to know your plans, if any, to update libmoz and/or enabling SBBS to be built on aarch64?
It's a huge change to SBBS to upgrade libmozjs, but it will happen. Sysops have built and run sbbs (and libmozjs) on aarch64 (e.g. for a 64-bit Linux on an rPi4) successfully, so it is possible to do it.
Does this describe anything useful that is fixable?
Does this describe anything useful that is fixable?
Not to me, but others maybe.
There are some arm64 specific instructions added by others to https://wiki.synchro.net/howto:raspbian_install
Well, it compiles, but core dumps when you run sbbs
Well, it compiles, but core dumps when you run sbbs
Are you using a distro-supplied build of libmozjs or building from source?
Re: aarch64?
By: Digital Man to deon on Wed Oct 09 2024 06:12 pm
Hi,
Well, it compiles, but core dumps when you run sbbs
Are you using a distro-supplied build of libmozjs or building from source?
Distro, as per the instructions on the wiki page: (from debian archives)
When I wrote those instructions, they were for a 32-bit ARM build, not 64-bit. You might have better luck building libmozjs from source (including in the sbbs git repo) and using that instead.
Re: aarch64?
By: Digital Man to deon on Thu Oct 10 2024 11:51 am
Howdy,
When I wrote those instructions, they were for a 32-bit ARM build, not 64-bit. You might have better luck building libmozjs from source (including in the sbbs git repo) and using that instead.
Filed in the "too hard" basket.
The person I was helping has decided to play with Mystic instead.
When I wrote those instructions, they were for a 32-bit ARM build, not 64-bit. You might have better luck building libmozjs from source (including in the sbbs git repo) and using that instead.
It's actually the default build option: by *not* including the JSLIB option on the make command-line, that's what happens. :-)
But the 32-bit ARM instructions worked fine for 64-bit here. Just in case the friend decides to try sbbs again, here's the full log of commands I executed:
Re: aarch64?
By: Digital Man to deon on Thu Oct 10 2024 11:51 am
Howdy,
When I wrote those instructions, they were for a 32-bit ARM build, not 64-bit. You might have better luck building libmozjs from source (including in the sbbs git repo) and using that instead.
Filed in the "too hard" basket.
The person I was helping has decided to play with Mystic instead.
Sysop: | Lmorchard |
---|---|
Location: | Portland, OR |
Users: | 63 |
Nodes: | 16 (0 / 16) |
Uptime: | 24:43:43 |
Calls: | 394 |
Files: | 1 |
Messages: | 24,792 |