Here's my start from scratch instructions anyway. I got as far as
having trouble with botan, but it's too late in the evening now.
You can of course have multiple MSYS2/MinGW instances on your machine
without conflicts, so long as you don't run two (different) instances
at once (due to DLL rebasing issues).
Your goal is to build monotone for native Windows 64bit? Here's a
rundown of the steps I tried:
Download and unpack msys2-base-x86_64-20140216.tar.xz, I'm going to do
this to E:\monotone and pretend you did the same just to simplify the
instructions.
Since you want to build Win64 software, you should run
E:\monotone\msys64\mingw64_shell.bat
.. It will create the initial environment.
$ exit
run E:\monotone\msys64\mingw64_shell.bat
$ pacman -Syu
it will update the core system causing DLL address conflicts and we
need to rebase the MSYS dlls.
$ exit
wait for bash to go away (can take 20-30 seconds), then run
E:\monotone\msys64\autorebase.bat then run
E:\monotone\msys64\mingw64_shell.bat
.. install base development tools:
$ pacman -S base-devel tar
$ exit
wait for bash to go away again then run
E:\monotone\msys64\autorebase.bat again then run
E:\monotone\msys64\mingw64_shell.bat again. Since we'll not update any
more MSYS DLLs this should be the last time we need to do this.
.. install monotone dependencies which I guess are:
$ pacman -S mingw-w64-x86_64-toolchain mingw64/mingw-w64-x86_64-boost
mingw64/mingw-w64-x86_64-gettext mingw64/mingw-w64-x86_64-libiconv
mingw64/mingw-w64-x86_64-libidn mingw64/mingw-w64-x86_64-lua
mingw64/mingw-w64-x86_64-pcre mingw64/mingw-w64-x86_64-pkgconf
mingw64/mingw-w64-x86_64-sqlite3 mingw64/mingw-w64-x86_64-zlib
.. then we need to build botan. I hoped we had botan already as a
package (I guess you compiled it already?) but it seems not, and my
quick attempt to build it failed:
In file included from build/include/botan/certstor.h:11:0,
from src/lib/cert/x509/certstor.cpp:8:
build/include/botan/x509cert.h:228:7: note:
Botan::X509_Certificate::X509_Certificate()
X509_Certificate() {}
^
build/include/botan/x509cert.h:228:7: note: candidate expects 0
arguments, 1 provided
build/include/botan/x509cert.h:221:7: note:
Botan::X509_Certificate::X509_Certificate(const std::vector<unsigned
char>&)
X509_Certificate(const std::vector<byte>& in);
^
.. if you have any hints on that the please let me know. Of course the
goal for botan (and then monotone) is to make a PKGBUILD recipe, for
example something like
https://github.com/Alexpux/MINGW-packages/blob/master/mingw-w64-libpng/PKGBUILD
Cheers,
Ray.
On Tue, Apr 29, 2014 at 11:11 PM, Stephen Leake
<[email protected]> wrote:
> Stephen Leake <[email protected]> writes:
>
>> Stephen Leake <[email protected]> writes:
>>
>>> Ray Donnelly <[email protected]> writes:
>>>
>>>> pacman -S mingw-w64-x86_64-toolchain mingw-w64-i686-toolchain
>>>
>>> That helps, thanks.
>>
>> I take it back :)
>>
>> configure is trying to find the Botan I installed, but g++ doesn't
>> seem understand the filesystem:
>
> I thought the solution might be to use mingw-w64-cross-toolchain, but
> that does not install gcc or g++;
>
> $ ls /Msys2/msys64/bin/*gcc*
> /Msys2/msys64/bin/msys-gcc_s-seh-1.dll
> /Msys2/msys64/bin/msys-gccpp-1.dll
> $ ls /Msys2/msys64/bin/*gcc*
> /Msys2/msys64/bin/msys-gcc_s-seh-1.dll
> /Msys2/msys64/bin/msys-gccpp-1.dll
>
> --
> -- Stephe
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos. Get
> unparalleled scalability from the best Selenium testing platform available.
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Msys2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/msys2-users
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users