Geert, Thank you. Thank you. I now have a working version Version: 3.1 Build ID: 3.1+ (2018-04-28) up and running on Ubuntu 18.04
On 06/22/2018 11:32 AM, Geert Janssens wrote: <snip large chunk> > Ok, in that case I think the easiest way forward is to not use > GMOCK_ROOT and > GTEST_ROOT and let gnucash discover your system installed version of > googletest and ignore the one you downloaded in your homedirectory. > > You may have to add -dev packages for googletest and mayby googlemock (I > don't > know the exact names on Ubuntu). And be sure to remove your build directory > and start again from running cmake. > > Regards, > > Geert > > > It appears that /usr/src/gtest and /usr/src/gmock are from 2014. Also appears the packages were not installed so went searching for google-test and google-mock and did these commands: sudo apt-get install googletest sudo apt-get install googlemock sudo apt-get install libgtest-dev However, the "make" step complains about entries in /usr/src/gtest. So I removed the three packages and tried again. "cmake" complains gtest not present. So I removed the two directories in /usr/src (gtest and gmock) and reinstalled the three above. I now have these entries in /usr/src: lrwxrwxrwx 1 root root 21 Dec 22 2016 gmock -> googletest/googlemock drwxr-xr-x 4 root root 4096 Jun 22 12:22 googletest lrwxrwxrwx 1 root root 21 Dec 22 2016 gtest -> googletest/googletest cmake ../gnucash-3.1 worked great make worked fine (I did see these lines but make kept running) [ 38%] Linking CXX shared library ../../../lib/libgnc-backend-xml-utils.so CMakeFiles/gnc-backend-xml-utils.dir/gnc-xml-backend.cpp.o: In function `GncXmlBackend::write_to_file(bool)': gnc-xml-backend.cpp:(.text+0x11e6): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' [ 38%] Built target gnc-backend-xml-utils and sudo make install worked like a champ. Again, thank you. Could not have figured this out on my own. --Steve Now to mow the lawn for the weekend. <<sigh>> _______________________________________________ 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.