On Tue, Feb 3, 2009 at 12:54 AM, John Wiegley wrote:
>
> On Feb 2, 2009, at 3:20 PM, Manish wrote:
>
>> With latest git checkout (b182143 Mon Feb 2 00:28:12 2009) on Debian
>> Unstable, compilation fails complaining of missing irrXML.h and
>> CXMLReaderImpl.h. acprep and configure finished without any errors.
>
> You need to run:
>
> git submodule init
> git submodule update
>
> The odd thing is, acprep does this for you. Can you wipe out
> lib/irrxml and try again?

OK.  Here is what I did this time.

,----
| master% ls -l lib/irrxml
| total 0
| master% ls -l lib/utfcpp
| total 0
`----
,----[ forcing git pull ]
| master% git reset --hard HEAD~1
| HEAD is now at 46b35a0 Don't allow implicit matching of strings
against masks, =~ is needed.
| master% git pull
| Updating 46b35a0..bd9ffed
| lib/cppunit: needs update
| lib/libofx: needs update
| Fast forward
|  src/op.cc |    4 +++-
|  1 files changed, 3 insertions(+), 1 deletions(-)
`----
,----
| master% git submodule init
| master% git submodule update
| fatal: The remote end hung up unexpectedly
| Unable to checkout 'fccfbd741a0fd974945bb259854768cc70258f07' in
submodule path 'lib/cppunit'
`----
,----
| master% ./acprep
| fatal: The remote end hung up unexpectedly
| Unable to checkout 'fccfbd741a0fd974945bb259854768cc70258f07' in
submodule path 'lib/cppunit'
| Preparing the ledger build system...please wait
|
| Found GNU Autoconf version 2.61
| Found GNU Automake version 1.10.1
| Found GNU Libtool version 1.5.26
|
| Automatically preparing build ... done
|
| The ledger build system is now prepared.  To build here, run:
|   ./configure
|   make
| checking for a BSD-compatible install... /usr/bin/install -c
| ...
| [snip: checking build environment (133 lines)]
| ...
| configure: creating ./config.status
| config.status: creating Makefile
| config.status: creating acconf.h
| config.status: acconf.h is unchanged
| config.status: executing depfiles commands
`----
,----
| master% make
| make  all-am
| make[1]: Entering directory `/data/desktop/ledger.git'
|     CXX libledger_util_la-utils.lo
| In file included from src/utils.h:52,
|                  from src/utils.cc:32:
| ./src/system.hh:141:35: error: irrXML.h: No such file or directory
| ./src/system.hh:142:28: error: CXMLReaderImpl.h: No such file or directory
| make[1]: *** [libledger_util_la-utils.lo] Error 1
| make[1]: Leaving directory `/data/desktop/ledger.git'
| make: *** [all] Error 2
`----
,----
| master% ls -l lib/irrxml
| total 0
| master% ls -l lib/utfcpp
| total 0
`----

I clone the irrxml and utfcpp submodules separetly in /tmp, copied the
contents to ledger/lib/irrxml and utfcpp subdirectories and did a
`make' again with following results.

,----
| master% make
| make  all-am
| make[1]: Entering directory `/data/desktop/ledger.git'
|     CXX libledger_util_la-utils.lo
|     CXX libledger_util_la-error.lo
|     CXX libledger_util_la-times.lo
|     CXX libledger_util_la-mask.lo
|     CXX libledger_util_la-stream.lo
|     CXX libledger_util_la-binary.lo
|     CXX libledger_util_la-sha1.lo
|     LD libledger_util.la
|     CXX libledger_math_la-amount.lo
| src/amount.cc: In function �void
ledger::<unnamed>::stream_out_mpq(std::ostream&, __mpq_struct*,
uint_least16_t, const boost::op
| tional<ledger::commodity_t&>&)�:
| src/amount.cc:572: error: �mpfr_asprintf� was not declared in this scope
| make[1]: *** [libledger_math_la-amount.lo] Error 1
| make[1]: Leaving directory `/data/desktop/ledger.git'
| make: *** [all] Error 2
`----

Thanks
-- 
Manish

Reply via email to