I'm having trouble with compile on my laptop even though the desktop compiles fine. It must be a dependency problem. I've
followed the instructions, https://wiki.gnucash.org/wiki/Building_On_Linux, to the letter. Following are symptom error messages,
then a copy of the output during the cmake step. any ideas about what dependency might be needed appreciated.
Symptoms:
722/865] Generating
../../lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/locale/de_DE/tax/txf.go
wrote
`/usr/local/src/gnucash-5.3-build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/locale/de_DE/tax/txf.go'
[723/865] Linking CXX executable bin/gnucash
FAILED: bin/gnucash
: && /bin/c++ -Werror -Wall -Wmissing-declarations gnucash/CMakeFiles/gnucash.dir/gnucash.cpp.o
gnucash/CMakeFiles/gnucash.dir/gnucash-commands.cpp.o gnucash/CMakeFiles/gnucash.dir/gnucash-core-app.cpp.o
gnucash/CMakeFiles/gnucash.dir/gnucash-gresources.c.o -o bin/gnucash
-Wl,-rpath,/usr/local/src/gnucash-5.3-build/lib:/usr/local/src/gnucash-5.3-build/lib/gnucash: lib/libgnc-module.so
lib/gnucash/libgnc-qif-import.so lib/gnucash/libgnc-csv-import.so lib/gnucash/libgnc-csv-export.so
lib/gnucash/libgnc-log-replay.so lib/gnucash/libgnc-bi-import.so lib/gnucash/libgnc-customer-import.so
-L/usr/lib/x86_64-linux-gnu -lguile-3.0 -lgc -lpthread -ldl lib/gnucash/libgnc-generic-import.so lib/libgnc-gnome.so
lib/gnucash/libgnc-ledger-core.so lib/gnucash/libgnc-report.so lib/gnucash/libgnc-expressions-guile.so
lib/gnucash/libgnc-register-gnome.so lib/gnucash/libgnc-register-core.so lib/gnucash/libgnc-gnome-search.so lib/libgnc-html.so
lib/gnucash/libgnc-gnome-utils.so /usr/lib/x86_64-linux-gnu/libgtk-3.so /usr/lib/x86_64-linux-gnu/libgdk-3.so
/usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so /usr/lib/x86_64-linux-gnu/libpango-1.0.so
/usr/lib/x86_64-linux-gnu/libharfbuzz.so /usr/lib/x86_64-linux-gnu/libatk-1.0.so /usr/lib/x86_64-linux-gnu/libcairo-gobject.so
/usr/lib/x86_64-linux-gnu/libcairo.so /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so /usr/lib/x86_64-linux-gnu/libgio-2.0.so
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so lib/gnucash/libgnc-expressions.so lib/libgnc-locale-tax.so lib/libgnucash-guile.so
-lguile-3.0 -lgc -lpthread -ldl lib/libgnc-backend-xml-utils.so -lz -ldl -lsecret-1 lib/libgnc-app-utils.so -lgio-2.0
-lxslt -lxml2 lib/libgnc-engine.so -L/usr/lib/x86_64-linux-gnu -lgobject-2.0 -licui18n -licuuc -licudata
-Wl,--export-dynamic -lgmodule-2.0 -lglib-2.0 -pthread lib/libgnc-core-utils.so
/usr/lib/x86_64-linux-gnu/libboost_date_time.so.1.74.0 /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.74.0
/usr/lib/x86_64-linux-gnu/libboost_locale.so.1.74.0 /usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.74.0
/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.74.0 /usr/lib/x86_64-linux-gnu/libboost_atomic.so.1.74.0
/usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.74.0 /usr/lib/x86_64-linux-gnu/libboost_regex.so.1.74.0
/usr/lib/x86_64-linux-gnu/libboost_system.so.1.74.0 /usr/lib/x86_64-linux-gnu/libglib-2.0.so && :
/bin/ld: lib/libgnc-core-utils.so: undefined reference to
`boost::filesystem::detail::dir_itr_imp::~dir_itr_imp()'
/bin/ld: lib/libgnc-core-utils.so: undefined reference to
`boost::filesystem::path::find_relative_path() const'
/bin/ld: lib/libgnc-core-utils.so: undefined reference to
`boost::filesystem::path::compare_v3(boost::filesystem::path const&) const'
/bin/ld: lib/libgnc-core-utils.so: undefined reference to
`boost::filesystem::path::find_parent_path_size() const'
/bin/ld: lib/libgnc-core-utils.so: undefined reference to
`boost::filesystem::path::append_v3(char const*, char const*)'
/bin/ld: lib/libgnc-app-utils.so: undefined reference to
`boost::filesystem::path::append_v3(boost::filesystem::path const&)'
/bin/ld: lib/libgnc-core-utils.so: undefined reference to
`boost::filesystem::detail::dir_itr_imp::operator delete(void*)'
collect2: error: ld returned 1 exit status
[724/865] Generating
../../lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/gnome-utils/gnc-menu-extensions.go
wrote
`/usr/local/src/gnucash-5.3-build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/gnome-utils/gnc-menu-extensions.go'
[725/865] Generating
../../lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/locale/us/tax/txf.go
wrote
`/usr/local/src/gnucash-5.3-build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/locale/us/tax/txf.go'
ninja: build stopped: subcommand failed.
cmake output:
(anaconda3)john@cultlab4 [gnucash-5.3-build]cmake -GNinja
-DCMAKE_INSTALL_PREFIX="/usr/local" ../gnucash-5.3
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found UnixCommands: /bin/bash
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found PkgConfig: /bin/pkg-config (found version "0.29.2")
-- Checking for module 'glib-2.0>=2.56.1'
-- Found glib-2.0, version 2.72.4
-- Checking for module 'gio-2.0'
-- Found gio-2.0, version 2.72.4
-- Checking for module 'gobject-2.0'
-- Found gobject-2.0, version 2.72.4
-- Checking for module 'gmodule-2.0'
-- Found gmodule-2.0, version 2.72.4
-- Checking for module 'gthread-2.0'
-- Found gthread-2.0, version 2.72.4
-- Checking for module 'libxml-2.0>=2.9.4'
-- Found libxml-2.0, version 2.9.13
-- Checking for module 'libxslt'
-- Found libxslt, version 1.1.34
-- Checking for module 'webkit2gtk-4.0>=2.14.0'
-- Found webkit2gtk-4.0, version 2.38.6
-- Checking for module 'gtk+-3.0>=3.22.30'
-- Found gtk+-3.0, version 3.24.33
-- Checking for module 'zlib'
-- Found zlib, version 1.2.11
-- Found Gettext: /bin/msgmerge (found suitable version "0.21", minimum required is
"0.19.6")
-- Found SWIG: /bin/swig4.0 (found suitable version "4.0.2", minimum required is
"3.0.12")
-- Using guile-3.0.x
-- Using guile SRFI-64
-- Using guile textual-ports
-- Checking for module 'gwenhywfar>=5.6.0'
-- Found gwenhywfar, version 5.9.0
-- Checking for module 'aqbanking>=6.2.0'
-- Found aqbanking, version 6.4.3beta
-- Looking for AB_Banking_RuntimeConfig_SetCharValue
-- Looking for AB_Banking_RuntimeConfig_SetCharValue - not found
-- Checking for module 'gwengui-gtk3'
-- Found gwengui-gtk3, version 5.9.0
-- Checking for module 'libofx'
-- Found libofx, version 0.10.3
-- Performing Test HAVE_OFX_BUG_39
-- Performing Test HAVE_OFX_BUG_39 - Failed
-- Found LibXslt: xslt;xml2 (found version "1.1.34")
-- Found Perl: /bin/perl (found version "5.34.0")
-- Checking for module 'icu-uc'
-- Found icu-uc, version 70.1
-- Checking for module 'icu-i18n'
-- Found icu-i18n, version 70.1
-- Checking for module 'libsecret-1>=0.18'
-- Found libsecret-1, version 0.20.5
-- Performing Test have_stringop_truncation
-- Performing Test have_stringop_truncation - Success
-- Checking for GTEST
-- Checking for GMOCK
-- Looking for include file dirent.h
-- Looking for include file dirent.h - found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Looking for include file glob.h
-- Looking for include file glob.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file limits.h
-- Looking for include file limits.h - found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/times.h
-- Looking for include file sys/times.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/wait.h
-- Looking for include file sys/wait.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file utmp.h
-- Looking for include file utmp.h - found
-- Looking for include file wctype.h
-- Looking for include file wctype.h - found
-- Performing Test standard_math_library_linked_to_automatically
-- Performing Test standard_math_library_linked_to_automatically - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/gnucash-5.3-build
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.