[GNC] Linux build

David H hellvee at gmail.com
Thu Dec 31 15:24:23 EST 2020


Hi Jimmy R,

That's pretty much the steps outlined at
https://wiki.gnucash.org/wiki/Building_On_Linux - see below.

Cheers David H.

Build using Cmake and Make

mkdir build-gnucash-4.<x>                 # create the build directory
- Note: Named to identify the source since it is not necessarily
within the source directory.cd build-gnucash-4.<x>
# change into the build directory
cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt  ../gnucash-4.<x>     # As
shown this will install in the opt 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.

Build using CMake and Ninja

mkdir build-gnucash-4.<x>                # create the build directory
- Note: Named to identify the source since it is not within the source
directory.cd build-gnucash-4.<x>                   # change into the
build directory
cmake -GNinja -DCMAKE_INSTALL_PREFIX=$HOME/opt ../gnucash-4.<x>     #
As shown this will install in the opt directory in /home/<user>.
ninja                                    # builds the program and
associated libraries
ninja install                            # prefix with sudo if you do
install to /usr/local or /opt as admin privileges are required.


On Fri, 1 Jan 2021 at 06:05, Jimmy R via gnucash-user <
gnucash-user at gnucash.org> wrote:

> Or is this all that is necessary to build
>
> mkdir build-gnucash-4.<x>                 # create the build directory -
> Note: Named to identify the source since it is not necessarily within the
> source directory.
>
> cd build-gnucash-4.<x>                    # change into the build directory
>
> cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt  ../gnucash-4.<x>     # As shown
> this
> will install in the opt directory in /home/<user>.
>
> make                                      # builds the program and
> associated libraries
>
> make install
>
> Jimmy
>
>
>
> --
> Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
> _______________________________________________
> 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