Hi, I'm trying to run ledger on a Mac (latest Snow Leopard) without much luck. Any help would be much appreciated.
The prebuilt binaries from ftp://ftp.newartisans.com/pub/ledger/ledger-current.dmg.zip fail as follows: ---- mac-mini:ledger_prebuilt richard$ ls ledger libgcc_s.1.dylib libgmp.10.dylib libmpfr.4.dylib libstdc++. 6.dylib mac-mini:ledger_prebuilt richard$ ./ledger dyld: Library not loaded: libboost_python-xgcc45-d-1_47.dylib Referenced from: /Users/richard/Desktop/ledger_prebuilt/./ledger Reason: image not found Trace/BPT trap mac-mini:ledger_prebuilt richard$ ---- Building myself from git fails as follows ---- mac-mini:Desktop richard$ git clone git://github.com/jwiegley/ledger.git [snip] mac-mini:Desktop richard$ cd ledger mac-mini:ledger richard$ ./acprep update acprep: INFO: Invoking primary phase: update acprep: INFO: Executing phase: update acprep: INFO: Executing phase: pull Already up-to-date. acprep: INFO: Executing phase: submodule Submodule 'lib/utfcpp' (git://github.com/jwiegley/utfcpp.git) registered for path 'lib/utfcpp' Cloning into lib/utfcpp... remote: Counting objects: 32, done. remote: Compressing objects: 100% (32/32), done. remote: Total 32 (delta 9), reused 0 (delta 0) Receiving objects: 100% (32/32), 18.94 KiB, done. Resolving deltas: 100% (9/9), done. Submodule path 'lib/utfcpp': checked out '7875c17d76168b566805405c90cc34df2c364d33' acprep: INFO: Executing phase: make acprep: INFO: Executing phase: config acprep: INFO: Executing phase: submodule acprep: INFO: Executing phase: autoconf acprep: INFO: autogen.sh must be run because acprep is newer than configure acprep: INFO: Executing phase: autogen Preparing the ledger build system...please wait Found GNU Autoconf version 2.61 Found GNU Automake version 1.10 Warning: libtoolize does not appear to be available. This means that the automatic build preparation via autoreconf will probably not work. Preparing the build by running each step individually, however, should work and will be done automatically for you if autoreconf fails. Fortunately, glibtoolize was found which means that your system may simply have a non-standard or incomplete GNU Autotools install. If you have sufficient system access, it may be possible to quell this warning by running: sudo ln -s /usr/bin/glibtoolize /usr/bin/libtoolize Found GNU Libtool version 2.2.4 Automatically preparing build ... Warning: autoreconf failed Attempting to run the preparation steps individually Preparing build ... Warning: autoconf seems to have succeeded by removing the following options: AUTOCONF_OPTIONS="-f" Removing those options should not be necessary and indicate some other problem with the build system. The build preparation is highly suspect and may result in configuration or compilation errors. Consider rerunning the build preparation with verbose output enabled. tools/autogen.sh --verbose Continuing build preparation ... configure.ac:440: required file `intl/ Makefile.in' not found Makefile.am:4: required directory ./po does not exist Makefile.am:4: required directory ./intl does not exist Makefile.am:303: variable `ReportTests_SOURCES' is defined but no program or Makefile.am:303: library has `ReportTests' as canonic name (possible typo) Makefile.am:298: variable `DataTests_SOURCES' is defined but no program or Makefile.am:298: library has `DataTests' as canonic name (possible typo) Makefile.am:306: variable `ReportTests_LDADD' is defined but no program or Makefile.am:306: library has `ReportTests' as canonic name (possible typo) Makefile.am:301: variable `DataTests_LDADD' is defined but no program or Makefile.am:301: library has `DataTests' as canonic name (possible typo) ERROR: automake failed acprep: ERROR: Execution failed: sh tools/autogen.sh mac-mini:ledger richard$ ---- Thanks, - Rich
