From: Stephen L. <ste...@st...> - 2014-04-30 01:39:04
|
Ray Donnelly <min...@gm...> writes: > Your goal is to build monotone for native Windows 64bit? Yes. > 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. I installed to c:\msys2 One possible complication: I have Cygwin installed at c:\, so /bin is the Cygwin bin. But that doesn't seem to be a problem so far. > 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 same as my list so far. > .. 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 I installed mingw-w64-x86_64-toolchain, which includes several of the above. I could not find out which package actually installs g++; 'pacman -Qo g++' gives 'error: No package owns /usr/mingw64/bin/g++'. So I don't know how to minimize the number of packages installed (not critical). > .. 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: I had no problems with botan once I fixed the directory separators in configure. I'm currently stuck running configure for monotone; it's giving several odd errors. -- -- Stephe |