[GNC] Unable to compile gnucash-4.0 on one computer
Md. Aminul Islam Khan
aikhanlab at gmail.com
Thu Jul 9 10:10:38 EDT 2020
Hello all,
Using Ubuntu 18.04 on two computers, was using gnucash-3.9 on both.
Directories are identical. I could compile gnucash-4.0 on one computer.
Same commands used in both computers:
1. cd build-gnucash-3.9, sudo ninja uninstall, sudo ninja clean
2. Downloaded the source file, gnucash-4.0, extracted.
3. mkdir build-gnucash-4.0, cd build-gnucash-4.0
4. cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr/local ../gnucash-4.0
5. sudo ninja
The other computer results in:------------------------------
[741/894] Generating
../../../../lib/x86_64-linux-gnu/guile/2.0/site-ccache/tests/test-qif-parse.go
wrote
`/home/aikhan/Applications_src_build/build-gnucash-4.0/lib/x86_64-linux-gnu/guile/2.0/site-ccache/tests/test-qif-parse.go'
[742/894] Linking CXX executable bin/gnucash
FAILED: bin/gnucash
: && /usr/bin/c++ -Wno-error=deprecated-declarations -Werror -Wall
-Wmissing-declarations -Wno-unused -Wno-error=parentheses
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,/home/aikhan/Applications_src_build/build-gnucash-4.0/lib:/home/aikhan/Applications_src_build/build-gnucash-4.0/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 -lguile-2.0 -lgc -lglib-2.0
/usr/lib/x86_64-linux-gnu/libboost_date_time.so
/usr/lib/x86_64-linux-gnu/libboost_regex.so
/usr/lib/x86_64-linux-gnu/libboost_locale.so
/usr/lib/x86_64-linux-gnu/libboost_filesystem.so
/usr/lib/x86_64-linux-gnu/libboost_system.so
/usr/lib/x86_64-linux-gnu/libboost_program_options.so
lib/gnucash/libgnc-generic-import.so lib/libgnc-gnome.so
lib/gnucash/libgnc-ledger-core.so lib/gnucash/libgnc-report.so
/usr/lib/x86_64-linux-gnu/libboost_locale.so
/usr/lib/x86_64-linux-gnu/libboost_filesystem.so
/usr/lib/x86_64-linux-gnu/libboost_system.so
/usr/lib/x86_64-linux-gnu/libboost_program_options.so
lib/gnucash/libgnc-register-gnome.so lib/gnucash/libgnc-register-core.so
lib/gnucash/libgnc-gnome-search.so lib/libgnc-html.so
/usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so /usr/lib/x86_64-linux-gnu/
libsoup-2.4.so /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.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/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 /usr/lib/x86_64-linux-gnu/
libglib-2.0.so lib/libgnc-backend-xml-utils.so -lz -ldl -lsecret-1
lib/libgnc-app-utils.so lib/libgnucash-guile.so lib/libgnc-locale-tax.so
-lguile-2.0 -lgc -lgio-2.0 -lxslt -lxml2 lib/libgnc-engine.so
/usr/lib/x86_64-linux-gnu/libboost_date_time.so
/usr/lib/x86_64-linux-gnu/libboost_regex.so -lgobject-2.0 -licui18n -licuuc
-licudata -Wl,--export-dynamic -lgmodule-2.0 -pthread
lib/libgnc-core-utils.so -lglib-2.0 && :
lib/gnucash/libgnc-csv-import.so: undefined reference to
`boost::re_detail_106501::icu_regex_traits_implementation::do_transform(int
const*, int const*, icu_65::Collator const*) const'
collect2: error: ld returned 1 exit status
[743/894] Generating
../../lib/x86_64-linux-gnu/guile/2.0/site-ccache/gnucash/report/trep-engine.go
wrote
`/home/aikhan/Applications_src_build/build-gnucash-4.0/lib/x86_64-linux-gnu/guile/2.0/site-ccache/gnucash/report/trep-engine.go'
ninja: build stopped: subcommand failed.
-----------------------------------------------------
Help please.
Regards,
aikhan
More information about the gnucash-user
mailing list