[tlbuild] HPux again

Jonathan Kew jonathan_kew at sil.org
Tue Jun 3 17:31:36 CEST 2008

On 28 May 2008, at 11:07 pm, Jonathan Kew wrote:

> On 27 May 2008, at 8:57 pm, Tim Arnold wrote:
>> make[1]: Entering directory `/r/ge.unx.sas.com/vol/vol10/u101/ 
>> tiarno/texlive2008/source/libs/graphite-engine'
>> Making all in src
>> make[2]: Entering directory `/r/ge.unx.sas.com/vol/vol10/u101/ 
>> tiarno/texlive2008/source/libs/graphite-engine/src'
>> if /bin/sh ../libtool --tag=CXX --mode=compile 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 - 
>> include/graphite -I../src/generic -I../src/font -I../src/segment    
>> -g -O2  -DNDEBUG -DTRACING -O3 -DNDEBUG -MT Font.lo -MD -MP -MF  
>> ".deps/Font.Tpo" -c -o Font.lo `test -f '../src/font/Font.cpp' ||  
>> echo './'`../src/font/Font.cpp; \
>>         then mv -f ".deps/Font.Tpo" ".deps/Font.Plo"; else rm -f  
>> ".deps/Font.Tpo"; exit 1; fi
>>  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 - 
>> include/graphite -I../src/generic -I../src/font -I../src/segment - 
>> g -O2 -DNDEBUG -DTRACING -O3 -DNDEBUG -MT Font.lo -MD -MP - 
>> MF .deps/Font.Tpo -c ../src/font/Font.cpp -o Font.o
>> In file included from ../src/segment/Main.h:75,
>>                  from ../src/font/Font.cpp:18:
>> ../include/graphite/GrFeature.h:110: error: syntax error before ` 
>> (' token
> Looking at line 110, I'd say your system is lacking std::wstring  
> support. What version of gcc are you using? A Google search seems  
> to indicate that this is a problem on HPUX with gcc 3.x, but if you  
> can update to gcc 4.x you may have a better chance.

Following up on this: if updating your compiler isn't an option,  
there is now a --without-graphite option that will configure xetex  
without the graphite library; this should allow you to get a working  
build, and only a very small minority of potential users would be  
affected by the omission. (E.g., people wanting to use N'Ko, Burmese,  
or some other relatively "obscure" scripts.)

It'd be better not to use this option, though, to maintain feature  
parity across as many platforms as possible. Consider it a "last  
resort" if you're really stuck with an old compiler/libraries, but  
not a first response to portability problems; in general, we want to  
fix those properly in the code.


More information about the tlbuild mailing list