[tex-live] 64 bits version of TeX Live on Windows

Vincent Torri vincent.torri at gmail.com
Thu Jul 7 12:16:16 CEST 2016


Hello

So here are the steps i did to try to compile TeX Live for Windows 64
bits, using only MSYS2:

1) go to https://msys2.github.io/ and download
msys2-x86_64-20160205.exe (the version number might change if another
version is released) and follow all the steps

2) install some additional packages:

In case you have to rebuild configure and al., the following installs
the autotools. It also installs gcc, make and some dependencies :

pacman -S autoconf automake libtool m4 bison flex texinfo make svn
pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-lua mingw-w64-x86_64-python2
pacman -S mingw-w64-x86_64-pkg-config mingw-w64-x86_64-fontconfig
pacman -S mingw-w64-x86_64-poppler

you can of course install all the packages with 1 pacman command, i've
splitted them so that they are well displayed in the mail

3) edit ~/.subversion/config and uncomment the line:

use-commit-times = yes

4) in $HOME, here is the command to retrieve, configure and compiles the trunk:
mkdir svnroot
cd svnroot
svn co svn://tug.org/texlive/trunk/Build/source
cd source
mkdir texlive-x86_64
cd texlive-x86_64
../configure --prefix=$HOME/opt --enable-shared --host=x86_64-w64-mingw32
make V=0 -j7

--host=x86_64-w64-mingw32 is not necessary as the only compiler
available in MSYS2 at that time. But it can be if you have multiple
cross compilers

Note that it seems that the options of the toplevel configure are not
passed to the configure's sub directories. It can be annoying if you
have multiple cross compilers

Ghostscript is not found (it's normal)

I have that error:


  CXX      dvisvgm-src/src/Bezier.o
  CXX      dvisvgm-src/src/BgColorSpecialHandler.o
In file included from
C:/msys64/mingw64/x86_64-w64-mingw32/include/pthread.h:66:0,
                 from
C:/msys64/mingw64/include/c++/5.4.0/x86_64-w64-mingw32/bits/gthr-default.h:35,
                 from
C:/msys64/mingw64/include/c++/5.4.0/x86_64-w64-mingw32/bits/gthr.h:148,
                 from C:/msys64/mingw64/include/c++/5.4.0/ext/atomicity.h:35,
                 from
C:/msys64/mingw64/include/c++/5.4.0/bits/basic_string.h:39,
                 from C:/msys64/mingw64/include/c++/5.4.0/string:52,
                 from ../../../texk/dvisvgm/dvisvgm-src/src/Color.h:24,
                 from
../../../texk/dvisvgm/dvisvgm-src/src/BgColorSpecialHandler.h:25,
                 from
../../../texk/dvisvgm/dvisvgm-src/src/BgColorSpecialHandler.cpp:23:
../../../texk/dvisvgm/dvisvgm-src/src/process.h:36:15: error: field
'_cmd' has incomplete type 'std::__cxx11::string {aka
std::__cxx11::basic_string<char>}'
   std::string _cmd;
               ^
In file included from C:/msys64/mingw64/include/c++/5.4.0/string:39:0,
                 from ../../../texk/dvisvgm/dvisvgm-src/src/Color.h:24,
                 from
../../../texk/dvisvgm/dvisvgm-src/src/BgColorSpecialHandler.h:25,
                 from
../../../texk/dvisvgm/dvisvgm-src/src/BgColorSpecialHandler.cpp:23:
C:/msys64/mingw64/include/c++/5.4.0/bits/stringfwd.h:71:11: note:
declaration of 'std::__cxx11::string {aka class
std::__cxx11::basic_string<char>}'
     class basic_string;
           ^
In file included from
C:/msys64/mingw64/x86_64-w64-mingw32/include/pthread.h:66:0,
                 from
C:/msys64/mingw64/include/c++/5.4.0/x86_64-w64-mingw32/bits/gthr-default.h:35,
                 from
C:/msys64/mingw64/include/c++/5.4.0/x86_64-w64-mingw32/bits/gthr.h:148,
                 from C:/msys64/mingw64/include/c++/5.4.0/ext/atomicity.h:35,
                 from
C:/msys64/mingw64/include/c++/5.4.0/bits/basic_string.h:39,
                 from C:/msys64/mingw64/include/c++/5.4.0/string:52,
                 from ../../../texk/dvisvgm/dvisvgm-src/src/Color.h:24,
                 from
../../../texk/dvisvgm/dvisvgm-src/src/BgColorSpecialHandler.h:25,
                 from
../../../texk/dvisvgm/dvisvgm-src/src/BgColorSpecialHandler.cpp:23:
../../../texk/dvisvgm/dvisvgm-src/src/process.h:37:21: error: field
'_paramstr' has incomplete type 'const string {aka const
std::__cxx11::basic_string<char>}'
   const std::string _paramstr;
                     ^
In file included from C:/msys64/mingw64/include/c++/5.4.0/string:39:0,
                 from ../../../texk/dvisvgm/dvisvgm-src/src/Color.h:24,
                 from
../../../texk/dvisvgm/dvisvgm-src/src/BgColorSpecialHandler.h:25,
                 from
../../../texk/dvisvgm/dvisvgm-src/src/BgColorSpecialHandler.cpp:23:
C:/msys64/mingw64/include/c++/5.4.0/bits/stringfwd.h:71:11: note:
declaration of 'std::__cxx11::string {aka class
std::__cxx11::basic_string<char>}'
     class basic_string;
           ^


regards

Vincent Torri

On Sat, Jul 2, 2016 at 1:59 PM, Angelo Graziosi
<angelo.graziosi at alice.it> wrote:
>
>
> Il 02/07/2016 11:15, Vincent Torri ha scritto:
>
>> Ok, i'll try to do the compilation with only MSYS2. I'll try to write
>> a doc with all the steps. Don't expect that soon : i have few times
>> these days. But i'll definitely give it a try !
>
>
> Thank you! All the Win64 people will be grateful! :-)
>
>
> Ciao,
>  Angelo.


More information about the tex-live mailing list