This repository has been archived by the owner. It is now read-only.

tex-live install failed #1087

Closed
dfjones opened this Issue Mar 30, 2010 · 17 comments

Comments

7 participants
@dfjones

dfjones commented Mar 30, 2010

Here's the end of what was written to the console when the install failed.

No pages of output.
Transcript written on pdfxmltex.log.
fmtutil: /usr/local/Cellar/tex-live/20080816/share/texmf-var/web2c/pdftex/pdfxmltex.fmt installed.

###############################################################################
fmtutil: Error! Not all formats have been built successfully.
Visit the log files in directory
  /usr/local/Cellar/tex-live/20080816/share/texmf-var/web2c
for details.
###############################################################################

This is a summary of all `failed' messages and warnings:
`xetex -ini  -jobname=cont-en -progname=context -8bit *cont-en.ini' failed
`xetex -ini  -jobname=xetex -progname=xetex -etex xetex.ini' failed
`xetex -ini  -jobname=xelatex -progname=xelatex -etex xelatex.ini' failed
http://github.com/mxcl/homebrew/blob/master/Library/Formula/tex-live.rb#L155
==> Environment
HOMEBREW_VERSION: 0.5
HEAD: f88e8897e3f626329b404e4bb5eaccafc521fd7e
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_CACHE: /Users/doug/Library/Caches/Homebrew
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 32-bit core
OS X: 10.6.1
Kernel Architecture: i386
Ruby: 1.8.7-72
GCC-4.2: build 5646 (5577 or newer recommended)
LLVM: build 2206 (2206 or newer recommended)
MacPorts or Fink? false
X11 installed? true
Exit status: 1
Error: Failure while executing: PATH=$PATH:/usr/local/Cellar/tex-live/20080816/bin fmtutil-sys --all 

I tried to load the referenced log file in /usr/local/Cellar/tex-live/, but the tex-live directory seems to be gone from the Cellar. Not sure if this is normal cleanup behavior by brew or something gone wrong.

@Sharpie

This comment has been minimized.

Show comment
Hide comment
@Sharpie

Sharpie Mar 31, 2010

Contributor

It's not a brew-based solution, but have you checked out MacTeX?

http://www.tug.org/mactex/2009/

As far as I know, it is the quintessential TeX distribution for mac- consistently up to date and delivering TexLive 2009 where as this brew formula is delivering last year's distribution: TexLive 2008. It also comes with the tlmgr package manager for installing and updating TeX-related packages and programs. I would suggest downloading the basic version from:

http://www.tug.org/mactex/2009/morepackages.html

As it is only 82 MB compared to 1.3 GB for the full distribution and install everything else you use with tlmgr.

Hell, even the MacPorts boys haven't bothered to repackage since TexLive 2007 and Fink is still serving up the old 2008 edition.

Contributor

Sharpie commented Mar 31, 2010

It's not a brew-based solution, but have you checked out MacTeX?

http://www.tug.org/mactex/2009/

As far as I know, it is the quintessential TeX distribution for mac- consistently up to date and delivering TexLive 2009 where as this brew formula is delivering last year's distribution: TexLive 2008. It also comes with the tlmgr package manager for installing and updating TeX-related packages and programs. I would suggest downloading the basic version from:

http://www.tug.org/mactex/2009/morepackages.html

As it is only 82 MB compared to 1.3 GB for the full distribution and install everything else you use with tlmgr.

Hell, even the MacPorts boys haven't bothered to repackage since TexLive 2007 and Fink is still serving up the old 2008 edition.

@adamv

This comment has been minimized.

Show comment
Hide comment
@adamv

adamv Mar 31, 2010

Contributor

If MacTeX is definitive, it might be worth blacklisting TeXLive from brew and pointing users over here.

Contributor

adamv commented Mar 31, 2010

If MacTeX is definitive, it might be worth blacklisting TeXLive from brew and pointing users over here.

@Sharpie

This comment has been minimized.

Show comment
Hide comment
@Sharpie

Sharpie Mar 31, 2010

Contributor

I would say it's about as official as you can get.

Plus it brings it's own package management system which is very nice- although I think tlmgr became standard in TexLive 2008. Funny enough, MacPorts deciding to download TexLive 2007 is what finally drove me away from that system. Installing 1.3 GB of software that was outdated by 2 years was beyond ridiculous, it was recockulous. The TeX community does evolve significantly from year to year and you need to keep things up to date.

If we did blacklist TeXLive, it would be nice to somehow recognize MacTex as satisfying the tex-live dependency so that other brews could gracefully refuse to install if it wasn't there.

There are two ways to test that I can think of:

  • Check for the existence of /Library/TeX/Distributions/TeXLive-*

As far as I know, MacTeX is the only package that parks Distributions named TeXLive-* in this directory so they may activated and deactivated via the TeX Distribution control panel in System prefrences.

  • Check for the existance of /usr/local/texlive

This directory will be also be created if the user obtained TeXLive via the install-tl script documented at:

http://www.tug.org/texlive/doc/install-tl.html

This works perfectly fine for Mac and is how I got my current TeX installation when 2009 was in pre-release and MacTeX was still at 2008. I rolled the entry for /Library/TeX/ by hand although I will reinstall via MacTeX when I do my spring cleaning system wipe.

Contributor

Sharpie commented Mar 31, 2010

I would say it's about as official as you can get.

Plus it brings it's own package management system which is very nice- although I think tlmgr became standard in TexLive 2008. Funny enough, MacPorts deciding to download TexLive 2007 is what finally drove me away from that system. Installing 1.3 GB of software that was outdated by 2 years was beyond ridiculous, it was recockulous. The TeX community does evolve significantly from year to year and you need to keep things up to date.

If we did blacklist TeXLive, it would be nice to somehow recognize MacTex as satisfying the tex-live dependency so that other brews could gracefully refuse to install if it wasn't there.

There are two ways to test that I can think of:

  • Check for the existence of /Library/TeX/Distributions/TeXLive-*

As far as I know, MacTeX is the only package that parks Distributions named TeXLive-* in this directory so they may activated and deactivated via the TeX Distribution control panel in System prefrences.

  • Check for the existance of /usr/local/texlive

This directory will be also be created if the user obtained TeXLive via the install-tl script documented at:

http://www.tug.org/texlive/doc/install-tl.html

This works perfectly fine for Mac and is how I got my current TeX installation when 2009 was in pre-release and MacTeX was still at 2008. I rolled the entry for /Library/TeX/ by hand although I will reinstall via MacTeX when I do my spring cleaning system wipe.

@dfjones

This comment has been minimized.

Show comment
Hide comment
@dfjones

dfjones Mar 31, 2010

Thanks for suggesting MacTex, I'm downloading it right now.

If the current tex-live formula is old and broken, my vote would be to blacklist it. The only reason I choose to try and install using brew is because I saw it was there and I'm lazy :-)

dfjones commented Mar 31, 2010

Thanks for suggesting MacTex, I'm downloading it right now.

If the current tex-live formula is old and broken, my vote would be to blacklist it. The only reason I choose to try and install using brew is because I saw it was there and I'm lazy :-)

@Sharpie

This comment has been minimized.

Show comment
Hide comment
@Sharpie

Sharpie Mar 31, 2010

Contributor

You may also want to download the TeX Live Utility from:

http://code.google.com/p/mactlmgr/

It provides a nice GUI to the tlmgr package manager. If you downloaded the full 1.3 GB distribution, I think this will be included in the /Applications/TeX folder that gets installed. Glad it is working for you!

Contributor

Sharpie commented Mar 31, 2010

You may also want to download the TeX Live Utility from:

http://code.google.com/p/mactlmgr/

It provides a nice GUI to the tlmgr package manager. If you downloaded the full 1.3 GB distribution, I think this will be included in the /Applications/TeX folder that gets installed. Glad it is working for you!

@kmowery

This comment has been minimized.

Show comment
Hide comment
@kmowery

kmowery Apr 21, 2010

Contributor

I just saw this issue... I can try to fix the tex-live brew if that's what we want. However, if we decide to point users to MacTeX, that's perfectly fine too. All we need is a final decision... mxcl, adamv?

Contributor

kmowery commented Apr 21, 2010

I just saw this issue... I can try to fix the tex-live brew if that's what we want. However, if we decide to point users to MacTeX, that's perfectly fine too. All we need is a final decision... mxcl, adamv?

@adamv

This comment has been minimized.

Show comment
Hide comment
@adamv

adamv Apr 21, 2010

Contributor

I haven't dug into how MacTeX actually installs, since I don't use TeX. If it goes right into /usr/local then it may very well conflict with brew-managed software. So someone has to dive in and give us a report.

Contributor

adamv commented Apr 21, 2010

I haven't dug into how MacTeX actually installs, since I don't use TeX. If it goes right into /usr/local then it may very well conflict with brew-managed software. So someone has to dive in and give us a report.

@Sharpie

This comment has been minimized.

Show comment
Hide comment
@Sharpie

Sharpie Apr 21, 2010

Contributor

MacTex installs to it's own subfolder in /usr/local:

/usr/local/texlive/<dist-year>

Where <dist-year> is another subfolder that contains all files related to a given year's distribution- i.e. 2007, 2008, 2009, etc. I believe this is also the default location for texlive, the UNIX/Linux distribution from which MacTex is derived. The other install location that provides some Mac-related sugar is:

/Library/TeX

This folder contains symlinks to folders in /usr/local/texlive and is used by the MacTeX system preferences pane to enable switching of active TeX distributions- i.e. you have the 2010 preview installed and want to revert your TeX system to using the 2009 distribution.

Update

Distribution independent binaries are copied into:

/usr/texbin

While distribution-specific binaries are symlinked into the same location to allow distribution switching via the system prefrences.

Contributor

Sharpie commented Apr 21, 2010

MacTex installs to it's own subfolder in /usr/local:

/usr/local/texlive/<dist-year>

Where <dist-year> is another subfolder that contains all files related to a given year's distribution- i.e. 2007, 2008, 2009, etc. I believe this is also the default location for texlive, the UNIX/Linux distribution from which MacTex is derived. The other install location that provides some Mac-related sugar is:

/Library/TeX

This folder contains symlinks to folders in /usr/local/texlive and is used by the MacTeX system preferences pane to enable switching of active TeX distributions- i.e. you have the 2010 preview installed and want to revert your TeX system to using the 2009 distribution.

Update

Distribution independent binaries are copied into:

/usr/texbin

While distribution-specific binaries are symlinked into the same location to allow distribution switching via the system prefrences.

@Sharpie

This comment has been minimized.

Show comment
Hide comment
@Sharpie

Sharpie May 6, 2010

Contributor

Just did a clean reinstall of my system- the MacTeX installer places items in the following places under /usr/local

/usr/local/texlive/<dist year>

This is where all the action happens- we don't want to touch it.

/usr/local/bin/texdist

texdist is a symlink to a perl script installed in /Library/TeX/.scripts/. I think it provides a way of switching between MacTeX distributions via the command line. However, the interface and help provided by the script is very poor. Plus, this functionality is provided by a System Preferences pane in a much more user friendly way.

If this symlink gets nuked, it probably won't be missed-- unless the preference pane requires it to be on the search path in order to do it's job. I can't test for this possibility right now as I only have one TeX distribution installed so there is nothing to switch to.

Contributor

Sharpie commented May 6, 2010

Just did a clean reinstall of my system- the MacTeX installer places items in the following places under /usr/local

/usr/local/texlive/<dist year>

This is where all the action happens- we don't want to touch it.

/usr/local/bin/texdist

texdist is a symlink to a perl script installed in /Library/TeX/.scripts/. I think it provides a way of switching between MacTeX distributions via the command line. However, the interface and help provided by the script is very poor. Plus, this functionality is provided by a System Preferences pane in a much more user friendly way.

If this symlink gets nuked, it probably won't be missed-- unless the preference pane requires it to be on the search path in order to do it's job. I can't test for this possibility right now as I only have one TeX distribution installed so there is nothing to switch to.

@adamv

This comment has been minimized.

Show comment
Hide comment
@adamv

adamv Jun 10, 2010

Contributor

I installed MacTeX locally, and brews that depend on tex_live work with it (after I comment out the dep, of course.0

tex_live only builds for 32 bits, since it uses deprecated functions; this means that the deps it uses won't work on Snow Leopard, since we tend to build things 64-bit-only there.

Also, there are a HUGE number of patches for tex_live, and I don't want to sort through all that.

My recommendation is that we retire this formula, or leave it in as a stub with a caveat that just says "install MacTeX from the .pkg".

Contributor

adamv commented Jun 10, 2010

I installed MacTeX locally, and brews that depend on tex_live work with it (after I comment out the dep, of course.0

tex_live only builds for 32 bits, since it uses deprecated functions; this means that the deps it uses won't work on Snow Leopard, since we tend to build things 64-bit-only there.

Also, there are a HUGE number of patches for tex_live, and I don't want to sort through all that.

My recommendation is that we retire this formula, or leave it in as a stub with a caveat that just says "install MacTeX from the .pkg".

@Sharpie

This comment has been minimized.

Show comment
Hide comment
@Sharpie

Sharpie Jun 10, 2010

Contributor

I second that- TeX Live is a huge system and there is already one group that is committed to maintaining it on the Mac.

Contributor

Sharpie commented Jun 10, 2010

I second that- TeX Live is a huge system and there is already one group that is committed to maintaining it on the Mac.

@kmowery

This comment has been minimized.

Show comment
Hide comment
@kmowery

kmowery Jun 18, 2010

Contributor

Sounds good to me. I think the stub idea is best, since then other enterprising homebrew contributors won't attempt another texlive formula.

Contributor

kmowery commented Jun 18, 2010

Sounds good to me. I think the stub idea is best, since then other enterprising homebrew contributors won't attempt another texlive formula.

@adamv

This comment has been minimized.

Show comment
Hide comment
@adamv

adamv Jun 18, 2010

Contributor

Remove buggy, unsupported TeX-live brew, and suggest MacTex.

The TeX-live 2008 formula was out of date (there's a 2009), buggy,
and doesn't build 64-bit.

The MacTeX package works and is supported, with a 2010 version in the works.
Let's recommend that instead.

Closed by 9dc15bc

Contributor

adamv commented Jun 18, 2010

Remove buggy, unsupported TeX-live brew, and suggest MacTex.

The TeX-live 2008 formula was out of date (there's a 2009), buggy,
and doesn't build 64-bit.

The MacTeX package works and is supported, with a 2010 version in the works.
Let's recommend that instead.

Closed by 9dc15bc

@cce

This comment has been minimized.

Show comment
Hide comment
@cce

cce Mar 2, 2011

i have happily built TeX Live 2010 with MacPorts on Snow Leopard and can confirm it is 64-bit and working great.

cce commented Mar 2, 2011

i have happily built TeX Live 2010 with MacPorts on Snow Leopard and can confirm it is 64-bit and working great.

@adamv

This comment has been minimized.

Show comment
Hide comment
@adamv

adamv Mar 2, 2011

Contributor

If you have a 2010 Homebrew formula, I'd accept it into the Homebrew-Alt repo: https://github.com/adamv/homebrew-alt

Contributor

adamv commented Mar 2, 2011

If you have a 2010 Homebrew formula, I'd accept it into the Homebrew-Alt repo: https://github.com/adamv/homebrew-alt

Sharpie pushed a commit to Sharpie/homebrew that referenced this issue Sep 19, 2011

Remove buggy, unsupported TeX-live brew, and suggest MacTex.
The TeX-live 2008 formula was out of date (there's a 2009), buggy,
and doesn't build 64-bit.

The MacTeX package works and is supported, with a 2010 version in the works.
Let's recommend that instead.

Fixes #1087

etehtsea pushed a commit to etehtsea/homebrew that referenced this issue Dec 27, 2011

Remove buggy, unsupported TeX-live brew, and suggest MacTex.
The TeX-live 2008 formula was out of date (there's a 2009), buggy,
and doesn't build 64-bit.

The MacTeX package works and is supported, with a 2010 version in the works.
Let's recommend that instead.

Fixes #1087

Sharpie added a commit to Homebrew/homebrew-boneyard that referenced this issue Apr 25, 2012

Import Formula: TeXLive
TexLive was removed in Homebrew/legacy-homebrew@9dc15bc with the following message:

  Remove buggy, unsupported TeX-live brew, and suggest MacTex.

  The TeX-live 2008 formula was out of date (there's a 2009), buggy, and
  doesn't build 64-bit.

  The MacTeX package works and is supported, with a 2010 version in the works.
  Let's recommend that instead.

See Homebrew/legacy-homebrew#1087 for additional context.

Sharpie pushed a commit to Sharpie/homebrew that referenced this issue Sep 12, 2012

Remove buggy, unsupported TeX-live brew, and suggest MacTex.
The TeX-live 2008 formula was out of date (there's a 2009), buggy,
and doesn't build 64-bit.

The MacTeX package works and is supported, with a 2010 version in the works.
Let's recommend that instead.

Fixes #1087

snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012

Remove buggy, unsupported TeX-live brew, and suggest MacTex.
The TeX-live 2008 formula was out of date (there's a 2009), buggy,
and doesn't build 64-bit.

The MacTeX package works and is supported, with a 2010 version in the works.
Let's recommend that instead.

Fixes #1087
@kevinburke

This comment has been minimized.

Show comment
Hide comment
@kevinburke

kevinburke Jan 28, 2013

Hi,
Just FYI, the two links to the BasicTEX distro listed above 404.

Hi,
Just FYI, the two links to the BasicTEX distro listed above 404.

@kenahoo-windlogics

This comment has been minimized.

Show comment
Hide comment
@kenahoo-windlogics

kenahoo-windlogics Jan 28, 2015

MacTeX seems to have a Cask installation too: brew install caskroom/cask/brew-cask; brew cask install mactex. Any reason users should be wary of that?

MacTeX seems to have a Cask installation too: brew install caskroom/cask/brew-cask; brew cask install mactex. Any reason users should be wary of that?

eranmeir pushed a commit to eranmeir/homebrew-ur that referenced this issue Sep 17, 2015

Import Formula: TeXLive
TexLive was removed in Homebrew/legacy-homebrew@9dc15bc with the following message:

  Remove buggy, unsupported TeX-live brew, and suggest MacTex.

  The TeX-live 2008 formula was out of date (there's a 2009), buggy, and
  doesn't build 64-bit.

  The MacTeX package works and is supported, with a 2010 version in the works.
  Let's recommend that instead.

See Homebrew/legacy-homebrew#1087 for additional context.

@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016

This issue was closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.