• Compiling Synchronet Linux

    From Mark Da Silva@VERT to All on Sat Sep 3 21:05:07 2022
    Hi,

    I am trying compile SBBS on Opensuse Tumbleweed. I have the required libraries installed. All goes well till this happens.

    make[2]: Entering directory '/sbbs/repo/src/conio'Compiling ciolib.cciolib.c: In function `try_curses_init':ciolib.c:290:20: error: lvalue required as unary `&' operand 290 | #endif | ^make[2]: *** [../build/Common.gmake:465: gcc.linux.x64.obj.release-mt/ciolib.o] Error 1make[2]: Leaving directory '/sbbs/repo/src/conio'make[1]: *** [/sbbs/repo/src/sbbs3/../build/Common.gmake:512: ciolib-mt] Error 2make[1]: Leaving directory '/sbbs/repo/src/sbbs3'make: *** [GNUmakefile:152: sbbs3] Error 2sbbs@DELL-E6430:/sbbs>

    I am doing this as a user called sbbs. Any help would be great.

    ... If speed scares you, use Micro$oft Windows!

    --- Mystic BBS v1.12 A47 2021/07/31 (Windows/64)
    * Origin: P.O.N.R. BBS (1:229/550)
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Gamgee@VERT to Mark Da Silva on Sun Sep 4 05:36:00 2022
    Mark Da Silva wrote to All <=-

    I am trying compile SBBS on Opensuse Tumbleweed. I have the
    required libraries installed. All goes well till this happens.

    make[2]: Entering directory '/sbbs/repo/src/conio'Compiling ciolib.cciolib.c: In function `try_curses_init':ciolib.c:290:20:
    error: lvalue required as unary `&' operand 290 | #endif |
    ^make[2]: *** [../build/Common.gmake:465: gcc.linux.x64.obj.release-mt/ciolib.o] Error 1make[2]: Leaving
    directory '/sbbs/repo/src/conio'make[1]: *** [/sbbs/repo/src/sbbs3/../build/Common.gmake:512: ciolib-mt] Error 2make[1]: Leaving directory '/sbbs/repo/src/sbbs3'make: *** [GNUmakefile:152: sbbs3] Error 2sbbs@DELL-E6430:/sbbs>

    My semi-educated guess is that you don't have the proper 'ncursesw'
    package installed (whatever it's called in opensuse). It's important
    that you use a package with the 'w' on the end, not just an 'ncurses'
    package.



    ... Internal Error: The system has been taken over by sheep at line 19960
    === MultiMail/Linux v0.52
    --- SBBSecho 3.15-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (1:123/115)
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Mark Da Silva@VERT to Gamgee on Sun Sep 4 08:21:28 2022
    My semi-educated guess is that you don't have the proper 'ncursesw' package installed (whatever it's called in opensuse). It's important
    that you use a package with the 'w' on the end, not just an 'ncurses' package.

    Yeah, I think I was missing some ncurses stuff. Been compiling for awhile now. we'll see how it goes. Thanks for the help.

    Mark

    ... WHAT? Bigger Docs?a V^^^\_ o^o _/^^^V

    --- Mystic BBS v1.12 A47 2021/07/31 (Windows/64)
    * Origin: P.O.N.R. BBS (1:229/550)
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Mark Da Silva on Sun Sep 4 21:35:03 2022
    Re: Re: Compiling Synchronet Linux
    By: Mark Da Silva to Gamgee on Sun Sep 04 2022 10:21 am

    My semi-educated guess is that you don't have the proper 'ncursesw' package installed (whatever it's called in opensuse). It's important that you use a package with the 'w' on the end, not just an 'ncurses' package.

    Yeah, I think I was missing some ncurses stuff. Been compiling for awhile now. we'll see how it goes. Thanks for the help.

    Was that the fix?
    --
    digital man (rob)

    This Is Spinal Tap quote #38:
    Artie Fufkin: I'm not asking, I'm telling with this. Kick my ass.
    Norco, CA WX: 80.6F, 63.0% humidity, 3 mph NW wind, 0.00 inches rain/24hrs
    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Mark Da Silva@VERT to Digital Man on Mon Sep 5 20:34:40 2022
    Was that the fix?

    Yes, I have it running as a systemd service on my linux system. I have to still configure it for use but it is working.

    Thank You All.

    Mark

    ... Have You Paid Your Tagline Registration Tax?

    --- Mystic BBS v1.12 A47 2021/07/31 (Windows/64)
    * Origin: P.O.N.R. BBS (1:229/550)
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Nelgin@VERT/EOTLBBS to Mark Da Silva on Wed Sep 21 14:15:27 2022
    Re: Compiling Synchronet Linux
    By: Mark Da Silva to All on Sat Sep 03 2022 23:05:07

    I am trying compile SBBS on Opensuse Tumbleweed. I have the required libraries installed. All goes well till this happens.

    This is way old but the fix for this is to change line 290 of ciolib.c to
    #if 0

    zypper install -t pattern devel_C_C++
    zypper installer net-tools-deprecated libncurses5 ncurses5-devel mozilla-nspr-devel python2 zip libcap-devel libglade2-devel libarchive-devel libcap-progs gtk3-devel

    THis will install pretty much everything you need to get sbbs to compile on OpenSuSE Tumbleweed along with the fix above.

    ---
    Synchronet End Of The Line BBS - endofthelinebbs.com
  • From Nelgin@VERT/EOTLBBS to Mark Da Silva on Wed Sep 21 14:20:18 2022
    Re: Compiling Synchronet Linux
    By: Nelgin to Mark Da Silva on Wed Sep 21 2022 16:15:27


    This is way old but the fix for this is to change line 290 of ciolib.c to #if 0

    Actually, it's line 289 in the current release.

    Digitalman says this is a work around. We really need Deuce to look at it and fix it properly. I'll submit a git issue later with some details.

    ---
    Synchronet End Of The Line BBS - endofthelinebbs.com
  • From Mark Da Silva@VERT to Nelgin on Wed Oct 19 18:49:39 2022
    This is way old but the fix for this is to change line 290 of ciolib.c to #if 0


    Yeah, that did it on my SuSe box. I don't want to comment out every update though.

    ... Beauty is skin deep, ugly goes to the bone.

    --- Mystic BBS v1.12 A47 2021/07/31 (Windows/64)
    * Origin: P.O.N.R. BBS (1:229/550)
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Mark Da Silva@VERT to Nelgin on Wed Oct 19 18:51:08 2022
    Actually, it's line 289 in the current release.

    Digitalman says this is a work around. We really need Deuce to look at
    it and fix it properly. I'll submit a git issue later with some details.

    Yeah, I have it compiling fine now.

    ... We need more power! Can you give us any more?!

    --- Mystic BBS v1.12 A47 2021/07/31 (Windows/64)
    * Origin: P.O.N.R. BBS (1:229/550)
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Mark Da Silva on Wed Oct 19 18:55:44 2022
    Re: Re: Compiling Synchronet Linux
    By: Mark Da Silva to Nelgin on Wed Oct 19 2022 08:49 pm

    This is way old but the fix for this is to change line 290 of ciolib.c to #if 0


    Yeah, that did it on my SuSe box. I don't want to comment out every update though.

    That's the nice thing about revision control systems (e.g. git), you don't have to - it'll automatically merge your local changes with the upstream changes (so long as they don't conflict).
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #16:
    CR = Carriage Return (ASCII 13, Ctrl-M)
    Norco, CA WX: 80.3F, 31.0% humidity, 2 mph SSW wind, 0.00 inches rain/24hrs ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Mark Da Silva@VERT to Digital Man on Sun Oct 30 15:59:48 2022
    That's the nice thing about revision control systems (e.g. git), you
    don't have to - it'll automatically merge your local changes with the upstream changes (so long as they don't conflict).

    That is nice.

    ... Drive slower than your guardian angel can fly.

    --- Mystic BBS v1.12 A47 2021/07/31 (Windows/64)
    * Origin: P.O.N.R. BBS (1:229/550)
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net