Cygwin installation problem

2014-04-03 Thread Jostein Berntsen
I have tried to install ledger in cygwin, but it stalls when generating the 
system.hh.gch file. I first do this:

e210618@PC-31296 /cygdrive/c/MyDocs/Downloads/ledger3/ledger
$ cmake -G Unix Makefiles
-- Boost version: 1.53.0
-- Found the following Boost libraries:
--   date_time
--   filesystem
--   system
--   iostreams
--   regex
--   unit_test_framework
-- Configuring done
-- Generating done
-- Build files have been written to: 
/cygdrive/c/MyDocs/Downloads/ledger3/ledger

When running -/acprep update I get this error:

/usr/include/boost/functional/hash/hash.hpp:439:5: error: 'ulong_long_type' 
is not a member of 'boost'
/usr/include/boost/functional/hash/hash.hpp:439:5: error: template argument 
1 is invalid
 BOOST_HASH_SPECIALIZE(boost::ulong_long_type)
 ^
src/CMakeFiles/libledger.dir/build.make:56: recipe for target 
'system.hh.gch' failed
make[2]: *** [system.hh.gch] Error 1
CMakeFiles/Makefile2:115: recipe for target 
'src/CMakeFiles/libledger.dir/all' failed
make[1]: *** [src/CMakeFiles/libledger.dir/all] Error 2
Makefile:146: recipe for target 'all' failed
make: *** [all] Error 2
acprep: ERROR: Execution failed: make


Anyone knows what to do here?

Jostein


-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Cygwin installation problem

2014-04-03 Thread Bruce Schultz
On 3 April 2014 8:41:30 PM AEST, Jostein Berntsen jber...@broadpark.no wrote:
I have tried to install ledger in cygwin, but it stalls when generating
the 
system.hh.gch file. I first do this:

e210618@PC-31296 /cygdrive/c/MyDocs/Downloads/ledger3/ledger
$ cmake -G Unix Makefiles
-- Boost version: 1.53.0
-- Found the following Boost libraries:
--   date_time
--   filesystem
--   system
--   iostreams
--   regex
--   unit_test_framework
-- Configuring done
-- Generating done
-- Build files have been written to: 
/cygdrive/c/MyDocs/Downloads/ledger3/ledger

When running -/acprep update I get this error:

/usr/include/boost/functional/hash/hash.hpp:439:5: error:
'ulong_long_type' 
is not a member of 'boost'
/usr/include/boost/functional/hash/hash.hpp:439:5: error: template
argument 
1 is invalid
 BOOST_HASH_SPECIALIZE(boost::ulong_long_type)
 ^
src/CMakeFiles/libledger.dir/build.make:56: recipe for target 
'system.hh.gch' failed
make[2]: *** [system.hh.gch] Error 1
CMakeFiles/Makefile2:115: recipe for target 
'src/CMakeFiles/libledger.dir/all' failed
make[1]: *** [src/CMakeFiles/libledger.dir/all] Error 2
Makefile:146: recipe for target 'all' failed
make: *** [all] Error 2
acprep: ERROR: Execution failed: make


Anyone knows what to do here?

Jostein

Not sure on the specific error, but I built it on cygwin today  it built fine 
first attempt. Did you install the cygwin boost-devel package? The page I 
followed wasn't too clear on that but I did install it before I started  it 
the only thing I can think of right now that might cause your problems.

Bruce
--
:B

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.