Sure thing. I retried the build after installing most items from scratch
(the exception being Visual C++ and Java):
- Microsoft Visual C++ is installed at: "C:\Program Files (x86)\Microsoft
Visual Studio 14.0". (I didn't bother to re-install this one from scratch,
but if this is necessary for any reason please let me know.)
- The Java JDK version 1.8.0_25 is installed at: "C:\Program
Files\java\jdk1.8.0_25". (I didn't bother to re-install this one from
scratch, but if this is necessary for any reason please let me know.)
- I downloaded and installed Python version 2.7.12 which is currently the
latest minor version of Python 2.7.
- Download page: "https://www.python.org/downloads/release/python-2712/"
- Downloaded "Windows x86-64 MSI installer" -- direct link: "
https://www.python.org/ftp/python/2.7.12/python-2.7.12.amd64.msi".
- Installed Python to "C:\Python27\".
- I downloaded and installed 64-bit Cygwin from "
https://cygwin.com/install.html" -- direct link: "
https://cygwin.com/setup-x86_64.exe".
- Installed Cygwin to "C:\cygwin64".
- Dependency packages selected and installed automatically by the
installer: bzip2 version 1.0.6-2, ca-certificates version 2.10-1, groff
version 1.22.3-1, less version 481-1, libargp version 20110921-3, libattr1
version 2.4.46-1, libblkid1 version 2.25.2-2, libbz2_1 version 1.0.6-2,
libffi6 version 3.2.1-2, libgcc1 version 5.4.0-1, libgdbm4 version 1.12-1,
libgmp10 version 6.1.1-1, libiconv version 1.14-3, libiconv2 version
1.14-3, libintl8 version 0.19.8.1-2, liblzma5 version 5.2.2-1, libmpfr4
version 3.1.5-1, libncursesw10 version 6.0-8.20160917, libp11-kit0 version
0.22.1-1, libpcre1 version 8.39-1, libpipeline1 version 1.4.0-1,
libpopt-common version 1.16-2, libpopt0 version 1.16-2, libsigsegv2 version
2.10-2, libsmartcols1 version 2.25.2-2, libssp0 version 5.4.0-1, libstdc++6
version 5.4.0-1, libtasn1_6 version 4.9-1, libuuid1 version 2.25.2-2,
p11-kit version 0.22.1-1, p11-kit-trust version 0.22.1-1, xz version
5.2.2-1, zlib0 version 1.2.8-3
- I found that MiKTeX's CMake process needs these additional Cygwin
packages, and installed them afterward using the Cygwin installer: dos2unix
version 7.3.4-1, bison 3.0.4-1, m4 version 1.4.17-2 (required by bison),
flex version 2.6.1-1
- I downloaded and installed CMake version 3.7.1 which is currently the
latest version:
- Download page: "https://cmake.org/download/"
- Downloaded and installed the Windows win64-x64 Installer -- direct
link: "https://cmake.org/files/v3.7/cmake-3.7.1-win64-x64.msi".
- Installed to "C:\Program Files\CMake".
- Microsoft HTML Help Workshop:
- Download page: "
https://msdn.microsoft.com/en-us/library/windows/desktop/ms669985%28v=vs.85%29.aspx
"
- Direct link: "http://go.microsoft.com/fwlink/p/?linkid=14188"
- Installation directory: "C:\Program Files (x86)\HTML Help Workshop"
- During the installation, a dialog came up saying that there is already
a newer version of Microsoft HTML Help Workshop installed.
- Apache FOP (Formatting Objects Processor):
- Download pages: "https://xmlgraphics.apache.org/fop/download.html" --> "
http://www.apache.org/dyn/closer.cgi/xmlgraphics/fop" --> Used the US
download index link -- "http://www-us.apache.org/dist/xmlgraphics/fop" -->
"binaries"
- Downloaded the FOP 2.1 ZIP file -- direct link: "
http://www-us.apache.org/dist/xmlgraphics/fop/binaries/fop-2.1-bin.zip".
- Extracted to "C:\miktex\fop-2.1" using 7-Zip.
- Libxslt 64-bit version 1.1.28:
- Download pages: "http://xmlsoft.org/libxslt/downloads.html" --> Used
the "he provides binaries" at "https://www.zlatkovic.com/libxml.en.html"
--> Used the "download area" link at "https://www.zlatkovic.com/pub/libxml/"
--> "64-bit"
- Downloaded "libxslt-1.1.28-win32-x86_64.7z" -- direct link: "
ftp://ftp.zlatkovic.com/libxml/64bit/libxslt-1.1.28-win32-x86_64.7z".
- Extracted to "C:\miktex\libxslt-1.1.28-win32-x86_64" using 7-Zip.
- ImageMagick version 7.0.3-9:
- Note: Not all of the binary release packages contain "mogrify.exe"
which causes MiKTeX's CMake build to fail because it depends on that.
Apparently the Windows 64-bit Portable binary package does contain
"mogrify.exe", so I used this.
- Download page: "https://www.imagemagick.org/script/binary-releases.php"
- Downloaded "ImageMagick-7.0.3-9-portable-Q16-x64.zip" -- direct link: "
https://www.imagemagick.org/download/binaries/ImageMagick-7.0.3-9-portable-Q16-x64.zip
".
- Extracted to: "C:\miktex\ImageMagick-7.0.3-9-portable-Q16-x64".
- Pandoc version 1.19 which is currently the latest release:
- Download pages: "http://pandoc.org/installing.html" --> Used the
"download page" link which goes to "
https://github.com/jgm/pandoc/releases/latest", which currently redirects
to "https://github.com/jgm/pandoc/releases/tag/1.19".
- Downloaded "pandoc-1.19-windows.msi" -- direct link: "
https://github.com/jgm/pandoc/releases/download/1.19/pandoc-1.19-windows.msi
".
- Installed for all users to "C:\Program Files (x86)\Pandoc\".
- Qt:
- The readme says to obtain Qt version 5.5 but doesn't specify the minor
version. The latest minor version available under 5.5 is 5.5.1.
- Download pages: "https://www.qt.io/download/" --> "Open Source" ("
https://www.qt.io/download-open-source/") --> "View All Downloads" --> "in
the archive" ("http://download.qt.io/archive/qt/") --> "5.5" --> "5.5.1" (
http://download.qt.io/archive/qt/5.5/5.5.1/)
- Downloaded "qt-opensource-windows-x86-msvc2013_64-5.5.1.exe" -- direct
link: "
http://download.qt.io/archive/qt/5.5/5.5.1/qt-opensource-windows-x86-msvc2013_64-5.5.1.exe
".
- Installion directory: "C:\Qt\Qt5.5.1"
- Selected the following components for installation: "msvc2013 64-bit",
"Qt Script", "Tools" (required).
- ICU (International Components for Unicode) version 58.1, which is
currently the latest version with a 64-bit Windows download available:
- Download page: "
http://site.icu-project.org/download/58#TOC-ICU4C-Download"
- Downloaded "icu4c-58_1-Win64-MSVC2015.zip" -- direct link: "
http://download.icu-project.org/files/icu4c/58.1/icu4c-58_1-Win64-MSVC2015.zip
".
- Extracted to: "C:\miktex\icu4c-58_1-Win64-MSVC2015" (contains the
single subfolder "icu").
- I downloaded the MiKTeX Source Code here:
- https://miktex.org/download -- under "MiKTeX Source Code". The source
code date at the time of this posting is October 31, 2016.
- Downloaded "miktex-2.9-2016-10-30.tar.xz" -- direct link (at the
randomly chosen mirror site):
http://mirror.unl.edu/ctan/systems/win32/miktex/source/miktex-2.9-2016-10-30.tar.xz
- Extracted to "C:\miktex\miktex-2.9-2016-10-30" using 7-Zip.
- I opened a command window (cmd) in Administrator mode and did the
cd C:\miktex\miktex-2.9-2016-10-30
set PATH=C:\Windows\system32
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
- Read the updated path:
- echo %PATH%
- Output: C:\Program Files (x86)\Microsoft Visual Studio
14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files
(x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\;C:\Program Files
(x86)\MSBuild\14.0\bin;C:\Program Files (x86)\Microsoft Visual Studio
14.0\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\BIN;C:\Program Files (x86)\Microsoft Visual Studio
14.0\Common7\Tools;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Program
Files (x86)\Microsoft Visual Studio 14.0\VC\VCPackages;C:\Program Files
(x86)\HTML Help Workshop;C:\Program Files (x86)\Microsoft Visual Studio
14.0\Team Tools\Performance Tools;C:\Program Files (x86)\Windows
Kits\10\bin\x86;C:\Program Files (x86)\Microsoft
SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\;C:\Windows\system32
set PATH=%PATH%;C:\Program Files\CMake\bin;C:\Program
Files\java\jdk1.8.0_25\bin;C:\Python27;C:\cygwin64\bin;C:\Program Files
(x86)\Pandoc;C:\Qt\Qt5.5.1\5.5\msvc2013_64\bin;C:\miktex\ImageMagick-7.0.3-9-portable-Q16-x64;C:\miktex\fop-2.1;C:\miktex\libxslt-1.1.28-win32-x86_64\bin
echo %PATH%
- Output: C:\Program Files (x86)\Microsoft Visual Studio
14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files
(x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\;C:\Program Files
(x86)\MSBuild\14.0\bin;C:\Program Files (x86)\Microsoft Visual Studio
14.0\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\BIN;C:\Program Files (x86)\Microsoft Visual Studio
14.0\Common7\Tools;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Program
Files (x86)\Microsoft Visual Studio 14.0\VC\VCPackages;C:\Program Files
(x86)\HTML Help Workshop;C:\Program Files (x86)\Microsoft Visual Studio
14.0\Team Tools\Performance Tools;C:\Program Files (x86)\Windows
Kits\10\bin\x86;C:\Program Files (x86)\Microsoft
SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\;C:\Windows\system32;C:\Program
Files\CMake\bin;C:\Program
Files\java\jdk1.8.0_25\bin;C:\Python27;C:\cygwin64\bin;C:\Program Files
(x86)\Pandoc;C:\Qt\Qt5.5.1\5.5\msvc2013_64\bin;C:\miktex\ImageMagick-7.0.3-9-portable-Q16-x64;C:\miktex\fop-2.1;C:\miktex\libxslt-1.1.28-win32-x86_64\bin
set
CMAKE_PREFIX_PATH=C:\Qt\Qt5.5.1\5.5\msvc2013_64\lib\cmake\Qt5;C:\miktex\icu4c-58_1-Win64-MSVC2015\icu\include;C:\miktex\icu4c-58_1-Win64-MSVC2015\icu\lib64
cmake -G "NMake Makefiles"
- CMake completed successfully.
nmake
- About 21 minutes into the build process, the following error occurred:
---- Beginning of tail of nmake output: ----
[ 14%] Linking C shared library ..\..\..\..\binlib\MiKTeX209-uriparser.dll
Creating library ..\..\..\..\binlib\MiKTeX209-uriparser.lib and object
..\..\..\..\binlib\MiKTeX209-uriparser.exp
[ 14%] Built target MiKTeX209-uriparser
Scanning dependencies of target MiKTeX209-util
[ 14%] Building CXX object
Libraries/MiKTeX/Util/shared/CMakeFiles/MiKTeX209-util.dir/__/StringUtil.cpp.obj
StringUtil.cpp
[ 14%] Building CXX object
Libraries/MiKTeX/Util/shared/CMakeFiles/MiKTeX209-util.dir/__/Tokenizer.cpp.obj
Tokenizer.cpp
[ 14%] Building CXX object
Libraries/MiKTeX/Util/shared/CMakeFiles/MiKTeX209-util.dir/__/win/winStringUtil.cpp.obj
winStringUtil.cpp
[ 14%] Building RC object
Libraries/MiKTeX/Util/shared/CMakeFiles/MiKTeX209-util.dir/util.rc.res
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Copyright (C) Microsoft Corporation. All rights reserved.
C:\miktex\miktex-2.9-2016-10-30\include\miktex/win/version.rc(111) :
warning RC4003: not enough actual parameters for macro 'stringify__'
C:\miktex\miktex-2.9-2016-10-30\include\miktex/win/version.rc(93) : error
RC2127 : version WORDs separated by commas expected
C:\miktex\miktex-2.9-2016-10-30\include\miktex/win/version.rc(93) : error
RC2167 : unrecognized VERSIONINFO field; BEGIN or comma expected
NMAKE : fatal error U1077: 'C:\PROGRA~2\WI3CF2~1\10\bin\x86\rc.exe' :
return code '0x3'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
---- End of tail of nmake output. ----
Please let me know if I did anything wrong or how this can be
troubleshooted. Thanks in advance.
--
Post by ABump. Wondering if anyone on this list can please help with this and has
ever gotten the Windows build to work?
Self-evidently, one person on this mailing list constantly has Windows building working...
Post by AOtherwise, are there any other
MiKTeX "developer" mailing lists for which this question would be
suitable? Should I retry everything from scratch (i.e. extract and set
up
Post by Athe MiKTeX source and dependencies again according to my best guess and
retry the build) and post what I did and the precise error that I get?
Indeed - the total lack of any logs or detail of error messages is
certainly why I ignored your last email!
How are you doing relative to the instructions in
https://github.com/MiKTeX/miktex/blob/master/README.win ?
David
------------------------------------------------------------
------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml