Menu

#48 Issues with install script

1.0.8.x
closed
nobody
None
2024-06-30
2024-02-18
No

Hello, a friend and I are trying to install MBSE on a G4 (PowerPC 32-bit) Mac mini running Debian GNU/Linux 12 "Trixie/Sid" and we are having issues with the install script.

Could you please tell us what MSBE_ROOT should be set to?

-=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-

  Configuration summary :

    Version : ..................... 1.0.8.2
    Hydra/Binkp zlib compression :  Yes
    Binkp bzlib compression : ..... No
    Full newsgate : ............... No
    GeoIP support : ............... No
    Delete key : .................. default


  Tools :

    Compiler is GCC : ............. yes

  Installation directories :

    Main directory    : ........... /opt/mbse
    Owner and group   : ........... mbse.bbs

  Now type 'make' and as root 'make install'

root@apollo:/tmp/mbsebbs-1.0.8.2# make

 MBSE_ROOT is not set!

make: *** [Makefile:29: all] Error 3
root@apollo:/tmp/mbsebbs-1.0.8.2# MBSE_ROOT=/opt/msbe/
root@apollo:/tmp/mbsebbs-1.0.8.2# make

 MBSE_ROOT is not set!

make: *** [Makefile:29: all] Error 3
root@apollo:/tmp/mbsebbs-1.0.8.2# MBSE_ROOT=/opt/msbe
root@apollo:/tmp/mbsebbs-1.0.8.2# make

 MBSE_ROOT is not set!

make: *** [Makefile:29: all] Error 3
root@apollo:/tmp/mbsebbs-1.0.8.2# echo $MBSE_ROOT
/opt/msbe
root@apollo:/tmp/mbsebbs-1.0.8.2# 

Discussion

  • Daniel Doran

    Daniel Doran - 2024-02-18

    In order to run mbsebbs you must set the global variable $MBSE_ROOT. This variable must point to the root directory of the bbs structure. The main configuration file config.data must be present in the ~/etc directory.

     
  • Vincent (Bryan) Coen

    Read the file INSTALL and follow it.
    This involves downloading the mbse archive which is currently for 1.0.8.2 (my mistake as I have not updated it) although the code base in GIT and SVN is for 1.0.8.5.

    Download and install required additional packages as discussed in README.Ubuntu or any of the others that match your nix distro or closest to it but where possible use your distro's package manager.

    Follow the notes in INSTALL noting what user to be using at each step.
    If you follow these instructions $MBSE_ROOT has been set correctly.

    Note when using ./configure you can provide additional parameters to it if you wish to change the build path other than /opt i.e., ./configure --prefix=/home/mbse

    This is what I do as I have more than one partition I can load Linux from such as current, testing (new Linux distros 1, 2 ,etc). This means that the bbs will run from /home/mbse instead of /opt/mbse.

    Use configure -h for more paramters that you can use but for most it is --prefix and the ones listed under :

    Optional Features:

    but do not use them unless you have a specific need to.

    The INSTALL notes will tell you when to use script SETUP.sh

    It is recommended to look closely at SETUP.sh to confirm that it is using the paths and other settings for your distro as not all are defined but Debian is defined.

    Follow the notes CLOSELY in INSTALL file as mistakes will result in failures to build or install

    The above ASSUMES that you do have installed the gcc development software installed although clang can also work although minor changes may be needed for the mbse build procedure - see notes from configure -h under :

    To assign environment variables (e.g., CC, CFLAGS...), specify them as
    VAR=VALUE. See below for descriptions of some of the useful variables.

    For most of us,using gcc works.

    SETUP.sh after setting yp the environment tells you to test it so make sure you do so - for piece of mind if nothing else.

    I will update the mbse package for the v1.0.8.5 release today but in the intermin grabbing the sources from the code repo will work.

     
  • Vincent (Bryan) Coen

    mbse 1.0.8.5a has been released at SF under files.

    The "a" part also includes a fix for scripts / mbsedos.

     
  • Vincent (Bryan) Coen

    • status: open --> closed
     

Log in to post a comment.