I'm sorry for digging up this matter.
I've managed to build ledger on cygwin just now. Here are the steps I've 
taken, just in case anybody is interested:


   - On reports.h
      - Comment lines #791 to #808
      - Comment line #810
   - On quotes.cc
      - On line #65, replace #ifndef WIN32 with #if 0
   - On times.cc
      - Comment lines #36 and #38
   - On strptime.cc
      - Comment lines #16 and #189
      - Replace every single occurrence of strnicmp by strncasecmp
      - Add #include <strings.h>
   
Hope this helps! ;)


On Saturday, 11 August 2012 21:03:34 UTC+1, Anton Vodonosov wrote:
>
> I've just cloned the gitub ledger repo.
>
> Running ./acprep udpate on cygwin results in:
>
> $ ./acprep update
> acprep: INFO: Invoking primary phase: update
> acprep: INFO: Executing phase: update
> acprep: INFO: Executing phase: pull
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/logging/__init__.py", line 776, in emit
>     msg = self.format(record)
>   File "/usr/lib/python2.6/logging/__init__.py", line 654, in format
>     return fmt.format(record)
>   File "/usr/lib/python2.6/logging/__init__.py", line 436, in format
>     record.message = record.getMessage()
>   File "/usr/lib/python2.6/logging/__init__.py", line 306, in getMessage
>     msg = msg % self.args
> TypeError: not all arguments converted during string formatting
>
>
> I would appreciate advice how to finish the build 
>

-- 

--- 
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.

Reply via email to