[tex-live] Error when trying to use TeX Live's 2015 tlmgr on FreeBSD 9.3

Conny Andersson tugmember at diaforum.se
Sat Oct 3 05:30:51 CEST 2015


Hi Norbert, 

On Sat, 3 Oct 2015 11:38:51 +0900
Norbert Preining <preining at logic.at> wrote:

> Hi Conny
> 
> > Yes, kpsewhich is in /usr/local/bin/ BUT LINK? 
> > to /usr/local/texlive/2015/bin/i386-freebsd/kpsewhich? 
> > 
> > ataraxi at maya [/usr/local/bin] > ls -l kpsewhich
> > -rwxr-xr-x  1 root  wheel  15748  3 Sep 06:19 kpsewhich 
> 
> That is a different kpsewhich, not the one we are using:
> ls -l bin/i386-freebsd/kpsewhich 
> -rwxr-xr-x 1 norbert norbert 82172 Jun 11 16:50 bin/i386-freebsd/kpsewhich
> 
> I don't know where this is coming from, but it seems that your setup
> is messed up due to a wrong kpsewhich.

Well I am as confused as you are about where this kpsewhich comes from.
Two computers, two different architectures, two wrong kpsewhich out of
the blue. Maybe, when compiling /usr/ports/editors/texworks/ that
freebsd add a kpsewhich. As you saw in my last answer the one 
in /usr/local/bin was compiled with FreeBSD 9.3 and the one in 
texlive/2015/bin/i386-freebsd/kpsewhich with FreeBSD 7.1.

> 
> Please make a backup of this file
> 	mv /usr/local/bin/kpsewhich /usr/local/bin/kpsewhich.backup

Backup done.

> and then link the correct one
> 	ln -s /usr/local/texlive/2015/bin/i386-freebsd/kpsewhich /usr/local/bin/kpsewhich

Done: lrwxr-xr-x  1 root  wheel  50  3 Okt 04:38 kpsewhich
-> /usr/local/texlive/2015/bin/i386-freebsd/kpsewhich

> After that should be able to run tlmgr:
> 	tlmgr -h

Works! tlmgr revision 37974 (2015-07-28 08:42:13 +0200) ...

> If that works, please try
> 	tlmgr path add
> that should try to generate the necessary links, and will
> bail out of there are other programs not properly linked.

Done:
root at maya [/home/ataraxi] # tlmgr path add
add_link_dir_dir: /usr/local/bin/epsffit exists; not making symlink.
add_link_dir_dir: /usr/local/bin/extractres exists; not making symlink.
add_link_dir_dir: /usr/local/bin/includeres exists; not making symlink.
add_link_dir_dir: /usr/local/bin/kpseaccess exists; not making symlink.
add_link_dir_dir: /usr/local/bin/kpsereadlink exists; not making symlink.
add_link_dir_dir: /usr/local/bin/kpsestat exists; not making symlink.
add_link_dir_dir: /usr/local/bin/kpsetool exists; not making symlink.
add_link_dir_dir: /usr/local/bin/kpsewhere exists; not making symlink.
add_link_dir_dir: /usr/local/bin/mktexlsr exists; not making symlink.
add_link_dir_dir: /usr/local/bin/mktexmf exists; not making symlink.
add_link_dir_dir: /usr/local/bin/mktexpk exists; not making symlink.
add_link_dir_dir: /usr/local/bin/mktextfm exists; not making symlink.
add_link_dir_dir: /usr/local/bin/psbook exists; not making symlink.
add_link_dir_dir: /usr/local/bin/psnup exists; not making symlink.
add_link_dir_dir: /usr/local/bin/psresize exists; not making symlink.
add_link_dir_dir: /usr/local/bin/psselect exists; not making symlink.
add_link_dir_dir: /usr/local/bin/pstops exists; not making symlink.
add_link_dir_dir: /usr/local/bin/synctex exists; not making symlink.
add_link_dir_dir: /usr/local/bin/tlmgr exists; not making symlink.
add_link_dir_dir: /usr/local/info/dir exists; not making symlink.
add_link_dir_dir: /usr/local/info/kpathsea.info exists; not making symlink.
tlmgr: action path returned a warning.

Final test:

root at maya [/home/ataraxi] # tlmgr update --list
tlmgr: package repository http://ftp.acc.umu.se/mirror/CTAN/systems/texlive/tlnet
tlmgr: saving backups to /usr/local/texlive/2015/tlpkg/backups
update:   latex            [12595k]: local:    37789, source:    38512
update:   luatexbase         [267k]: local:    30562, source:    38513
update:   texlive-docindex   [214k]: local:    38501, source:    38508
update:   texlive-msg-translations [110k]: local:    37957, source:    38511
update:   tools             [5128k]: local:    36834, source:    38512
autoinst: ctablestack        [152k]: local: <absent>, source:    38514
autoinst: imfellenglish     [3019k]: local: <absent>, source:    38515
update:   collection-fontsextra [2k]: local:    38395, source:    38515
update:   collection-luatex    [1k]: local:    37811, source:    38514

> 
> Finally, INSTEAD of the above, I would recommend to simply add
> 	/usr/local/texlive/2015/bin/i386-freebsd
> to the PATH environment and all the problems will end automatically ;-)
> 	export PATH=/usr/local/texlive/2015/bin/i386-freebsd:$PATH
> 

OK. 

Thank you very much,

And all the best to you,

Conny

> 
> ALl the best
> 
> Norbert
> 
> ------------------------------------------------------------------------
> PREINING, Norbert                               http://www.preining.info
> JAIST, Japan                                 TeX Live & Debian Developer
> GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
> ------------------------------------------------------------------------

=-=-=-=-=-=-=-=-=-=-=-=
  Conny Andersson
<tugmember at diaforum.se>

http://www.diaforum.se/
=-=-=-=-=-=-=-=-=-=-=-=


More information about the tex-live mailing list