Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to The Linux/FreeBSD MBSE BBS Suppo...  <--  <--- Return to Home Page
   Networked Database  The Linux/FreeBSD MBSE BBS Suppo...   [368 / 554] RSS
 From   To   Subject   Date/Time 
Message   James Digriz    Vince Coen   Re: MBSE + Virtualmin   April 28, 2018
 10:44 PM *  

Vince Coen wrote to James Digriz:
 
VC> Looking at the script SETUP.sh the obvious one is ths HOME setting but
VC> There are other instances of /opt being used and I suggest that a new 
VC> variable
VC> be setup say $HOMEROOT set as =/opt
VC> 
VC> With all the scripts vars using /opt changed to use HOMEROOT.
VC> 
VC> So now we have two vars near the beginning that need to be changed when 
VC> the
VC> --prefix param is used in configure somehow.
VC> 
VC> If that is done then the SETUP script will work.
VC> 
VC> Just a question of working out how :)
VC> 
VC> .. and now I do not know how configure work in order to try it.
VC> 
VC> Any one volunteering ?
VC> 
VC> 
VC> Vince
VC> 

Ok, it turns out there's not a whole lot to do. Configure doesn't touch
SETUP.sh or those scripts, and $HOME is already set in user mbse's profile, so
all that has to be done in SETUP.sh is to break $MHOME down:
MHOME_ROOT=/home (for example), or /opt, or  whatever you need. Then
MHOME=$MHOME_ROOT/mbse. 

You can then cd to the script directory and (again, for example):

sed s@/opt/@/home@/g rundoor.sh bbsdoor.sh

You can then  go back to the top-level source dir and do the same with 
SETUP.sh
at
 this point, but if you're compiling on *BSD you'll need then to readjust the
BSD
 references. I haven't done that since I'm not sure where Virtualmin puts its
user homes under BSD. I'll check into it when I get a chance. 

Now, change AC_DEFAULT_PREFIX=/opt/mbse to AC_DEFAULT_PREFIX=$HOME, run
autoconf, and you're good to go. Unless I've missed something, the only thing
left is to change any menu items needed. Configure or anything else doesn't
touch any
of those that I can see. That's something that might be addressed if/when the
code base is overhauled for new features or whatever. 

later,

                         
                                                         

    Greetings, James Digriz
    email: jbdigriz@bbs.dragonsweb.org

--- MBSE BBS v1.0.7.6 (GNU/Linux-x86_64)
 * Origin: DragonsWeb Labs  (1:123/755)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to The Linux/FreeBSD MBSE BBS Suppo...  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.1053 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.0.140505

Warning: Unknown: open(c:\Sessions\sess_e3bjqq1qcp5k7ca447kse3cgj2, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0 PHP Warning: session_start(): open(c:\Sessions\sess_e3bjqq1qcp5k7ca447kse3cgj2, O_RDWR) failed: No such file or directory (2) in D:\wc5\http\public\VADV\include\common.inc.php on line 45 PHP Warning: Unknown: open(c:\Sessions\sess_e3bjqq1qcp5k7ca447kse3cgj2, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0