Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build conflict with texlive-latex-base (Ubuntu 11.10) #1692

Closed
killerswan opened this issue Jan 28, 2012 · 12 comments
Closed

build conflict with texlive-latex-base (Ubuntu 11.10) #1692

killerswan opened this issue Jan 28, 2012 · 12 comments
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@killerswan
Copy link
Contributor

I've found that with Ubuntu 11.10's texlive-latex-base package installed, I can't make.

$ make
cfg: shell host triple x86_64-unknown-linux-gnu
cfg: non host triples 
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: unix-y environment
cfg: using gcc
cfg: no llnextgen found, omitting grammar-verification
pdflatex: doc/rust.pdf
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
make: *** [doc/rust.pdf] Error 1

After removing it and reconfiguring, things are OK again...

@lht
Copy link
Contributor

lht commented Jan 30, 2012

Works for me on Ubuntu 12.04

$ apt-cache policy texlive-latex-base
texlive-latex-base:
  Installed: 2009-15
  Candidate: 2009-15

@killerswan
Copy link
Contributor Author

That's a newer version than in 11.10, apparently:

$ apt-cache policy texlive-latex-base
texlive-latex-base:
  Installed: (none)
  Candidate: 2009-13
  Version table:
     2009-13 0
        500 http://us.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
        100 /var/lib/dpkg/status

This is actually working for you after running ./configure again after installing texlive-latex-base, right? Good to see that this conflict may fix itself.

@graydon
Copy link
Contributor

graydon commented Feb 15, 2012

Sorry, can you clarify:

  • Why it's breaking (the error when the failing make-command invokes tex; track this via VERBOSE=1 make)
  • Which version of TeX we have to consider a requirement, if any?

Thanks.

@killerswan
Copy link
Contributor Author

Specifically, this is the error (more):

/usr/bin/pdflatex \
        -interaction=batchmode \
        -output-directory=doc \
        doc/rust.tex
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
make: *** [doc/rust.pdf] Error 1

Running that command on its own fails, as well, and there are no PDFs created in the doc folder:

$ /usr/bin/pdflatex -interaction=batchmode -output-directory=doc doc/rust.tex; echo $?
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
1

This is with pandoc 1.8.1.1 and the rust.tex file here...

@graydon
Copy link
Contributor

graydon commented Feb 18, 2012

If you remove the -interaction=batchmode flag you'll get a ... plausibly more informative, or at least "more verbose" TeX-ese error. Can I get the output from that?

@graydon
Copy link
Contributor

graydon commented Apr 4, 2012

Ping. Can you check provide further details?

@killerswan
Copy link
Contributor Author

So, I'd forgotten @lht's comment, and upgraded to Ubuntu 12.04 (beta2) before coming to read this again. Since I seem to be the only one to have noticed this issue, I'm comfortable just closing this: 12.04 is going to be fully released in just a few days...

Except I have another issue with 12.04. :P There's no obvious error, but although the /doc/rust.pdf is created, it is almost empty! //sigh

@killerswan
Copy link
Contributor Author

I spoke too soon. Installing node.js (the bog standard version in Ubuntu's repository) fixed that. The docs look fine in 12.04.

@graydon
Copy link
Contributor

graydon commented Apr 11, 2012

Ok. So .. closing this, I guess? Reopen if you feel something's still amiss.

@graydon graydon closed this as completed Apr 11, 2012
@rbtcollins
Copy link
Contributor

So, I can reproduce this, on Ubuntu 12.10:
/usr/bin/pdflatex -output-directory=doc doc/rust.tex
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian)
restricted \write18 enabled.
entering extended mode
(./doc/rust.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, lo
aded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def))

! LaTeX Error: File `lmodern.sty' not found.

@rbtcollins
Copy link
Contributor

'apt-set install lmodern' corrects it for me.

@brson
Copy link
Contributor

brson commented Nov 16, 2012

@rbtcollins That looks like a different error to me so I opened #3989 for it. Thanks!

@brson brson closed this as completed Nov 16, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

5 participants