[tex-live] texinfo not happy with texlive not producing log?

Liviu Ionescu ilg at livius.net
Sat Nov 5 10:27:54 CET 2016


> On 5 Nov 2016, at 06:20, Norbert Preining <preining at logic.at> wrote:
> 
> Hi Liviu,
> 
> (moving this discussion to the TeX Live list as it has nothing
> to do with texinfo anymore)

agree, thank you Norbert.

> TeX Live binaries are all fully relocatable, 

great!

> I don't know why it is on the Homebrew blacklist,


from https://github.com/sourcegraph/homebrew/blob/master/Library/Homebrew/blacklist.rb

  when "tex", "tex-live", "texlive", "latex" then <<-EOS.undent
    Installing TeX from source is weird and gross, requires a lot of patches,
    and only builds 32-bit (and thus can't use Homebrew deps on Snow Leopard.)
    We recommend using a MacTeX distribution: https://www.tug.org/mactex/
    EOS


>> so any suggestions on how to do this will be welcomed.
> 
> As I said, the easiest way is:
> * compile the binaries yourself if you want,
> * but them into Master/bin/<YOUR_ARCH>
> * run the normal installer
> 
> Alternatively you can hook copy all the files you need yourself, and
> just make sure to generate the correct config files (fmtutil.cnf, 
> updmap.cfg, language.dat, .def, .dat.lua) and all will run.

I did the following:

- downloaded install-tl-unx.tar.gz
- copied the texlive.profile from MacTex
- edited it to use my local paths

```
texlive_prefix="${HOME}/opt/texlive/"

tmp_profile=$(mktemp)

cat <<__EOF__ >> "${tmp_profile}"
# texlive.profile, copied from MacTex
TEXDIR ${texlive_prefix}
TEXMFCONFIG ${texlive_prefix}/texmf-config
TEXMFHOME ${texlive_prefix}/texmf
TEXMFLOCAL ${texlive_prefix}/texmf-local
TEXMFSYSCONFIG ${texlive_prefix}/texmf-config
TEXMFSYSVAR ${texlive_prefix}/texmf-var
TEXMFVAR ${texlive_prefix}/texmf-var
binary_universal-darwin 1
binary_x86_64-darwin 1
collection-basic 1
...
portable 0
__EOF__
```

- started the install with 

```
... install-tl-20161029/install-tl \
-no-gui -lang en \
-profile "${tmp_profile}" -v
```

after a while (a long while), the install was ready (I'm convinced there are lots of options that I'll never use; btw, is there any documentation for the various options in the profile?)

then I removed the /Library/TeX folder, the /usr/local/texlive folder, and lots of unwanted things from /usr/local/bin (I hate when tools used during my builds are in /usr/local, because I never know which tools the builds really use).

both qemu & openocd manuals were generated with this new setup, apparently without problems.


for completeness, the result is the `install-texlive.sh` script, available from:

	https://gist.github.com/ilg-ul/46407a070844f764dec6f27bde385797

any comments/suggestions?


regards,

Liviu




More information about the tex-live mailing list