[GNC] gnucash 3.4 help needed

devlin devlinpe at gmail.com
Wed Mar 6 15:00:27 EST 2019


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



More information about the gnucash-user mailing list