• upgrade and move bbs raspbian to ubu intel

    From Grant Weasner@1:138/397 to Digital Man on Thu Mar 26 04:37:41 2026
    Re: upgrade and move bbs raspbian to ubu intel
    By: Digital Man to bbsing on Fri Mar 20 2026 05:28:12

    Take a look at your src/build/localdefs.mk file, it stores your original installation/build options and you might need to edit it. https://wiki.synchro.net/install:nix#clean_rebuild

    I tried stuff in there and played with cleanall.sh and localdefs.mk

    So, what *was* in your localdefs.mk file?
    from my source system raspi2w:
    MAKEFLAGS=
    os=linux
    RELEASE=1

    JSLIB=mozjs185
    localdefs.mk (END)


    every time during my attempt to build I the same two problems.
    cc can't write files

    That sounds like a permissions issue (i.e. you're mixing what user your building sbbs as).

    or
    jsversion.h wasn't found.

    You're not using the 3rdp/libmozjs included in the repo.

    here is how I resolved it at least to complete a building the system. right now I'm still testing the results.

    my current questions are is there no source for sbbs320.tgz?
    I see sbbs320b.tgz, and sbbs320d.tgz.

    Those are the source release archives for v3.20b and d. There never was an sbbs320.tgz because there never was such a thing. Synchronet versions have always included a revision (after v2.00, the revision was always a letter).
    Seems like once I've build using system js its not possible to build again without it even on a different system, at least with the instructions I've been reading.

    So I'm not clear why you would move the source tree to another computer and try to build it. Just get it fresh from git and build like everyone else does. :-)

    Because in one of links or posts it was recommended to make sure the source and target system are on the same version. Since I couldn't pull the newest version from git, I attempted to build the same version as the source on the target.


    make -f install-sbbs.mk SYMLINK=1 JSINCLUDE=/usr/include/js JSLIB=mozjs185

    Don't include JSINCLUDE and JSLIB unless you have a reason to.

    I didn't have to include JSINCLUDE and JSLIB on the target.

    In the end I just did a clean build starting fresh on the target and migrated.

    ctrl
    data
    fido
    mods
    node1
    node2
    node3
    node4

    folders over. From what I can tell everything is working OK. I have to make a few tweaks, to fix TLS errors, and other configs I had set.

    This time I put mrc in my mods directory. Later I'll try a pull and see if all that works. I'm just happy my system has been migrated and is back up and running.

    Thanks for all your help.
    --- SBBSecho 3.37-Linux
    * Origin: Lunar Outpost - lunarout.synchro.net (1:138/397)
  • From Digital Man@1:103/705 to Grant Weasner on Wed Mar 25 22:41:04 2026
    Re: upgrade and move bbs raspbian to ubu intel
    By: Grant Weasner to Digital Man on Thu Mar 26 2026 04:37 am

    Re: upgrade and move bbs raspbian to ubu intel
    By: Digital Man to bbsing on Fri Mar 20 2026 05:28:12

    Take a look at your src/build/localdefs.mk file, it stores your original installation/build options and you might need to edit it. https://wiki.synchro.net/install:nix#clean_rebuild

    I tried stuff in there and played with cleanall.sh and localdefs.mk

    So, what *was* in your localdefs.mk file?
    from my source system raspi2w:
    MAKEFLAGS=
    os=linux
    RELEASE=1

    JSLIB=mozjs185
    localdefs.mk (END)

    So you need to remove the JSLIB line in order to use the vendor'd libmozjs included in the Synchronet repo.

    Don't include JSINCLUDE and JSLIB unless you have a reason to.

    I didn't have to include JSINCLUDE and JSLIB on the target.

    You had JSLIB in your localdefs.mk, that's the same as including it on the make command-line.
    --
    digital man (rob)

    Breaking Bad quote #29:
    2 day drive to the nearest ocean and you're eating raw fish, is all I'm sayen. Norco, CA WX: 62.8øF, 81.0% humidity, 1 mph SSE wind, 0.00 inches rain/24hrs --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)