[tex-live] Installing TeXLive2008 on Cygwin
Angelo Graziosi
angelo.graziosi at alice.it
Mon Aug 25 14:25:11 CEST 2008
Reinhard Kotucha ha scritto:
>
> Coud you run
>
> getnonfreefonts --help
>
> and tell me where it wants to *install* the fonts?
>
From bin/win32:
Directories:
temporary: 'c:/DOCUME~1/angelog/IMPOST~1/Temp/getfont-<PID>'
install: 'C:/Documents and Settings/angelog/texmf'
> > (Obviously the main way is to build texlive under Cygwin!)
>
> I tried it already. AFAIR the Cygwin environment had a copyright note
> from 2007, hence it's quite up-to-date. I succeeded to compile TeX
> Live with the configure options --without-xetex --without-dvipdfmx.
>
> Most likely the reason that building xetex and dvipdfmx failed is
> that some libraries had been missing or had been too old.
>
> If you are able (or anybody else) to compile TeX Live under Cygwin,
> let us know.
Using 20080816 source (tar.lzma) these are a few results.
A) ./Build
It fails in this way:
-----------------------------------------------------------
[...]
g++ -DPACKAGE_NAME=\"silgraphite\" -DPACKAGE_TARNAME=\"silgraphite\"
-DPACKAGE_VERSION=\"2.3\" "-DPACKAGE_STRING=\"silgraphite 2.3\""
-DPACKAGE_BUGREPORT=\"silgraphite-devel at lists.sourceforge.net\"
-DPACKAGE=\"silgraphite\" -DVERSION=\"2.3\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DSTDC_HEADERS=1 -DSIZEOF_WCHAR_T=2 -DHAVE_FABSF=1 -I.
-I../../../../libs/graphite-engine/src
-I../../../../libs/graphite-engine/include/graphite
-I../../../../libs/graphite-engine/src/generic
-I../../../../libs/graphite-engine/src/font
-I../../../../libs/graphite-engine/src/segment -g -O2 -DNDEBUG -DTRACING
-O3 -DNDEBUG -MT Font.lo -MD -MP -MF .deps/Font.Tpo -c
../../../../libs/graphite-engine/src/font/Font.cpp -o Font.o
In file included from
../../../../libs/graphite-engine/src/segment/Main.h:75,
from
../../../../libs/graphite-engine/src/font/Font.cpp:18:
../../../../libs/graphite-engine/include/graphite/GrFeature.h:110:
error: using-declaration for non-member at class scope
../../../../libs/graphite-engine/include/graphite/GrFeature.h:110:
error: expected `;' before "Label"
../../../../libs/graphite-engine/include/graphite/GrFeature.h:111:
error: using-declaration for non-member at class scope
../../../../libs/graphite-engine/include/graphite/GrFeature.h:111:
error: expected `;' before "SettingLabel"
../../../../libs/graphite-engine/include/graphite/GrFeature.h:113:
error: using-declaration for non-member at class scope
../../../../libs/graphite-engine/include/graphite/GrFeature.h:113:
error: expected `;' before "NthSettingLabel"
In file included from
../../../../libs/graphite-engine/src/segment/Main.h:147,
from
../../../../libs/graphite-engine/src/font/Font.cpp:18:
../../../../libs/graphite-engine/src/segment/GrTableManager.h:572:
error: `std::wstring' has not been declared
../../../../libs/graphite-engine/src/segment/GrTableManager.h:572:
error: ISO C++ forbids declaration of `parameter' with no type
../../../../libs/graphite-engine/src/segment/GrTableManager.h:577:
error: using-declaration for non-member at class scope
../../../../libs/graphite-engine/src/segment/GrTableManager.h:577:
error: expected `;' before "ChunkDebugString"
In file included from
../../../../libs/graphite-engine/src/segment/Main.h:148,
from
../../../../libs/graphite-engine/src/font/Font.cpp:18:
../../../../libs/graphite-engine/src/segment/FontCache.h:71: error:
`std::wstring' has not been declared
../../../../libs/graphite-engine/src/segment/FontCache.h:71: error: ISO
C++ forbids declaration of `strFaceName' with no type
../../../../libs/graphite-engine/src/segment/FontCache.h:72: error:
`std::wstring' has not been declared
../../../../libs/graphite-engine/src/segment/FontCache.h:72: error: ISO
C++ forbids declaration of `strFaceName' with no type
../../../../libs/graphite-engine/src/segment/FontCache.h:73: error:
`std::wstring' has not been declared
../../../../libs/graphite-engine/src/segment/FontCache.h:73: error: ISO
C++ forbids declaration of `strFaceName' with no type
../../../../libs/graphite-engine/src/segment/FontCache.h:89: error:
`std::wstring' has not been declared
../../../../libs/graphite-engine/src/segment/FontCache.h:89: error: ISO
C++ forbids declaration of `strFaceName' with no type
In file included from
../../../../libs/graphite-engine/src/segment/Main.h:152,
from
../../../../libs/graphite-engine/src/font/Font.cpp:18:
../../../../libs/graphite-engine/include/graphite/Font.h:392: error:
`std::wstring' has not been declared
../../../../libs/graphite-engine/include/graphite/Font.h:392: error: ISO
C++ forbids declaration of `stuFace' with no type
In file included from
../../../../libs/graphite-engine/src/segment/Main.h:154,
from
../../../../libs/graphite-engine/src/font/Font.cpp:18:
../../../../libs/graphite-engine/src/segment/GrEngine.h:214: error:
using-declaration for non-member at class scope
../../../../libs/graphite-engine/src/segment/GrEngine.h:214: error:
expected `;' before "FaceName"
../../../../libs/graphite-engine/src/segment/GrEngine.h:218: error:
expected `;' before "std"
../../../../libs/graphite-engine/src/segment/GrEngine.h:218: error:
using-declaration for non-member at class scope
../../../../libs/graphite-engine/src/segment/GrEngine.h:218: error:
expected `;' before "BaseFaceName"
../../../../libs/graphite-engine/src/segment/GrEngine.h:223: error:
expected `;' before "bool"
../../../../libs/graphite-engine/src/segment/GrEngine.h:247: error:
using-declaration for non-member at class scope
../../../../libs/graphite-engine/src/segment/GrEngine.h:247: error:
expected `;' before "StringFromNameTable"
../../../../libs/graphite-engine/src/segment/GrEngine.h:387: error:
using-declaration for non-member at class scope
../../../../libs/graphite-engine/src/segment/GrEngine.h:387: error:
expected `;' before "m_strCtrlFileReg"
../../../../libs/graphite-engine/src/segment/GrEngine.h:388: error:
using-declaration for non-member at class scope
../../../../libs/graphite-engine/src/segment/GrEngine.h:388: error:
expected `;' before "m_strCtrlFileBold"
../../../../libs/graphite-engine/src/segment/GrEngine.h:389: error:
using-declaration for non-member at class scope
../../../../libs/graphite-engine/src/segment/GrEngine.h:389: error:
expected `;' before "m_strCtrlFileItalic"
../../../../libs/graphite-engine/src/segment/GrEngine.h:390: error:
using-declaration for non-member at class scope
../../../../libs/graphite-engine/src/segment/GrEngine.h:390: error:
expected `;' before "m_strCtrlFileBI"
../../../../libs/graphite-engine/src/segment/GrEngine.h:394: error:
using-declaration for non-member at class scope
../../../../libs/graphite-engine/src/segment/GrEngine.h:394: error:
expected `;' before "m_stuCtrlFile"
../../../../libs/graphite-engine/src/segment/GrEngine.h:397: error:
using-declaration for non-member at class scope
../../../../libs/graphite-engine/src/segment/GrEngine.h:397: error:
expected `;' before "m_stuInitError"
../../../../libs/graphite-engine/src/segment/GrEngine.h:399: error:
using-declaration for non-member at class scope
../../../../libs/graphite-engine/src/segment/GrEngine.h:399: error:
expected `;' before "m_stuErrCtrlFile"
../../../../libs/graphite-engine/src/segment/GrEngine.h:401: error:
using-declaration for non-member at class scope
../../../../libs/graphite-engine/src/segment/GrEngine.h:401: error:
expected `;' before "m_stuFaceName"
../../../../libs/graphite-engine/src/segment/GrEngine.h:402: error:
using-declaration for non-member at class scope
../../../../libs/graphite-engine/src/segment/GrEngine.h:402: error:
expected `;' before "m_stuFeatures"
../../../../libs/graphite-engine/src/segment/GrEngine.h:405: error:
using-declaration for non-member at class scope
../../../../libs/graphite-engine/src/segment/GrEngine.h:405: error:
expected `;' before "m_stuBaseFaceName"
In file included from
../../../../libs/graphite-engine/src/segment/Main.h:155,
from
../../../../libs/graphite-engine/src/font/Font.cpp:18:
../../../../libs/graphite-engine/src/segment/FontFace.h:79: error:
`std::wstring' has not been declared
../../../../libs/graphite-engine/src/segment/FontFace.h:80: error: ISO
C++ forbids declaration of `strFaceName' with no type
../../../../libs/graphite-engine/src/segment/FontFace.h:83: error:
`std::wstring' has not been declared
../../../../libs/graphite-engine/src/segment/FontFace.h:84: error: ISO
C++ forbids declaration of `stuFaceName' with no type
../../../../libs/graphite-engine/src/segment/FontFace.h: In destructor
`gr::FontFace::~FontFace()':
../../../../libs/graphite-engine/src/segment/FontFace.h:58: error:
'class gr::GrEngine' has no member named 'FaceName'
In file included from
../../../../libs/graphite-engine/src/segment/Main.h:156,
from
../../../../libs/graphite-engine/src/font/Font.cpp:18:
../../../../libs/graphite-engine/include/graphite/Segment.h: At global
scope:
../../../../libs/graphite-engine/include/graphite/Segment.h:206: error:
`std::wstring' has not been declared
../../../../libs/graphite-engine/include/graphite/Segment.h:206: error:
`std::wstring' has not been declared
../../../../libs/graphite-engine/include/graphite/Segment.h:207: error:
ISO C++ forbids declaration of `stu' with no type
../../../../libs/graphite-engine/include/graphite/Segment.h:207: error:
ISO C++ forbids declaration of `stuBase' with no type
../../../../libs/graphite-engine/src/font/Font.cpp: In member function
`void gr::Font::initialiseFontFace(bool)':
../../../../libs/graphite-engine/src/font/Font.cpp:114: error: `wstring'
is not a member of `std'
../../../../libs/graphite-engine/src/font/Font.cpp:114: error: expected
`;' before "stuFaceName"
../../../../libs/graphite-engine/src/font/Font.cpp:117: error:
`stuFaceName' undeclared (first use this function)
../../../../libs/graphite-engine/src/font/Font.cpp:117: error: (Each
undeclared identifier is reported only once for each function it appears
in.)
../../../../libs/graphite-engine/src/font/Font.cpp: At global scope:
../../../../libs/graphite-engine/src/font/Font.cpp:139: error: variable
or field `UniqueCacheInfo' declared void
../../../../libs/graphite-engine/src/font/Font.cpp:139: error: `int
gr::Font::UniqueCacheInfo' is not a static member of `class gr::Font'
../../../../libs/graphite-engine/src/font/Font.cpp:139: error: `wstring'
is not a member of `std'
../../../../libs/graphite-engine/src/font/Font.cpp:139: error: `stuFace'
was not declared in this scope
../../../../libs/graphite-engine/src/font/Font.cpp:139: error: expected
primary-expression before "bool"
../../../../libs/graphite-engine/src/font/Font.cpp:139: error: expected
primary-expression before "bool"
../../../../libs/graphite-engine/src/font/Font.cpp:140: error:
initializer expression list treated as compound expression
../../../../libs/graphite-engine/src/font/Font.cpp:140: error: expected
`,' or `;' before '{' token
make[2]: *** [Font.lo] Error 1
make[2]: Leaving directory
`/work/texlive-20080816-source/Work/libs/graphite-engine/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/work/texlive-20080816-source/Work/libs/graphite-engine'
make: *** [all] Error 1
-----------------------------------------------------------
B) ./Build --without-graphite
Still fails:
-----------------------------------------------------------
[...]
gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I..
-I../../../texk/web2c/.. -I../../libs/obsdcompat
-I../../libs/obsdcompat/.. -I../../../texk/web2c/../../libs/obsdcompat
-I../../../texk/web2c/../../libs/obsdcompat/..
-I../../../texk/web2c/../../libs/zlib
-I../../../texk/web2c/../../libs/libpng
-I../../../texk/web2c/../../libs/xpdf -Dextra_version_info=`date
+-%Y%m%d%H` -g -O2 -I../../libs/icu-xetex/common
-I../../../texk/web2c/../../libs/icu-xetex/common
-I../../../texk/web2c/../../libs/icu-xetex/layout -DLE_USE_CMEMORY
-I../../../texk/web2c/../../libs/freetype2/include
-I../../../texk/web2c/../../libs/teckit/source/Public-headers
-I../../libs/libpng -I../../../texk/web2c/../../libs/libpng
-I../../libs/xpdf -I../../libs/xpdf/xpdf -I../../libs/xpdf/goo
-I../../libs/xpdf/fofi -I../../../texk/web2c/../../libs/xpdf
-I../../../texk/web2c/../../libs/xpdf/xpdf
-I../../../texk/web2c/../../libs/xpdf/goo
-I../../../texk/web2c/../../libs/xpdf/fofi -I../../libs/zlib
-I../../../texk/web2c/../../libs/zlib -DHAVE_CONFIG_H -I.
-I../../../texk/web2c -I.. -I../../../texk/web2c/..
-I../../libs/obsdcompat -I../../libs/obsdcompat/..
-I../../../texk/web2c/../../libs/obsdcompat
-I../../../texk/web2c/../../libs/obsdcompat/..
-I../../../texk/web2c/../../libs/zlib
-I../../../texk/web2c/../../libs/libpng
-I../../../texk/web2c/../../libs/xpdf -Dextra_version_info=`date
+-%Y%m%d%H` -g -O2 -DXETEX_OTHER -c
../../../texk/web2c/xetexdir/XeTeX_ext.c -o XeTeX_ext.o
In file included from /usr/include/limits.h:13,
from
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/limits.h:122,
from
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/syslimits.h:7,
from
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/limits.h:11,
from ../../../texk/web2c/../kpathsea/c-limits.h:23,
from ../../../texk/web2c/../kpathsea/c-minmax.h:23,
from ../../../texk/web2c/../kpathsea/c-std.h:77,
from ../../../texk/web2c/../kpathsea/config.h:76,
from ../../../texk/web2c/config.h:32,
from ../../../texk/web2c/cpascal.h:16,
from ../../../texk/web2c/texmfmp.h:5,
from ./xetexd.h:11,
from ../../../texk/web2c/xetexdir/XeTeX_ext.c:44:
../../../texk/web2c/../../libs/icu-xetex/layout/features.h:36: error:
parse error before "FeatureRecord"
../../../texk/web2c/../../libs/icu-xetex/layout/features.h:38: error:
parse error before '*' token
../../../texk/web2c/../../libs/icu-xetex/layout/features.h: In function
`getFeatureTable':
../../../texk/web2c/../../libs/icu-xetex/layout/features.h:40: error:
parse error before '*' token
[...]
In file included from ../../../texk/web2c/cpascal.h:25,
from ../../../texk/web2c/texmfmp.h:5,
from ./xetexd.h:11,
from ../../../texk/web2c/xetexdir/XeTeX_ext.c:44:
../../../texk/web2c/../kpathsea/tex-file.h:28: error: parse error before
"kpse_fallback_font"
../../../texk/web2c/../kpathsea/tex-file.h:28: warning: data definition
has no type or storage class
../../../texk/web2c/../kpathsea/tex-file.h:34: error: parse error before
"kpse_fallback_resolutions_string"
../../../texk/web2c/../kpathsea/tex-file.h:34: warning: data definition
has no type or storage class
../../../texk/web2c/../kpathsea/tex-file.h:43: error: parse error before
"envvar"
../../../texk/web2c/../kpathsea/tex-file.h:129: error: parse error
before "const_string"
../../../texk/web2c/../kpathsea/tex-file.h:129: warning: no semicolon at
end of struct or union
[...]
In file included from ../../../texk/web2c/xetexdir/XeTeX_ext.c:44:
./xetexd.h:114: error: parse error before "iniversion"
./xetexd.h:114: warning: data definition has no type or storage class
./xetexd.h:115: error: parse error before "dumpoption"
./xetexd.h:115: warning: data definition has no type or storage class
./xetexd.h:116: error: parse error before "dumpline"
./xetexd.h:116: warning: data definition has no type or storage class
./xetexd.h:120: error: parse error before "boundname"
./xetexd.h:120: warning: data definition has no type or storage class
./xetexd.h:153: error: parse error before "quotedfilename"
[...]
../../../texk/web2c/xetexdir/XeTeX_ext.c:2967: warning: passing arg 2 of
`strcat' makes pointer from integer without a cast
../../../texk/web2c/xetexdir/XeTeX_ext.c:2979: warning: initialization
makes pointer from integer without a cast
../../../texk/web2c/xetexdir/XeTeX_ext.c:2984: warning: initialization
makes pointer from integer without a cast
../../../texk/web2c/xetexdir/XeTeX_ext.c: In function `makeutf16name':
../../../texk/web2c/xetexdir/XeTeX_ext.c:3115: warning: assignment makes
pointer from integer without a cast
make[2]: *** [XeTeX_ext.o] Error 1
make[2]: Leaving directory `/work/texlive-20080816-source/Work/texk/web2c'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/work/texlive-20080816-source/Work/texk'
make: *** [all] Error 1
-----------------------------------------------------------
C) ./Build --without-xetex
Now it builds fine!
$ ls -lrt inst/
totale 1068
drwxr-xr-x+ 3 ... 0 Aug 25 13:08 bin
drwxr-xr-x+ 3 ... 0 Aug 25 13:08 lib
drwxr-xr-x+ 2 ... 0 Aug 25 13:08 texinfo
drwxr-xr-x+ 4 ... 0 Aug 25 13:08 share
drwxr-xr-x+ 3 ... 0 Aug 25 13:09 include
drwxr-xr-x+ 2 ... 0 Aug 25 13:10 lcdf-typetools
drwxr-xr-x+ 3 ... 0 Aug 25 13:10 texmf-dist
drwxr-xr-x+ 11 ... 0 Aug 25 13:11 texmf
$ ls -lrt inst/texmf-dist
totale 0
drwxr-xr-x+ 18 ... 0 Aug 25 13:10 scripts
$ ls -lrt inst/texmf
totale 0
drwxr-xr-x+ 3 ... 0 Aug 25 13:09 bibtex
drwxr-xr-x+ 2 ... 0 Aug 25 13:10 dvipdfmx
drwxr-xr-x+ 3 ... 0 Aug 25 13:10 fonts
drwxr-xr-x+ 4 ... 0 Aug 25 13:10 dvips
drwxr-xr-x+ 4 ... 0 Aug 25 13:10 doc
drwxr-xr-x+ 5 ... 0 Aug 25 13:10 texconfig
drwxr-xr-x+ 2 ... 0 Aug 25 13:10 web2c
drwxr-xr-x+ 9 ... 0 Aug 25 13:10 scripts
drwxr-xr-x+ 3 ... 0 Aug 25 13:11 xdvi
etc.. The bin dir has 290 binaries...
How can I install the above ? Is there a way to modify the iso so that I
can use the (linux-like) script install-tl?
And, why in the build log I find 'with-old-mac-fonts'?
For the sake of completeness, in Work/libs I find a lot of rebuild libs
(ncurses, png, fretype,...) which Cygwin has as its own packages and
which I installed...
This is all!
Cheers,
Angelo.
More information about the tex-live
mailing list