• Compiling Synchronet Linux

    From Mark Da Silva@1:229/550 to All on Saturday, September 03, 2022 23:05:07
    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)
  • From Gamgee@1:123/115 to Mark Da Silva on Sunday, September 04, 2022 07:36:00
    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)
  • From Mark Da Silva@1:229/550 to Gamgee on Sunday, September 04, 2022 10:21:28
    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)
  • From Digital Man to Mark Da Silva on Sunday, September 04, 2022 23:35:03
    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.6°F, 63.0% humidity, 3 mph NW wind, 0.00 inches rain/24hrs
  • From Mark Da Silva@1:229/550 to Digital Man on Monday, September 05, 2022 22:34:40
    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)
  • From Nelgin@EOTLBBS to Mark Da Silva on Wednesday, September 21, 2022 16:15:27
    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@EOTLBBS to Mark Da Silva on Wednesday, September 21, 2022 16:20:18
    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@1:229/550 to Nelgin on Wednesday, October 19, 2022 20:49:39
    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)
  • From Mark Da Silva@1:229/550 to Nelgin on Wednesday, October 19, 2022 20:51:08
    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)
  • From Digital Man to Mark Da Silva on Wednesday, October 19, 2022 20:55:44
    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.3°F, 31.0% humidity, 2 mph SSW wind, 0.00 inches rain/24hrs
  • From Mark Da Silva@1:229/550 to Digital Man on Sunday, October 30, 2022 15:59:48
    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)