On 12/26/21 1:32 PM, Stephen M. Butler wrote:
On 12/24/21 11:58, davidcousen...@gmail.com wrote:
Stephen, Jeff

Try
$apt-cache search libboost

Found these:
libboost-program-options-dev - program options library for C++ (default version)
libboost-program-options1.74-dev - program options library for C++
libboost-program-options1.74.0 - program options library for C++

Mine shows:

libboost-program-options1.67-dev - program options library for C++
libboost-program-options1.67.0 - program options library for C++

There is no libboost-program-options-dev - program options library for C++ (default version) listed.  It does however show to be installed in Synaptic Pkg Manager.

This will list the libboost options available to install from apt. If libboost- program-options1.71-dev is not listed it is possible that there will be a generic version libboost-program-options-dev  or libboost-program-options1.67- dev or possibly even a more recent version if one exists. AFAIK the libboost- program-options-dev will load the most recent available version of the library.
GC will work with v1.67 or 1,71 of libboost. Once you have identified a
candidate for libboost to install use
$sudo apt -y install libboost-program-options-dev

So did:
sudo apt -y install libboost-program-options-dev

and got:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libboost-program-options-dev is already the newest version (1.74.0.3ubuntu6).
libboost-program-options-dev set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

21.10 must have the 1.74 version.

--Steve


When I did sudo apt -y install libboost-program-options-dev, I got:

Reading package lists... Done
Building dependency tree
Reading state information... Done
libboost-program-options-dev is already the newest version (1.71.0.0ubuntu2).
libboost-program-options-dev set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.


I am running Ubuntu 20.04.3 LTS., 64-bit, Gnome version 3.36.8, with windowing system X11.  If any of that is important.


------------

After spending 4 hours looking for and installing dependencies the following message seems to be a recurring theme in various forms in CMakeError.log.  Always referring to pthreads or threads.

-Begin quote-

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /Development/Documents/gnucash/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_0899f/fast && /usr/bin/make -f CMakeFiles/cmTC_0899f.dir/build.make CMakeFiles/cmTC_0899f.dir/build make[1]: Entering directory '/Development/Documents/gnucash/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0899f.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTC_0899f.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c
Linking C executable cmTC_0899f
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0899f.dir/link.txt --verbose=1 /usr/bin/cc  -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_0899f.dir/CheckFunctionExists.c.o  -o cmTC_0899f -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_0899f.dir/build.make:87: cmTC_0899f] Error 1
make[1]: Leaving directory '/Development/Documents/gnucash/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_0899f/fast] Error 2

--End quote

Any idea what dependency I failed to install?

--
--JEffrey Black M.B.A.

_______________________________________________
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.

Reply via email to