• Unable to build release on debian 12, fix included

    From ner@1:103/705 to all on Thursday, October 12, 2023 21:04:46
    Hi guys,
    I'm new to running synchronet on Linux, and luckily I'm still in testing before re-releasing my system in the Linux environment. I have no problems building using the GNU Makefile
    make install SYMLINK=1

    The issue happens when I do a git pull, and follow instructions in the wiki for updating.
    I change directories into /sbbs/repo/src/sbbs3/
    I ensure I run SBBSEXEC=/sbbs/exec
    and SBBSCTRL=/sbbs/brsl
    and then I run, as directed
    make RELEASE=1 symlinks setcapH


    In Debian, under debian 12, the following command works, and I think it has to do with gmake being used. Can this be updated in the wiki?

    make RELEASE=1 SYMLINK=1 SETCAP=1

    I hope this helps.


    NER
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From ner@1:103/705 to all on Thursday, October 12, 2023 21:10:30
    So I got make RELEASE=1 symlinks setcap
    to work
    setting the environment valiables using SBBSEXEC/sbbs/exec/
    and SBBSCTRL=/sbbs/ctrl
    does not work. You must run export to set these
    export SBBSEXEC=/sbbs/exec
    etc.

    I'm not sure if this requires a wiki update but it might be able to be clarified.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Gamgee@1:103/705 to ner on Friday, October 13, 2023 07:52:00
    ner wrote to all <=-

    So I got make RELEASE=1 symlinks setcap to work
    setting the environment valiables using SBBSEXEC/sbbs/exec/
    and SBBSCTRL=/sbbs/ctrl
    does not work. You must run export to set these
    export SBBSEXEC=/sbbs/exec

    As expected. That's a normal Linux procedure, and is indeed documented
    on the Wiki, right here:
    https://wiki.synchro.net/install:nix#configuring

    I'm not sure if this requires a wiki update but it might be able
    to be clarified.

    Seems clear already. Also, you generally don't need to use the SBBSEXEC environment variable, just the SBBSCTRL.



    ... Those who live by the sword get shot by those who don't.
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From fusion@1:103/705 to ner on Friday, October 13, 2023 11:16:00
    On 12 Oct 2023, ner said the following...

    So I got make RELEASE=1 symlinks setcap
    to work
    setting the environment valiables using SBBSEXEC/sbbs/exec/
    and SBBSCTRL=/sbbs/ctrl
    does not work. You must run export to set these
    export SBBSEXEC=/sbbs/exec
    etc.
    I'm not sure if this requires a wiki update but it might be able to be clarified.

    if the environment variable is set on the command line of the program as written (not separate commands like it sounds like you did) it should work fine.

    SBBSEXEC=/sbbs/exec make symlinks

    all as one, would mean like: "during execution of make, the variable SBBSEXEC is .."

    export as you figured out sets the env variable for as long as the session is running (or it's explicitely removed)

    --- Mystic BBS v1.12 A47 2021/12/25 (Windows/32)
    # Origin: cold fusion - cfbbs.net - grand rapids, mi
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From The Lizard Master@1:103/705 to ner on Friday, October 13, 2023 15:27:04
    Re: Unable to build release on debian 12, fix included
    By: ner to all on Thu Oct 12 2023 09:10 pm

    So I got make RELEASE=1 symlinks setcap
    to work
    setting the environment valiables using SBBSEXEC/sbbs/exec/
    and SBBSCTRL=/sbbs/ctrl
    does not work. You must run export to set these
    export SBBSEXEC=/sbbs/exec
    etc.

    I'm not sure if this requires a wiki update but it might be able to be clarified.

    A lot of the issues I ever had with the environment variables is sovled with ln -sf. If you were getting something weird with the SBBSEXEC dir that might do it.

    Something like -

    sudo ln -sf ~/sbbs /

    ---
    þ Synchronet þ This is my tagline so I don't get any complaints when I post
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)