On Thu, Mar 13, 2014 at 6:24 AM, Ankit Shah <[email protected]> wrote:
> I cloned the LyX repository and ran ./autogen.sh ./configure and make. I'm
> using Ubuntu Gnome 13.10. After installing when i try to open User Guide or
> any other document I get the following errors:
>
> The selected document class
>     KOMA-Script Book
> requires external files that are not available.
> The document class can still be used, but the
> document cannot be compiled until the following
> prerequisites are installed:
>     scrbook.cls
> See section 3.1.2.2 (Class Availability) of the
> User's Guide for more information.
> Warning: Package not available
> ----------------------------------------
> The module customHeadersFooters requires a package that is not
> available in your LaTeX installation, or a converter that
> you have not installed. LaTeX output may not be possible.
> Missing prerequisites:
>     fancyhdr.sty
> See section 3.1.2.3 (Modules) of the User's Guide for more information.
> Warning: Package not available
>
> I have installed texlive and also did sudo apt-get build-dep lyx. Please
> guide as to what more and from where do I need to install the remaining
> stuffs.

Hi Ankit,

the scrbook.cls class and the fancyhdr.sty package are standard
packages in the TeXLive distribution. You should already have them on
your hard drive. One of the following things may have gone wrong:

1. You installed TeXLive *after* you installed LyX.
LyX still thinks you don't have a working installation and chokes.
Solution: Reconfigure LyX (Tools>>Reconfigure) and restart LyX.

2. Your TexLive installation is incomplete.
This is possible (although scrbook.cls is one of the basic classes)
and Ubuntu's support of TeXLive leaves much to be desired. Check your
installation by compiling the sample file (sample2e.tex) it provides
from the commands line. In the standard texlive this file is at
/usr/local/texlive/2013/texmf-dist/tex/latex/base/sample2e.tex
Ubuntu may have put it somewhere else. You may also want to check the
scrbook class  (just edit the sample23.tex file and change
\documentclass{article} to \documentclass{scrbook}

3. Finally, there may a problem with your paths, especially if you
launch lyx from a desktop utility instead of from the command line. In
LyX, Tools>>TeX Information should show you where LyX thinks your
classes and style files are (tick the "Show path" check box).


Hope it helps,

Stefano




> --
> Ankit Shah



-- 
__________________________________________________
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies         Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

[email protected]
http://stefano.cleinias.org

Reply via email to