• MBSE_ROOT Doesn't Exist?

    From Kevin Nunn@618:200/1 to All on Thursday, January 27, 2022 12:36:36
    Ok, was messing with MBSE on Bohdi again last night, but also watching
    Witcher, so I wasn't fully concentrating on the install. But I tried on
    my Bohdi VM at the office this morning and I am getting the same issue.

    So I actually followed the instructions this time, ran the ./SETUP.sh, rebooted, logged in as mbse, had the source tree in /opt/mbse, etc.

    './configure' and 'make' run fine and compiles get done.

    When I run 'sudo make install', lines scroll by and eventually I get:

    '*** The MBSE_ROOT doesn't exist ***'

    Both installs that I've tried it on (laptop and vm) stop at the exact
    same spot.

    Being a total noob to compiling stuff on linux, I was able to figure
    out that it is in the script/installinit.sh. It is doing a check for
    $MBSE_ROOT and that's where it fails. But from the command prompt I can
    'echo $MBSE_ROOT' and it shows /opt/mbse and /opt/mbse does exist of
    course, and it is mbse/bbs owner/group.

    I did notice the command in the script/makefile calls ./installinit.sh
    with @bash - not sure if maybe it's opening a new shell that doesn't
    have the enviroment set maybe?

    Here is a longer snippet of the process

    Installing support for joe editor
    ln -s /usr/bin/joe /usr/bin/bbsjoe
    ln -s /usr/bin/joe /usr/bin/bbsjmacs
    install -c -o mbse -g bbs -m 0550 editor /opt/mbse/bin
    install -c -o root -g root -m 0644 bbsjoerc /etc/joe
    install -c -o root -g root -m 0644 bbsjmacsrc /etc/joe
    install -c -o mbse -g bbs -m 0750 bbsdoor.sh /opt/mbse/bin/bbsdoor.sh.new install -c -o mbse -g bbs -m 0750 rundoor.sh /opt/mbse/bin/rundoor.sh.new install -c -o mbse -g bbs -m 0750 runvirtual.sh /opt/mbse/bin/runvirtual.sh.new
    install -c -o mbse -g bbs -m 0640 doors.bat /opt/mbse/var/dosemu/c
    install -c -o mbse -g bbs -m 0500 mbsedos /opt/mbse/bin
    *** The MBSE_ROOT doesn't exist ***
    make[1]: Leaving directory '/opt/mbse/mbsebbs-1.0.7.24/script'

    Let me know what you guys think, I'll probably mess with it again this
    weekend. If you have an idea I can test it here while I am work, and
    then do it on my laptop later.

    Thanks,

    Kev

    --- Telegard/2/QWK v3.09.g2-sp4/mL
    * Origin: Razor's Domain/2 BBS (618:200/1)
  • From Kevin Nunn@618:200/1 to Kevin Nunn on Thursday, January 27, 2022 12:26:21
    Ok, I manually added MBSE_ROOT to /etc/environment and rebooted and that worked. Maybe it was setup as a environment for user mbse, but when I sudo it lost that variable?

    --- Telegard/2 v3.09.g2-sp4/mL
    * Origin: Razor's Domain/2 BBS (618:200/1)
  • From Sean Dennis@618:618/10 to Kevin Nunn on Thursday, January 27, 2022 16:32:02
    Kevin Nunn wrote to All <=-

    When I run 'sudo make install', lines scroll by and eventually I get:

    Are you running configure and make as the "mbse" user?

    Let me know what you guys think, I'll probably mess with it again this weekend. If you have an idea I can test it here while I am work, and
    then do it on my laptop later.

    It's usually some trivial thing that breaks it all. With FreeBSD, I had to turn off some of the system-level hardening so MBSE would run right. I am trying to hurry to get it set up since I think a hard drive failure is
    immenent (sp) on the OS/2 box.

    -- Sean

    ... Laugh and the world thinks you're an idiot.
    ___ MultiMail/FreeBSD v0.52

    --- Maximus/2 3.01
    * Origin: Outpost BBS // bbs.outpostbbs.net:10123 (618:618/10)
  • From Michael Dillon@618:618/10 to Kevin Nunn on Thursday, January 27, 2022 17:42:00
    Kevin Nunn wrote to All <=-

    Ok, was messing with MBSE on Bohdi again last night, but also watching Witcher, so I wasn't fully concentrating on the install. But I tried on
    my Bohdi VM at the office this morning and I am getting the same issue.

    So I actually followed the instructions this time, ran the ./SETUP.sh, rebooted, logged in as mbse, had the source tree in /opt/mbse, etc.

    './configure' and 'make' run fine and compiles get done.

    When I run 'sudo make install', lines scroll by and eventually I get:

    I installed Bodhi in a VM to diagnose this issue, when using sudo you need
    to pass it the -E parameter to make sure it saves the environment variables. So it should look like: 'sudo -E make install'

    '*** The MBSE_ROOT doesn't exist ***'

    Thanks,

    Kev

    --- Telegard/2/QWK v3.09.g2-sp4/mL
    * Origin: Razor's Domain/2 BBS (618:200/1)

    ... 2 + 2 = 5 for extremely large values of 2.
    ___ MultiMail/Win v0.52

    --- Maximus/2 3.01
    * Origin: Outpost BBS // bbs.outpostbbs.net:10123 (618:618/10)
  • From Kevin Nunn@618:200/1 to Michael Dillon on Thursday, January 27, 2022 21:21:59
    MICHAEL DILLON wrote to KEVIN NUNN <=-

    I installed Bodhi in a VM to diagnose this issue, when using sudo you
    need to pass it the -E parameter to make sure it saves the environment variables. So it should look like: 'sudo -E make install'

    Thanks Michael! I will make note of that. Glad it wasn't something I
    did wrong :)

    Kev


    --- Telegard/2/QWK v3.09.g2-sp4/mL
    * Origin: Razor's Domain/2 BBS (618:200/1)
  • From Michael Dillon@618:618/10 to Kevin Nunn on Friday, January 28, 2022 14:22:56
    No problem, just send out a message if anything else comes up.

    --- Maximus/2 3.01
    * Origin: Outpost BBS // bbs.outpostbbs.net:10123 (618:618/10)