[tex-live] TeX Live on NetBSD: first steps

Zdenek Wagner zdenek.wagner at gmail.com
Wed Jun 13 16:20:58 CEST 2007


2007/6/13, Jukka Salmi <j+tex-live at 2007.salmi.ch>:
> Zdenek Wagner --> tex-live (2007-06-13 13:55:07 +0200):
> > 2007/6/13, Jukka Salmi <j+tex-live at 2007.salmi.ch>:
> >> Hi,
> >>
> >> I'm trying install TeX Live on a NetBSD system because I want to use
> >> LaTeX. Building the [1]sources using the `Build' script worked (almost)
> >> out of the box, so now I have a TeX Live installation in `inst/'.
> >>
> >> What steps do I have to take next? Except for moving the `inst/'
> >> contents to the desired destination... E.g. I tried to run latex and
> >> failed:
> >>
> >> $ PATH=/usr/local/src/texlive/inst/bin/i386-unknown-netbsdelf4.99.20:$PATH
> >> $ MANPATH=/usr/local/src/texlive/inst/man:$MANPATH
> >> $ tex --version
> >> TeX 3.141592 (Web2C 7.5.6)
> >> kpathsea version 3.5.6
> >> [...]
> >> $ latex sample2e.tex
> >> This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6)
> >> kpathsea: Running mktexfmt latex.fmt
> >> I can't find the format file `latex.fmt'!
> >
> > Do you have write permission in /usr/local/src/texlive/inst and its
> > subdirectories?
>
> Yes.
>
OK. Try:

kpsewhich --show-path fmt

mktexfmt apparently did not manage to generate latex.fmt. You probably
have something wrong in your texmf.cnf so that mktexfmt did not find
any writable directory. Or the writable directory is preceded by !!
which means that latex.fmt will be found only by running mktexlsr
which was not invoked automaticall by mistake.. You can also try

kpsewhich latex.fmt

before and after running mktexlsr. If latex.fmt is found only after
mktexlsr, it is the !! problem. In your setup, latex.fmt should be
created in /usr/local/src/texlive/texmf-var/web2c

It is also possible that mktexfmt did not find tha latex sources in
/usr/local/src/texlive/inst/tex/latex or maybe your settings in
texmf.cnf are different.

If latex.fmt was not built, you can try to generate it manually by:

fmtutil --byfmt latex

it might tell you the reason why it cannot succeed.

>
> Regards, Jukka
>
> >> Hmm, any hints? Is there some documentation about what has to be done
> >> after building TeX Live from source?
> >>
> >>
> >> Help is appreciated!
> >>
> >> TIA, Jukka
> >>
> >> [1] http://mirror.ctan.org/systems/texlive/Source/source.tar.bz2
> >>
> >> --
> >> bashian roulette:
> >> $ ((RANDOM%6)) || rm -rf ~
> >>
> >
> >
> > --
> > Zden?k Wagner
> > http://hroch486.icpf.cas.cz/wagner/
> > http://icebearsoft.euweb.cz
>
> --
> bashian roulette:
> $ ((RANDOM%6)) || rm -rf ~
>


-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz


More information about the tex-live mailing list