[GNC] gnucash 3.4 help needed

Dale Alspach alspachde at gmail.com
Wed Mar 6 15:22:36 EST 2019


I am no expert but try putting an absolute path to the source directory
in place of ../gnucash-3.4

Dale

On 3/6/19 2:00 PM, devlin wrote:
> Running Linux Mint 18.3 Cinnamon on this box, and need some help -
> 
> Playing with Gnucash 3.4, and from the page at
> 
>  [URL="http://https://wiki.gnucash.org/wiki/Building_On_Linux"]https://wiki.gnucash.org/wiki/Building_On_Linux[/URL]
> 
> 
> I'm confused by these instructions and commands:
> 
> Open a shell and change directory to the directory into which you
> extracted the GnuCash sources (gnucash-3.4) or cloned the github
> repository (gnucash), i.e. the parent directory of gnucash-3.4 or gnucash.
> 
> Build using Cmake and Make
> 
> mkdir build-gnucash-3.4 # create the build directory - Note: Named to
> identify the source since it is not within the source directory.
> cd build-gnucash-3.4 # change into the build directory
> cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local
> -DCMAKE_PREFIX_PATH=$HOME/.local ../gnucash-3.4    # As shown this will
> install in the .local directory in /home/<user>.
> make # builds the program and associated libraries
> make install # prefix with sudo if you do install to /usr/local or /opt
> as admin privileges are required.
> 
> Cuz that gets an error that confuses me even more:
> 
> [CODE]@MainBox /mnt/sdb4/Applications/gnucash-3.4/build-gnucash-3.4 $
> cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local
> -DCMAKE_PREFIX_PATH=$HOME/.local ../gnucash-3.4
> CMake Error: The source directory
> "/mnt/sdb4/Applications/gnucash-3.4/gnucash-3.4" does not exist.
> Specify --help for usage, or press the help button on the CMake GUI.[CODE]
> 
> It says there's supposed to be another directory level called "gnucash-3.4"
> If I create that"missing" directory, I just get a longer error:
> 
> [CODE]@MainBox
> /mnt/sdb4/Applications/gnucash-3.4/gnucash-3.4/build-gnucash-3.4 $ cmake
> -DCMAKE_INSTALL_PREFIX=$HOME/.local -DCMAKE_PREFIX_PATH=$HOME/.local
> ../gnucash-3.4
> CMake Error: The source directory
> "/mnt/sdb4/Applications/gnucash-3.4/gnucash-3.4/gnucash-3.4" does not
> exist.
> Specify --help for usage, or press the help button on the CMake GUI.[/CODE]
> 
> Now there's 2 levels missing.
> 
> I don't know enough about scripting yet; what am I not getting right here?
> 
> Thanks
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at 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.


More information about the gnucash-user mailing list