TIP: Click on subject to list as thread! ANSI
echo: mbse
to: Vince Coen
from: James Digriz
date: 2018-04-28 22:57:56
subject: Re: MBSE + Virtualmin

Vince Coen wrote to James Digriz:

VC> 
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> 

Aaargh! In my last reply that should have been:

AC_PREFIX_DEFAULT(/opt/mbse) change to AC_PREFIX_DEFAULT($HOME)

in configure.ac

The important point being that SETUP.sh runs first, and by the time you log
in as mbse, $HOME is already set to $MHOME_ROOT/mbse, or per your
naming, $HOMEROOT/mbse (or whatever), so that all you have to do is run
autoconf one time, and configure will pick it up and pass it along anywhere
it's used in the code. 

The initial MBSE setup could be redone to make things easier for packagers.
Wasn't somebody doing a .deb? Wonder how they handled it? Have to look. 

later,     

    Greetings, James Digriz
    email: jbdigriz{at}bbs.dragonsweb.org

--- MBSE BBS v1.0.7.6 (GNU/Linux-x86_64)
* Origin: DragonsWeb Labs (1:123/755)
SEEN-BY: 123/25 120 141 150 755 135/300 153/7715 154/10 20 30 40 700 203/0
SEEN-BY: 221/0 1 6 360 227/201 400 229/426 261/38 280/464 320/219 340/800
SEEN-BY: 633/0 267 280 281 412 640/384 1384 712/620 848 770/1 3634/12 15 22 24
SEEN-BY: 3634/27 50 119
@PATH: 123/755 3634/12 154/10 221/6 0 640/1384 384 712/848 633/280 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.