Subj : Re: MBSE + Virtualmin To : Vince Coen From : James Digriz Date : Sat Apr 28 2018 22:57:57 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@bbs.dragonsweb.org --- MBSE BBS v1.0.7.6 (GNU/Linux-x86_64) * Origin: DragonsWeb Labs (1:123/755) .