Hi List,
two days ago I routinely updated my Archlinux system, and the update
included the boost package:
,----
| Name : boost
| Version : 1.56.0-1
| Architecture : x86_64
| Depends on : boost-libs=1.56.0
`----
That made ledger stop working:
,----
| [tj@arch ledger]$ ledger
| ledger: error while loading shared libraries:
| libboost_date_time.so.1.55.0: cannot open shared object file: No such
| file or directory
`----
I pulled the newest git-version of ledger and tried to update ledger in
the hope its already adjusted to the newer boost library, but that
failed too (see output below).
I'm reluctant to downgrade Boost again, because I fear possible wreckage
of my Archlinux system. Can I hope that ledger (or the make files) will
adapt soon the new boost version?
PS debug output of failed ledger update
[tj@arch ledger]$ ./acprep --debug update
acprep: INFO: Invoking primary phase: update
acprep: INFO: Executing phase: update
acprep: INFO: Executing phase: pull
acprep: DEBUG: Executing command: git pull
Already up-to-date.
acprep: INFO: Executing phase: submodule
acprep: DEBUG: Executing command: git submodule init
acprep: DEBUG: Executing command: git submodule update
acprep: INFO: Executing phase: make
acprep: DEBUG: Configure arguments => []
acprep: DEBUG: Makefile arguments => []
acprep: INFO: Executing phase: config
acprep: INFO: Executing phase: submodule
acprep: DEBUG: Executing command: git submodule init
acprep: DEBUG: Executing command: git submodule update
acprep: INFO: Executing phase: configure
acprep: DEBUG: Executing command: uname -s
acprep: INFO: System type is => b'Linux'
acprep: INFO: Setting up build flavor => debug
acprep: DEBUG: configure does not need to be run
acprep: DEBUG: Changing directory to /home/tj/gitclone/ledger
acprep: DEBUG: Executing command: make
Scanning dependencies of target libledger
[ 1%] Building CXX object src/CMakeFiles/libledger.dir/stats.cc.o
[ 3%] Building CXX object src/CMakeFiles/libledger.dir/generate.cc.o
[...]
[ 66%] Building CXX object src/CMakeFiles/libledger.dir/quotes.cc.o
[ 68%] Building CXX object src/CMakeFiles/libledger.dir/history.cc.o
In file included from /usr/include/boost/noncopyable.hpp:15:0,
from
/usr/include/boost/type_traits/is_copy_constructible.hpp:18,
from /usr/include/boost/type_traits.hpp:53,
from /usr/include/boost/pending/property.hpp:13,
from /usr/include/boost/graph/graph_traits.hpp:27,
from /usr/include/boost/graph/adjacency_list.hpp:33,
from /home/tj/gitclone/ledger/src/history.cc:34:
/usr/include/boost/core/noncopyable.hpp:23:9: Fehler: Redefinition von
»class boost::noncopyable_::noncopyable«
class noncopyable
^
In file included from /usr/include/boost/system/error_code.hpp:18:0,
from /usr/include/boost/filesystem/path_traits.hpp:23,
from /usr/include/boost/filesystem/path.hpp:25,
from /usr/include/boost/filesystem/operations.hpp:25,
from /usr/include/boost/filesystem/convenience.hpp:22,
from /home/tj/gitclone/ledger/system.hh:178:
/usr/include/boost/noncopyable.hpp:23:9: Fehler: vorherige Definition
von »class boost::noncopyable_::noncopyable«
In file included from /usr/include/boost/ref.hpp:15:0,
from
/usr/include/boost/graph/named_function_params.hpp:16,
from
/usr/include/boost/graph/dijkstra_shortest_paths.hpp:20,
from /home/tj/gitclone/ledger/src/history.cc:36:
/usr/include/boost/core/ref.hpp:59:25: Fehler: Redefinition von »class
boost::reference_wrapper<T>«
template<class T> class reference_wrapper
^
In file included from
/usr/include/boost/function/function_base.hpp:29:0,
from
/usr/include/boost/function/detail/prologue.hpp:17,
from /usr/include/boost/function.hpp:24,
from
/usr/include/boost/algorithm/string/detail/find_iterator.hpp:18,
from
/usr/include/boost/algorithm/string/find_iterator.hpp:24,
from
/usr/include/boost/algorithm/string/iter_find.hpp:27,
from /usr/include/boost/algorithm/string/split.hpp:16,
from /usr/include/boost/algorithm/string.hpp:23,
from /home/tj/gitclone/ledger/system.hh:168:
/usr/include/boost/ref.hpp:32:25: Fehler: vorherige Definition von
»class boost::reference_wrapper<T>«
/usr/include/boost/smart_ptr/detail/array_allocator.hpp:247:23:
Anmerkung: empfohlene Alternative:
In file included from /usr/include/boost/optional/optional.hpp:26:0,
from /usr/include/boost/optional.hpp:15,
from /usr/include/boost/format/internals.hpp:20,
from /usr/include/boost/format.hpp:38,
from /home/tj/gitclone/ledger/system.hh:185:
/usr/include/boost/type_traits/type_with_alignment.hpp:222:17:
Anmerkung: »boost::align«
// by value (and neither can any type containing such a type like
[...]
^
src/CMakeFiles/libledger.dir/build.make:980: recipe for target
'src/CMakeFiles/libledger.dir/history.cc.o' failed
make[2]: *** [src/CMakeFiles/libledger.dir/history.cc.o] Error 1
CMakeFiles/Makefile2:112: recipe for target
'src/CMakeFiles/libledger.dir/all' failed
make[1]: *** [src/CMakeFiles/libledger.dir/all] Error 2
Makefile:147: recipe for target 'all' failed
make: *** [all] Error 2
acprep: ERROR: Execution failed: make))
--
cheers,
Thorsten
--
---
You received this message because you are subscribed to the Google Groups
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.