[tex-live] Building texlive 2007 on FreeBSD 7.0 AMD64

Michael Krauss mickraus at googlemail.com
Sat Mar 15 16:16:40 CET 2008


On 14/03/08, Randy Au wrote:
> On Fri, Mar 14, 2008 at 5:14 PM, Jonathan Kew <jonathan_kew at sil.org>
> wrote:
> >  On 14 Mar 2008, at 12:38 pm, Michael Krauss wrote:
> >  > I am at a loss. What could I try next?
> >
> >  Try setting the TL_MAKE variable:

This solved the make problem. But new issues did appear. There seems
to be a linking problem in XeTeX:

[ ... ]
c++ -o xetex  xetexini.o xetex0.o xetex1.o xetex2.o xetexextra.o
trans.o XeTeX_ext.o XeTeXFontMgr_FC.o mfileio.o numbers.o pdfimage.o
bmpimage.o jpegimage.o pngimage.o XeTeX_pic.o XeTeXFontMgr.o
XeTeXLayoutInterface.o XeTeXOTLayoutEngine.o XeTeXFontInst.o cmaps.o
FontTableCache.o XeTeXOTMath.o XeTeXFontInst_FT2.o  \
-L/usr/local/lib  ../../libs/icu-xetex/lib/libsicuuc.a ../../libs/icu-xetex/lib/libsicule.a ../../libs/icu-xetex/lib/libsicudata.a ../../libs/teckit/lib/.libs/libTECkit.a ../../libs/freetype2/.libs/libfreetype.a ../../libs/zlib/libz.a ../../libs/xpdf/xpdf/libxpdf.a ../../libs/xpdf/goo/libGoo.a ../../libs/xpdf/fofi/libfofi.a ../../libs/libpng/libpng.a
-lfontconfig \ lib/lib.a ../kpathsea/.libs/libkpathsea.a -lm
-nodefaultlibs -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lm -lgcc_eh -lgcc
-lc -lgcc_eh -lgcc -D_THREAD_SAFE -pthread -lpthread
XeTeX_ext.o(.text+0x103e): In function
`measure_native_node': ../../../texk/web2c/xetexdir/XeTeX_ext.c:1522:
undefined reference to `ubidi_open_3_8'
XeTeX_ext.o(.text+0x107a):../../../texk/web2c/xetexdir/XeTeX_ext.c:1525:
undefined reference to `ubidi_setPara_3_8'
XeTeX_ext.o(.text+0x1087):../../../texk/web2c/xetexdir/XeTeX_ext.c:1527:
undefined reference to `ubidi_getDirection_3_8'
XeTeX_ext.o(.text+0x12fb):../../../texk/web2c/xetexdir/XeTeX_ext.c:1636:
undefined reference to `ubidi_close_3_8'
XeTeX_ext.o(.text+0x152a):../../../texk/web2c/xetexdir/XeTeX_ext.c:1533:
undefined reference to `ubidi_countRuns_3_8'
XeTeX_ext.o(.text+0x1570):../../../texk/web2c/xetexdir/XeTeX_ext.c:1540:
undefined reference to `ubidi_getVisualRun_3_8'
XeTeX_ext.o(.text+0x16ea):../../../texk/web2c/xetexdir/XeTeX_ext.c:1569:
undefined reference to `ubidi_getVisualRun_3_8'
XeTeX_ext.o(.text+0x2c4b): In function
`uclose': ../../../texk/web2c/xetexdir/XeTeX_ext.c:280: undefined
reference to `ucnv_close_3_8' XeTeX_ext.o(.text+0x2d0d): In function
`getencodingmodeandinfo': ../../../texk/web2c/xetexdir/XeTeX_ext.c:429:
undefined reference to `ucnv_open_3_8'
XeTeX_ext.o(.text+0x2d1a):../../../texk/web2c/xetexdir/XeTeX_ext.c:435:
undefined reference to `ucnv_close_3_8' XeTeX_ext.o(.text+0x2df1): In
function
`setinputfileencoding': ../../../texk/web2c/xetexdir/XeTeX_ext.c:259:
undefined reference to `ucnv_open_3_8'
XeTeX_ext.o(.text+0x2e21):../../../texk/web2c/xetexdir/XeTeX_ext.c:244:
undefined reference to `ucnv_close_3_8' XeTeX_ext.o(.text+0x3126): In
function
`linebreakstart': ../../../texk/web2c/xetexdir/XeTeX_ext.c:363:
undefined reference to `ubrk_close_3_8'
XeTeX_ext.o(.text+0x3154):../../../texk/web2c/xetexdir/XeTeX_ext.c:369:
undefined reference to `ubrk_open_3_8'
XeTeX_ext.o(.text+0x318a):../../../texk/web2c/xetexdir/XeTeX_ext.c:373:
undefined reference to `ubrk_close_3_8'
XeTeX_ext.o(.text+0x31a8):../../../texk/web2c/xetexdir/XeTeX_ext.c:375:
undefined reference to `ubrk_open_3_8'
XeTeX_ext.o(.text+0x31d7):../../../texk/web2c/xetexdir/XeTeX_ext.c:385:
undefined reference to `ubrk_setText_3_8' XeTeX_ext.o(.text+0x33d0): In
function
`input_line_icu': ../../../texk/web2c/xetexdir/XeTeX_ext.c:329:
undefined reference to `ucnv_toUChars_3_8' XeTeX_ext.o(.text+0x2d78):
In function
`linebreaknext': ../../../texk/web2c/xetexdir/XeTeX_ext.c:391:
undefined reference to `ubrk_next_3_8' gmake[2]: *** [xetex] Fehler 1
gmake[2]: Leaving directory
`/usr/home/mickraus/latex/texlive/branch2007/Build/source/Work/texk/web2c'
gmake[1]: *** [all] Fehler 1 gmake[1]: Leaving directory
`/usr/home/mickraus/latex/texlive/branch2007/Build/source/Work/texk'
gmake: *** [all] Fehler 1 572.41 real       476.56 user        66.90 sys


> To report on a bit more on TL+FreeBSD, I tried building texlive on my
> amd64 Freebsd 8.0-CURRENT VM.
> 
> After setting TL_MAKE to gmake as needed. I ran ./Build
> --with-fontconfig=/usr/local
[...]
> However, the subversion branch "branch2007" seems to have built
> properly.

Unfortunately I met the linking problem above. This is strange because
FreeBSD 7 and 8 should use the same compiler:

mickraus gandalf:~ [164]% gcc -v
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]


Next I will try to build trunk.


Kind regards,
Michael Krauss


More information about the tex-live mailing list