Install the latest Cygwin. This may take a while (it downloads a lot of stuff), but it is well worth it in any case. But before you kick off the install, make sure the following packages are all manually enabled in the interface provided by setup.exe (they’re not selected by default):
python3
python3-setuptools
mercurial
make
gcc-core
flex
bison
wget
Start a new Cygwin bash shell (there should be a new icon on your desktop) and install the pip3 installer tool by running this command:
easy_install3.3 pip
At this point, you should be able to follow the regular instructions from the install file.
--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/43da7855-b0c8-44eb-b8cb-76877dc6d55a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I created a 2012 Windows VM on gcloud and succesfully built a working install of Beancount using Cygwin on it. It was surprisingly easy, and all the unit test just passed with no changes.
Thanks for looking into this Martin!I must say that I'd rather not install the heavyweight cygwin by itself. I'd rather figure out how to use it with my current Python installation and it still appears possible. Somewhat more tedious, but ultimately more helpful if I can share it afterwards.
Looking at the install docs, I cannot find the ncurses requirement anymore, so I assume this is a non-issue now.
wget can be found inside the git for Windows installation and it's only required for bean-bake (the web server, right?)The compiler requirements are there because you are using cython at some point, I presume?Flex/bison: can we run these on Linux and work with the their output on Windows?What is make for? Or is all of this only for the lexer, grammar, parser.c?Best regards,Matthias
--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/618b9b0c-8f51-46cb-a9c5-a6364f9c9302%40googlegroups.com.
On Wed, Jun 10, 2015 at 4:51 AM, <ma.k...@gmail.com> wrote:Thanks for looking into this Martin!I must say that I'd rather not install the heavyweight cygwin by itself. I'd rather figure out how to use it with my current Python installation and it still appears possible. Somewhat more tedious, but ultimately more helpful if I can share it afterwards.Yes, I think it's possible.The thing is, under Windows you have to build with whatever MSVCRT dll Python has been built with, and IIRC C/Python is built using MSVC, so you would need that installed for it to work. I think setup.py should already be able to trigger an MSVC build on Windows (unverified).Looking at the install docs, I cannot find the ncurses requirement anymore, so I assume this is a non-issue now.It was always a non-issue
wget can be found inside the git for Windows installation and it's only required for bean-bake (the web server, right?)
The compiler requirements are there because you are using cython at some point, I presume?
Flex/bison: can we run these on Linux and work with the their output on Windows?
What is make for? Or is all of this only for the lexer, grammar, parser.c?
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/25ab8ce2-91a5-4d80-8e03-d022cb9186f0%40googlegroups.com.