Re: Unable to build MiKTeX
David Allsopp <[email protected]>
| Newsgroups | gmane.comp.tex.miktex |
|---|---|
| Organization | MetaStack Solutions Ltd. |
| Message-ID | <[email protected]> |
A wrote: > Sure thing. I retried the build after installing most items from scratch > (the exception being Visual C++ and Java): <snip> > - 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". <snip> YMMV, but Cygwin 32-bit is more stable (mainly because it's older) - when used as a build system, there's no practical difference between the 32 and 64 bit versions (because you're not linking anything). That said, I don't think it's related to what's going wrong. <snip> > - Ran the CMake command based on the readme: > > cmake -G "NMake Makefiles" > - CMake completed successfully. > - Ran the NMake command based on the readme: > > 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. Something is going wrong with the substitution of variables. After it's aborted, what do the following files contain: Libraries/MiKTeX/Util/util.rc Libraries/MiKTeX/Util/util-version.h (I'm not familiar with how MiKTeX's out-of-tree building works - those files may be in Libraries/MiKTeX/Util/shared/CMakeFiles/MiKTeX209-util.dir - alternatively, you may need to search the build tree... they must be somewhere, or the error message would be different!) I'm spotting one difference between the released sources tarball and the Git commit 9b912e4 (but again, it's in another library, so I don't expect it's anything to do with it) but it might be enlightening to try using a Git clone instead of a sources tarball (git clone https://github.com/MiKTeX/miktex.git C:\miktex\miktex-2.9-master / cd \miktex\miktex-2.9-master / git checkout 9b912e4) 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