• MBSE Install

    From Steven Bennett@1:123/1185 to All on Fri Aug 2 14:13:26 2024
    I have tried several times now to get MBSE installed. I have tried SuSe, Ubuntu, GhostBSD, and this time Mint 20. Mint is my preferred distro, so I would like to get it working on this platform.

    I follow the instructions, get to "make", fine, but every single time "make install" fails with "MBSE_ROOT is not set". Is there a command to remedy this error?
    --- SBBSecho 3.14-Win32
    * Origin: < Slinky's Place >< SLINKYBBS.COM > (1:123/1185)
  • From Vincent Coen@2:250/1 to Steven Bennett on Fri Aug 2 23:42:44 2024
    Hello Steven!

    Friday August 02 2024 14:13, you wrote to All:

    I have tried several times now to get MBSE installed. I have tried
    SuSe, Ubuntu, GhostBSD, and this time Mint 20. Mint is my preferred
    distro, so I would like to get it working on this platform.

    I follow the instructions, get to "make", fine, but every single time
    "make install" fails with "MBSE_ROOT is not set". Is there a command
    to remedy this error?


    Did you follow the notes in the file INSTALL


    Specifically after building it :

    su
    [type root password]
    make install
    exit
    /home/mbse/bin/mbtask


    Bye the bye, it is recommended twhen building to use :
    make > build.log 2>build.err

    ls -la build.*

    if build.err > 0 do less build.err and check any output before doing the
    make install

    .


    Vincent

    --- Mageia Linux v9 X64/Mbse v1.1.0/GoldED+/LNX 1.1.5-b20180707
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
  • From Steven Bennett@1:123/1185 to Vincent Coen on Fri Aug 2 20:58:32 2024
    Yes, followed the notes. It fails at make install as root with MBSE_ROOT not set. I thought it was because I chose a distro it didn't like, but it does it every time to me no matter what distro I try. I made sure I was logged in correctly at each step, initial setup, MBSE, Root.

    I'm sure I'm screwing it up somewhere, but everything looks error-free up the the make install part.

    I was just trying to figure out if there's a way to correct the MBSE_ROOT error, as the configure won't run a second time, so I have been re-installing the OS. Tedious, but the only way I know everything is reset to try again.
    --- SBBSecho 3.14-Win32
    * Origin: < Slinky's Place >< SLINKYBBS.COM > (1:123/1185)
  • From Andrew Leary@1:320/219 to Steven Bennett on Sat Aug 3 05:16:56 2024
    Hello Steven!

    02 Aug 24 14:13, you wrote to all:

    I have tried several times now to get MBSE installed. I have tried
    SuSe, Ubuntu, GhostBSD, and this time Mint 20. Mint is my preferred distro, so I would like to get it working on this platform.

    I follow the instructions, get to "make", fine, but every single time "make install" fails with "MBSE_ROOT is not set". Is there a command
    to remedy this error?

    Usually this error is caused by trying to use "sudo make install" ...

    I just installed Mint 20 in a VM to test this. "sudo make install" fails with the error message you described. Following the procedure as listed in INSTALL:

    su<ENTER>
    <root password><ENTER>
    make install<ENTER>
    exit<ENTER>

    results in a successful installation.

    Regards,

    Andrew

    --- GoldED+/LNX 1.1.5-b20240209
    * Origin: Phoenix BBS * phoenix.bnbbbs.net (1:320/219)
  • From Steven Bennett@1:123/1185 to Andrew Leary on Sat Aug 3 09:32:32 2024
    Bingo...

    Mint doesn't by default allow su, so I didn't think it was necessary anymore. I added a root password, and switched to root and everything worked as advertised. I always just figured sudo was equal to su, just on a limited basis.

    Thanks!

    Steve
    --- SBBSecho 3.14-Win32
    * Origin: < Slinky's Place >< SLINKYBBS.COM > (1:123/1185)
  • From Vincent Coen@2:250/1 to Steven Bennett on Sat Aug 3 17:32:40 2024
    Hello Steven!

    Saturday August 03 2024 09:32, you wrote to Andrew Leary:

    Bingo...

    Mint doesn't by default allow su, so I didn't think it was necessary anymore. I added a root password, and switched to root and everything
    worked as advertised. I always just figured sudo was equal to su, just
    on a limited basis.

    For your education sudo and su are NOT the same just do a man su and man sudo to find out.


    Simply put su is used to temporarily switch to root to do some thing and at the
    end you type exit to quit that mode / user.
    Never but never run normally as root, EVER.

    sudo allows you as user to run A process as root privs. only.

    For most distros this involves setting sudo up by editing file /etc/sudoers as root, adding the lines after :

    ## Allow root to run any commands anywhere
    root ALL=(ALL) ALL


    and add new line for your user account i.e., for me as vince

    vince ALL=(ALL) ALL


    If needed do one for mbse i.e.,

    mbse ALL=(ALL) ALL

    You can replace ALL with restricted rights again see the file notes.

    All this of course assumes you have set up the root password :)

    Some distros do not do this as standard.


    Vincent

    --- Mageia Linux v9 X64/Mbse v1.1.0/GoldED+/LNX 1.1.5-b20180707
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)