[tlbuild] Patches for building TeXlive with CYGWIN-gcc-3.4.4

Angelo Graziosi angelo.graziosi at alice.it
Tue Sep 30 15:11:42 CEST 2008


Rodrigo Medina wrote:

> 1- Use Build --without-graphite
>    (This is because the libstdc++ of gcc-3.4 lacks of some symbols  that
>     are used by graphite. The same thing happens to xindy)

I tried with the new Cygwin gcc4 and with graphite, i.e. './Build' only
but it still fails (as with gcc-3.4.4):

g++-4 -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 -Wno-write-strings 
-Wno-attributes -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: 'wstring' in namespace 'std' does not name a type
../../../../libs/graphite-engine/include/graphite/GrFeature.h:111: 
error: 'wstring' in namespace 'std' does not name a type
../../../../libs/graphite-engine/include/graphite/GrFeature.h:113: 
error: 'wstring' in namespace 'std' does not name a type
...
../../../../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: '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:948: error: expected 
`}' at end of input
make[2]: *** [Font.lo] Error 1
make[2]: Leaving directory 
`/work/texlive-20080930-source/Work/libs/graphite-engine/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/work/texlive-20080930-source/Work/libs/graphite-engine'
make: *** [all] Error 1


Cheers,
    Angelo.


More information about the tlbuild mailing list