;;; -*- mode: org; -*-

* Linux distribution

  My linux distro is now Linux Mint Debian Edition, based on Debian
  Testing aka Debian Wheezy. Debian testing freeze is planned June 2012,
  that means this release will become the "stable" 6 months later.

  If useful, kernel is 3.2.0-2-amd64.

** Prerequisites

   From https://github.com/jwiegley/ledger/#debian
   I had to add libicu-dev to compile boost 1.49

   sudo apt-get install build-essential autopoint texinfo python-dev
   zlib1g-dev libbz2-dev libgmp3-dev gettext libmpfr-dev libicu-dev

   sudo apt-get install libboost-date-time-dev libboost-filesystem-dev
   libboost-graph-dev libboost-iostreams-dev libboost-python-dev
   libboost-regex-dev libboost-test-dev

* Results

  Here are my attempts :
  - ledger from source, boost 1.49 from source, cmake 2.8.8 from source
    --> SUCCESS
  - ledger from source, boost 1.49 from source, cmake 2.8.7 from apt-get
    --> SUCCESS(1)
  - ledger from source, boost 1.48 from apt-get, cmake 2.8.7 from
    apt-get --> SUCCESS(1)
  - ledger from source, boost 1.46.1 from apt-get, cmake 2.8.7 from
    apt-get --> SUCCESS(1)

  SUCCESS(1) = with Tim Crews patch removing OPTIONAL_COMPONENTS keyword

* Tests

** SUCCESS means that the below tests passed successfully

   make test
   make check (same as "make test"?)
   python test/RegressTests.py -j ./ledger . ./test/regress/
   python test/RegressTests.py -j ./ledger . ./test/manual/
   python test/RegressTests.py -j ./ledger . ./test/baseline/

** Failure:

*** ./acprep opt proof

**** FAIL

     ./acprep opt update
     ./acprep opt proof  <-- failure
     ./acprep opt update  <--failure
     
     when opt proof fails, it happens that any second compilation is a
     failure, saying that files are different, but files are actually
     the same.

***** Log for opt proof failure

$ PATH=$PATH:/opt/local/bin ./acprep opt proof
acprep: INFO: Invoking primary phase: proof
acprep: INFO: Executing phase: proof
acprep: INFO: === Copying source tree ===
acprep: INFO: Executing phase: rsync
acprep: INFO: Making directory: /home/thierry/dev/ledger/build/ledger
acprep: INFO: Executing phase: makeall
acprep: INFO: === Building opt ===
acprep: INFO: Executing phase: make
acprep: INFO: Executing phase: config
acprep: INFO: Executing phase: submodule
Submodule 'lib/utfcpp' () registered for path 'lib/utfcpp'
acprep: INFO: Executing phase: configure
acprep: INFO: System type is => Linux
acprep: INFO: Setting up build flavor => opt
acprep: INFO: Making directory: 
/home/thierry/dev/ledger/build/ledger/ledger-proof/build/ledger-proof/opt
CMake Error: The current CMakeCache.txt directory 
/home/thierry/dev/ledger/build/ledger/ledger-proof/CMakeCache.txt is 
different than the directory /home/thierry/dev/ledger where CMakeCache.txt 
was created. This may result in binaries being created in the wrong place. 
If you are not sure, reedit the CMakeCache.txt
acprep: ERROR: Execution failed: cmake 
/home/thierry/dev/ledger/build/ledger/ledger-proof -DNO_ASSERTS=1
$ diff /home/thierry/dev/ledger/build/ledger/ledger-proof/CMakeCache.txt 
/home/thierry/dev/ledger/CMakeCache.txt
$



$ PATH=$PATH:/opt/local/bin ./acprep opt update --jobs=2 
--boost-include=/home/thierry/dev/boost_1_49_0 
--boost=/home/thierry/dev/boost_1_49_0/stage/lib
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' () registered for path 'lib/utfcpp'
acprep: INFO: Executing phase: make
acprep: INFO: Executing phase: config
acprep: INFO: Executing phase: submodule
Submodule 'lib/utfcpp' () registered for path 'lib/utfcpp'
acprep: INFO: Executing phase: configure
acprep: INFO: System type is => Linux
acprep: INFO: Setting up build flavor => opt
acprep: INFO: Making directory: /home/thierry/dev/ledger/build/ledger/opt
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    BOOST_INCLUDEDIR
    BOOST_ROOT


-- Build files have been written to: /home/thierry/dev/ledger
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
acprep: ERROR: Execution failed: make -j2 ARGS=-j2


Reply via email to