I had possibly confused things by using "git pull" so I deleted my
ledger directory and started again with
git clone git://github.com/jwiegley/ledger.git
cd ledger && ./acprep update -- --prefix=/usr/local

I discovered that ledger seems to have acquired a dependency on
Boost.IOStreams since I last built from git so I remade boost from
clean and repeated the acprep update after running acprep clean, now
it grinds for a while and finishes with:

    LD  ledger
Undefined symbols:
  "ledger::archive_t::should_load
(std::list<boost::filesystem::basic_path<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::filesystem::path_traits>,
std::allocator<boost::filesystem::basic_path<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::filesystem::path_traits> > > const&)", referenced from:
      ledger::session_t::read_data(ledger::string const&)in
libledger_report.a(libledger_report_la-session.o)
  "ledger::archive_t::load(boost::shared_ptr<ledger::journal_t>)",
referenced from:
      ledger::session_t::read_data(ledger::string const&)in
libledger_report.a(libledger_report_la-session.o)
  "ledger::archive_t::save(boost::shared_ptr<ledger::journal_t>)",
referenced from:
      ledger::session_t::read_data(ledger::string const&)in
libledger_report.a(libledger_report_la-session.o)
  "ledger::archive_t::should_save
(boost::shared_ptr<ledger::journal_t>)", referenced from:
      ledger::session_t::read_data(ledger::string const&)in
libledger_report.a(libledger_report_la-session.o)
ld: symbol(s) not found

I included the filesystem library in the boost build. What is going
wrong?

Reply via email to