Subject: Re: TeX Live on NetBSD
To: None <netbsd-users@netbsd.org>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: netbsd-users
Date: 06/23/2007 16:35:31
On 21/06/07, Jukka Salmi <j+nbsd@2007.salmi.ch> wrote:
> Chavdar Ivanov --> netbsd-users (2007-06-21 00:25:47 +0100):
> > On 20/06/07, Jukka Salmi <j+nbsd@2007.salmi.ch> wrote:
> >> Hi,
> >>
> >> I recently installed [1]TeX Live on a NetBSD system and wrote down a
> >> short installation [2]howto; just in case somebody finds this useful.
> >
> > Blindly following your instructions, I get:
> >
> > .........
> > c++ -o xetex -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/usr/X11R6/lib
> > 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/pkg/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 -L/usr/pkg/lib -lfreetype
> > -L/usr/lib -lz ../../libs/xpdf/xpdf/libxpdf.a
> > ../../libs/xpdf/goo/libGoo.a ../../libs/xpdf/fofi/libfofi.a
> > -L/usr/pkg/lib -lpng -lfontconfig \
> >        lib/lib.a ../kpathsea/.libs/libkpathsea.a -lm   -nodefaultlibs
> > -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lm -lgcc_eh -lgcc -lc -lgcc_eh
> > -lgcc -pthread -lpthread
> > XeTeX_ext.o: In function `measure_native_node':
> > ../../../texk/web2c/xetexdir/XeTeX_ext.c:1524: undefined reference to
> > `ubidi_open_3_6'
> [...]
> >
> > Am I missing something in the system? It is -current from a few days
> > ago, as well as
> > updated pkgsrc.
>
> Try again after uninstalling the textproc/icu package... I also had
> problems with icu (3.6) from pkgsrc and specifying `--with-system-icu'
> to the TL configure script. After some time I gave up and decided to
> use icu (3.4) shipping with TL.

That was it. I tried also specifying the include and lib dirs for icu,
but it didn't help ( I noticed during the build that it was still
doing some icu34 magic, so I guess it should have been done in the
texlive system build somewhere). I had to temporarily uninstall icu36
(and mono, which brought it in the first place) to get texlive working
(also I had a couple of stumbles along the way - one link command did
not include -liconv and there were unresolved references; also I had
to soft-link libXaw to libXaw3d - couln't be bothered to run the Build
script again with  --with-xdvi-x-toolkit=xaw3d).

But now everything seems setup just fine.

>
>
> Regards, Jukka
>
> --
> bashian roulette:
> $ ((RANDOM%6)) || rm -rf ~
>
Thanks,

Chavdar