the result after 2nd command
bash: cd: cvpcb_pdf_es: No such file or directory
although there is so many cvpcb_*.dir
the result after the third command
Build the book set list…
Build the listings…
XSLT stylesheets DocBook - LaTeX 2e (0.3.4-3)
Build cvpcb.pdf
xelatex failed
/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty:296: Package babel Error: Unknown option `spanish’. Either you misspelled it
/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty:296: leading text: \ProcessOptions*
/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty:329: Package babel Error: You haven’t specified a language option.
/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty:329: leading text: …ry to proceed from here, type x to quit.}
cvpcb.tex:41: \shorthandsspanish undefined.
cvpcb.tex:41: leading text: \setupbabel{es}
Unexpected error occured
Error: xelatex compilation failed
fouad@fouad:~/Downloads/kicad-doc-master/build/src/cvpcb/CMakeFiles$
fouad@fouad:~/Downloads/kicad-doc-master/build/src/cvpcb/CMakeFiles$ Reply
No command ‘Reply’ found, did you mean:
Command ‘reply’ from package ‘libreply-perl’ (universe)
Reply: command not found
The first log is not more usefull than your first post. There might be a debugging mode that needs to be enabled.
The third command thankfully explains the prolem. You need spanish support in latex. Try this command:
sudo apt-get texlive-lang-spanish
You will probably have to repeat it for many languages. If you just want to build a specific language (“es” for instance), try instead of make :
make cvpcb_html_es
Your topic title says you want to build KiCad. Do you realise that you are actually building ONLY the documentation? The program per se is in a separate repository. It is called kicad-source-mirror on github.