So, in my case....

home/dennis
as my <user> is dennis, thusly home/dennis

I have this
$HOME/.local/

And this....
$HOME/.local/share


So......  given the variables

I type >>>>>>>>>>>>>


mkdir build-cmake


cd build-cmake


cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local/gnucash-3.1 make

make

sudo make install




I'll have to look at the directions again with the new information I have
now.  Sometimes the directions make sense to the author, often background
prerequisites are needed to understand the directions.


Thanks,

Dennis










On Fri, May 4, 2018 at 9:28 PM, DaveC49 <davidcous...@bigpond.com> wrote:

> Hi Dennis,
>
> I updated the BuildUbuntu16.04 page after having similar problems while
> building Gnucash3.0. My apologies for any errors and lack of clarity in a
> few areas and thanks for reporting the problems. I will edit the page to
> try
> and make some issues clearer as I or other users uncover my mistakes.
>
> $HOME is usually defined in Ubuntu and Linux Mint distributions as
> /home/<user> where <user> is the logged in user name. If you want to
> install
> in $HOME/.local/ you may need to check that these directories
> $HOME/.local/bin, $HOME/.local/etc, $HOME/.local/lib, $HOME/.local/share
> exist. This was John Ralls preference for an install for a single user to
> avoid creating bin, etc, lib and share directories directly in the users
> home directories. The use of a hidden directory avoids these appearing in
> by
> default  and cluttering up your file browser (unless you enable  hidden
> directories).
>
> The correct option switch for Cmake is
>
> -DCMAKE_INSTALL_PREFIX=$HOME/.local.
>
> My understanding is that the default value for this switch is /usr/local
> and
> if you use cmake without the switch at all that is where it will install.
> This along with /opt is the location most Linux distributors place their
> packaged versions of applications like GnuCash in. In these locations
> GnuCash would be available to all users with accounts on the computer and
> not just the user installing it, but this requires administrator privileges
> during installation. The distributors versions are often considerably out
> of
> date which is the primary reason for building GnuCash yourself. If you use
> the Software Manager or apt to install the Ubuntu distribution version for
> example, it will overwrite your up to date built version if it is in this
> location. I use this location, but I take care not to install the packaged
> version from Linux MInt. (I have done so in the past while getting more
> familiar with Linux, distributions , repositories etc.).
>
> I have tried to fix the issues with the build instructions. I would
> appreciate any comment on the changes to see if they have clarified the
> issues you had.
>
> Cheers
>
> David
>
>
>
>
>
> -----
> David Cousens
> --
> Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
> _______________________________________________
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to