Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Prior to starting the commands below, I had already downloaded the gnucash 3.2 source files.
- #
- # This is where I started the installation procedure on https://wiki.gnucash.org/wiki/BuildUbuntu16.04
- #
- sudo apt get install build-essential git
- sudo apt install build-essential git
- sudo apt install cmake
- #
- # Here are the commands to setup GoogleTest (https://wiki.gnucash.org/wiki/GoogleTest)
- #
- cd
- cd .local
- ll
- mkdir src
- cd src
- ll
- git clone https://github.com/google/googletest.git
- ll
- ll googletest/
- cd googletest/
- mkdir mybuild
- cd mybuild/
- cmake -DBUILD_GMOCK=ON ../
- make
- export GTEST_ROOT=$HOME/.local/src/googletest/googletest
- export GMOCK_ROOT=$HOME/.local/src/googletest/googlemock
- cd ~/Downloads
- ll
- git clone https://github.com/google/googletest.git
- cd googletest/
- mkdir mybuild
- cd mybuild/
- cmake -DCAMKE_INSTALL_PREFIX=/usr/local -DBUILD_SHARED_LIBS=ON -DBUILD_GMOCK=ON -DINSTALL_GTEST=ON -DINSTALL_GMOCK=ON ../
- make
- sudo make install
- sudo apt install googletest
- #
- # This is where I install the dependencies listed on https://wiki.gnucash.org/wiki/BuildUbuntu16.04.
- # Note that I did not install libgtest-dev and google-mock at this stage.
- # Neither did I install any of the Option Dependencies.
- #
- sudo apt install libtool libltdl-dev
- sudo apt install libglib2.0 libglib2.0-dev
- sudo apt install icu-devtools libicu-dev
- sudo apt install libboost-all-dev
- sudo apt install guile-2.0 guile-2.0-dev
- sudo apt install swig2.0
- sudo apt install libxml2 libxml++2.6-dev libxml2-utils
- sudo apt install libxslt1.1 libxslt1-dev
- sudo apt install xsltproc
- sudo apt install texinfo
- sudo apt install libsecret-1-0
- sudo apt install gtk+3.0
- sudo apt install libgtk-3-dev
- sudo apt install libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-dev
- cd ..
- cd gnucash
- ll
- cd gnucash-3.2/
- ll
- mkdir build-gnucash-3.2
- ll ~/.local
- ll ~/.local/bin
- cd build-gnucash-3.2/
- ll
- cmake -D CMAKE_INSTALL_PREFIX=$HOME/.local ../gnucash-3.2
- ll
- cd ..
- rmdir build-gnucash-3.2/
- ll
- mkdir build-gnucash-3.2
- cd build-gnucash-3.2/
- cmake -D CMAKE_INSTALL_PREFIX=$HOME/.local ../gnucash
- make
- ll
- cat CMakeFiles/CMakeError.log
- cat CMakeFiles/CMakeOutput.log
- less CMakeFiles/CMakeOutput.log
- #
- # This is where I decide to install libgtest-dev and google-mock
- #
- sudo apt install libgtest-dev
- sudo apt install google-mock
- #
- # Trying again to run cmake...
- #
- cmake -D CMAKE_INSTALL_PREFIX=$HOME/.local ../gnucash
- cd ..
- ll
- cd build-gnucash-3.2/
- ll
- cmake -D CMAKE_INSTALL_PREFIX=$HOME/.local ../
- cd ..
- ll
- ll build-gnucash-3.2/
- rm -rf build-gnucash-3.2/
- ll
- ll ..
- ll
- mkdir /tmp/build-gnucash
- cd /tmp/build-gnucash/
- #
- # At this stage, I am starting to get some more success, but am finding that some of the Option Dependencies are missing, so I am installing those.
- #
- cmake -D CMAKE_INSTALL_PREFIX=$HOME/.local /data/download/gnucash/gnucash-3.2
- sudo apt install gwenhywfar-tools libgwenhywfar60 libgwenhywfar60-dev
- cmake -D CMAKE_INSTALL_PREFIX=$HOME/.local /data/download/gnucash/gnucash-3.2
- sudo apt install aqbanking-tools libaqbanking-dev
- cmake -D CMAKE_INSTALL_PREFIX=$HOME/.local /data/download/gnucash/gnucash-3.2
- sudo apt install libofx-dev
- cmake -D CMAKE_INSTALL_PREFIX=$HOME/.local /data/download/gnucash/gnucash-3.2
- sudo apt install libdbi1 libdbi-dev
- cmake -D CMAKE_INSTALL_PREFIX=$HOME/.local /data/download/gnucash/gnucash-3.2
- ll
- rm -rf *
- cmake -D CMAKE_INSTALL_PREFIX=$HOME/.local /data/download/gnucash/gnucash-3.2
- less /tmp/build-gnucash/CMakeFiles/CMakeOutput.log
- less /tmp/build-gnucash/CMakeFiles/CMakeError.log
- cmake -D CMAKE_INSTALL_PREFIX=$HOME/.local /data/download/gnucash/gnucash-3.2
- ll
- rm -rf *
- cmake -D CMAKE_INSTALL_PREFIX=$HOME/.local /data/download/gnucash/gnucash-3.2
- less CMakeFiles/CMakeError.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement