Derek, Have you installed all the dependencies first https://wiki.gnucash.org/wiki/Installing_Dependencies If so
$sudo apt-get install googletest will install the googletest framework including google mock. In most cases cmake will give you the name of the library that is missing. Eg the libdbi drivers. You can build GnuCash without them if you are not using the database backends but the default build includes them and the unit tests check their operation so they are now normally included in the default build. I need to update the wiki to reflect that.. you need to do $sudo apt-get install libdbi1 libdbi-dev and one of the following database drivers $sudo apt-get install libdbd-mysql or $sudo apt-get install libdbd-pgsql or $sudo apt-get install libdbd-sqlite3. The package names given in the cmake output may differ slightly from the package names in the repository for a given distribution. Use $apt-cache search <string> where string is a few characters from the package name will usually help in identifying the correct name on your distribution . They may have 'lib' prefixed onto the package name and may include other build information. In most cases for the build what need to be added to your system are the development header files which generally have a postfix '-dev' onto the package name. You will need the binary libraries at run time so I usually include the binaries and headers in the install command but you may find the binary libraries are often already installed by other programs/packages. apt generally reports that and just installs the headers if they aren't present. You can safely ignore the warning re Gettext 0.20 (or build it if you are feeling advenmturous). Once cmake completes without reporting any missing packages you should be ready to buiild. Ninja is becoming the preferred build utility rather than make. To use it you first install it with sudo apt-get install ninja-build and then add a "-GNinja" flag to the cmake command. the build and install commandis then $ninja and $sudo ninja install David Cousens ----- 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.