blynn / gitmagic

A guide to using Git
http://cs.stanford.edu/~blynn/gitmagic/
GNU General Public License v3.0
1.92k stars 670 forks source link

make fails on Ubuntu 12.04.1 LTS. #24

Open ghost opened 12 years ago

ghost commented 12 years ago

Hello. Today I have pulled gitmagic repo and trying to build it with make. It fails with:

mkdir -p book-en rsync book.css book-en/default.css xmlto -m custom-nochunks.xsl html-nochunks book-en.xml xmlto: /home/mitya/doc/gitmagic/book-en.xml does not validate (status 1) xmlto: Fix document syntax or use --skip-validation option /home/mitya/doc/gitmagic/book-en.xml:1: parser error : Document is empty

^ /home/mitya/doc/gitmagic/book-en.xml:1: parser error : Start tag expected, '<' not found

^ make: *\ [book-en.html] Error 11

I am running Ubuntu 12.04.1 LTS with xmlto version 0.0.25

blynn commented 12 years ago

I'm unable to reproduce the error. I made a fresh clone of the repo, and it built successfully. I'm also running 12.04.1 and xmlto 0.025.

VBoden commented 12 years ago

maybe you need to install package "tidy"

ghost commented 12 years ago

Yep, I've installed tidy packaged today and have passed to another great bunch of errors:

LaTeX Warning: Reference `0:_preface' on page iii undefined on input line 332.

LaTeX Warning: Reference `0:_thanks' on page iii undefined on input line 358.

LaTeX Warning: Reference `0:_license' on page iii undefined on input line 383.

LaTeX Warning: Reference `0:_introduction' on page iii undefined on input line 417.

LaTeX Warning: Reference `0:_work_is_play' on page iii undefined on input line 443.

LaTeX Warning: Reference `0:_version_control' on page iii undefined on input li ne 468.

LaTeX Warning: Reference `0:_distributed_control' on page iii undefined on inpu t line 493.

LaTeX Warning: Reference `0:_a_silly_superstition' on page iii undefined on inp ut line 518.

LaTeX Warning: Reference `0:_merge_conflicts' on page iii undefined on input li ne 543.

LaTeX Warning: Reference `0:_basic_tricks' on page iii undefined on input line 577.

LaTeX Warning: Reference `0:_saving_state' on page iii undefined on input line 603.

So, as far as I understand, now I have to install some other package for LaTeX?

VBoden commented 12 years ago

Probably yes. I had no such error. Maybe it's because I have installed LaTeX.

VBoden commented 12 years ago

Can you say what language you want to translate gitmagic?

ghost commented 12 years ago

Hmm, actually it's hard for me to answer this question (: I'm not translating, but simply trying to build book from sources. So, I want English (AFAIK it's default?) And I did not do other manipulations, but issued 'make' from the root dir.