[tex-live] TeX Live 2008, i386-freebsd, FreeBSD 6.4 and i386-linux

Norbert Preining preining at logic.at
Mon Mar 16 00:34:23 CET 2009

On So, 15 Mär 2009, Conny Andersson wrote:
> And, I did rm -Rf /usr/local/texlive, and deleted all symlinks in 
> /usr/local/bin to tex-binaries. And, began a brand new texlive-install to 
> run the i386-linux texlive on my FreeBSD 6.4.

	tlmgr uninstall
should have done all that for you

> Available sets of binaries:
> ================================================================
>    a [ ] alpha-linux      DEC Alpha with GNU/Linux
>    b [ ] amd64-freebsd    x86_64 with FreeBSD
>    c [ ] hppa-hpux        HP-UX
>    d [ ] i386-freebsd     Intel x86 with FreeBSD
>    e [X] i386-linux       Intel x86 with GNU/Linux
>    f [ ] i386-openbsd     Intel x86 with OpenBSD
>    g [ ] i386-solaris     Intel x86 with Sun Solaris
>    h [ ] mips-irix        SGI IRIX
>    i [ ] powerpc-aix      PowerPC with AIX
>    j [ ] powerpc-linux    PowerPC with GNU/Linux
>    k [ ] sparc-linux      Sparc with GNU/Linux
>    l [ ] sparc-solaris    Sparc with Solaris
>    m [ ] universal-darwin universal binaries for MacOSX/Darwin
>    o [ ] win32            Windows
>    p [ ] x86_64-linux     x86_64 with GNU/Linux
> But, on pressing <R> return to main menu I get:
> Detected platform: Intel x86 with FreeBSD
>  <B> binary systems: 2 out of 15

Hmm, ok, the installer insists on installing the detected platform. I
honestly don't see anything wrong in that behaviour, although it is bad
for you.

> <L> create symlinks in standard directories:  [X]
>             binaries to: /usr/local/bin
>             manpages to: /usr/local/man
>                 info to: /usr/local/info
> The symlinks in /usr/local/bin/ refer to the:
> /usr/local/texlive/2008/bin/i386-freebsd/ directory.

Of course, it detects freebsd on i386 and uses the binaries which are
there. The installer cannot know that the binaries do not work.

> In /usr/local/texlive/2008/bin/ there are two directories:
> i386-freebsd and i386-linux.

Yes, that are the two binary system the installer installed.

> ln -sf /usr/local/texlive/2008/bin/i386-linux/tex \
> /usr/local/bin/tex etc.

There would have been another way (which you cannot know of course):
	tlmgr symlinks remove
then edit /usr/local/texlive/2008/tlpkg/texlive.tlpdb and replace the
	depend platform:i386-freebsd
	depend platform:i386-linux
and afterwards call
	tlmgr symlinks add
I cannot try out that it works afterwards, but my wild guess is yes.

That change you should do anyway, otherwise updates etc etc will be
problematic, well maybe not, because you have already replaced lzmadec
and lzma with working binaries.

> xdvi-xaw: error while loading shared libraries:
> libXaw.so.7: cannot open shared object file: No such file or
> directory

Try to remap thingy again with some other libxaw version.

> So, as a conclusion it is not easy to run TeX Live 2008 on FreeBSD 6.4 
> which is newer then the FreeBSD 7.0 on which TeX Live 2008 i386-freebsd was 
> built.

Huuuu???? FreeBSD 7.0 is OLDER than FreeBSD 6.4?? Guys from BSD, you
have a very weird approach to version numbers...

Best wishes


Dr. Norbert Preining <preining at logic.at>        Vienna University of Technology
Debian Developer <preining at debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
`The best way to get a drink out of a Vogon is to stick
your finger down his throat...'
                 --- The Book, on one of the Vogon's social inadequacies.
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy

More information about the tex-live mailing list