Skip to content

Conversation

@yitzchak
Copy link
Contributor

TeX Live TEXMFLOCAL has multiple paths separated by a colon. Last path in list appears to be "/usr/share/.."

yitzchak added 5 commits May 22, 2016 12:56
TeX Live TEXMFLOCAL has multiple paths separated by a colon. Last path in list appears to be "/usr/share/.."
@kpeeters
Copy link
Owner

kpeeters commented Jun 3, 2016

The fix works on some systems, but on others cmake complains with

string sub-command REPLACE requires at least four arguments.

I have no idea why... (cmake version on these systems is 3.2.2, but it works on others with 3.2.2, so I am puzzled).

@yitzchak
Copy link
Contributor Author

yitzchak commented Jun 3, 2016

Any specific systems? In any case, I can do some more research and see if I can figure it out.

I already have it installed as a patch in the Arch PKGBUILD so it isn't high priority.

@kpeeters
Copy link
Owner

kpeeters commented Jun 3, 2016

The Ubuntu 14.04 systems on Travis CI. It works when I specify the gcc build environment, but fails when I choose clang... It also fails on their OS X container with the same error.

@yitzchak
Copy link
Contributor Author

yitzchak commented Jun 3, 2016

I think that TEXMFLOCAL is undefined in the clang on Travis-CL. Quotes might fix it.

@kpeeters
Copy link
Owner

kpeeters commented Jun 3, 2016

Didn't fix it, but you are right, some containers have empty TEXMFLOCAL. Will think of a workaround later, need to get master back to building state now to test some more important things.

@yitzchak
Copy link
Contributor Author

yitzchak commented Jun 4, 2016

Travis-CI does not appear to have TeX installed by default. Executing kpsewhich in .travis.yml fails.

For gcc platforms TeX gets installed by:

- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then if [[ "`${CC} --version |grep gcc`" != "" ]]; then sudo apt-get install --yes doxygen graphviz texlive-font-utils; ./config/publish-doxygen; fi; fi

Adding:

- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y texlive-latex-base; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then wget http://mirror.ctan.org/systems/mac/mactex/BasicTeX.pkg -O "/tmp/BasicTeX.pkg"; sudo installer -pkg "/tmp/BasicTeX.pkg" -target /; rm /tmp/BasicTeX.pkg; export PATH=/usr/texbin:$PATH; fi

seems to fix for all platforms.

@yitzchak yitzchak closed this Jun 4, 2016
@yitzchak yitzchak reopened this Jun 4, 2016
@yitzchak yitzchak closed this Sep 25, 2016
kpeeters pushed a commit that referenced this pull request Nov 29, 2019
@slazav slazav mentioned this pull request Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants