On 2016-01-14 22:40:48, Florian Stinglmayr <flor...@n0la.org> wrote: > Hello list, > > here is an update for ledger. It updates ledger from 2. something to > ledger 3.1.1. It has moved to github, and I need to patch the cmake > a little to make it proper. > > Could someone who's already using ledger confirm that it is working > as it should, as I am just staring out to get my finances into ledger. > > @Sergey Could you give your input? > > Thanks, > Florian > > P.S.: I see the cmus patches still didn't make it in :-( >
I can't get this to build correctly on my machine. I've tried updating to newer snapshots several times since you originally sent it out and updated my ports tree each time, thinking that it may be a local problem, but it still won't build. This is what is output when I try resuming the build after it fails. It seems like the key line is probably: /usr/bin/ld: cannot find -llibledger.so.3 Any ideas on how to fix this? I've been using ledger for years and it seems like the author wants to deprecate the 2.x series, so I'd be happy to help test this so it can be upgraded to the 3.x series. (After the ports unlock of course) Script started on Sat Feb 13 11:04:34 2016 % make ===> Building for ledger-3.1.1 [1/4] : && /usr/local/bin/eg++ -O2 -pipe -DNDEBUG test/unit/CMakeFiles/MathTests.dir/t_amount.cc.o test/unit/CMakeFiles/MathTests.dir/t_commodity.cc.o test/unit/CMakeFiles/MathTests.dir/t_balance.cc.o test/unit/CMakeFiles/MathTests.dir/t_expr.cc.o test/unit/CMakeFiles/MathTests.dir/t_value.cc.o -o MathTests -L/usr/obj/ports/ledger-3.1.1/build-i386 -llibledger.so.3 -lmpfr -lgmp -lboost_date_time-mt -lboost_filesystem-mt -lboost_system-mt -lboost_iostreams-mt -lboost_regex-mt -lboost_unit_test_framework-mt -Wl,-rpath,/usr/obj/ports/ledger-3.1.1/build-i386 -Wl,-rpath-link,/usr/X11R6/lib && : FAILED: : && /usr/local/bin/eg++ -O2 -pipe -DNDEBUG test/unit/CMakeFiles/MathTests.dir/t_amount.cc.o test/unit/CMakeFiles/MathTests.dir/t_commodity.cc.o test/unit/CMakeFiles/MathTests.dir/t_balance.cc.o test/unit/CMakeFiles/MathTests.dir/t_expr.cc.o test/unit/CMakeFiles/MathTests.dir/t_value.cc.o -o MathTests -L/usr/obj/ports/ledger-3.1.1/build-i386 -llibledger.so.3 -lmpfr -lgmp -lboost_date_time-mt -lboost_filesystem-mt -lboost_system-mt -lboost_iostreams-mt -lboost_regex-mt -lboost_unit_test_framework-mt -Wl,-rpath,/usr/obj/ports/ledger-3.1.1/build-i386 -Wl,-rpath-link,/usr/X11R6/lib && : /usr/bin/ld: cannot find -llibledger.so.3 collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. *** Error 1 in . (/usr/ports/devel/cmake/cmake.port.mk:31 'do-build': @cd /usr/obj/ports/ledger-3.1.1/build-i386 && exec /usr/bin/env -i LIB...) *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2769 '/usr/obj/ports/ledger-3.1.1/build-i386/.build_done') *** Error 1 in /usr/ports/productivity/ledger (/usr/ports/infrastructure/mk/bsd.port.mk:2495 'all') % Script done on Sat Feb 13 11:05:58 2016 -- Bryan