EddyRivasLab / easel

Sequence analysis library used by Eddy/Rivas lab code
Other
46 stars 26 forks source link

PDF not building -- missing bib files? #21

Closed mr-c closed 7 years ago

mr-c commented 7 years ago

Hello again,

Using https://github.com/EddyRivasLab/easel/archive/0.43.tar.gz the PDF won't build for me unless I use the following patch with skips bibtex and escapes an errant underscore:

--- easel.orig/documentation/Makefile.in
+++ easel/documentation/Makefile.in
@@ -112,7 +112,7 @@
        done
        @echo "     LATEX current.pdf  (see latex.log for output)"
        @pdflatex -interaction=nonstopmode main  > latex.log 2>&1
-       @bibtex   main                          >> latex.log 2>&1
+       #@bibtex   main                          >> latex.log 2>&1
        @pdflatex main                          >> latex.log 2>&1
        @pdflatex main                          >> latex.log 2>&1
        @mv main.pdf current.pdf
--- easel.orig/documentation/codestyle.tex
+++ easel/documentation/codestyle.tex
@@ -1077,7 +1077,7 @@
 \ccode{obj}. Shadow creation arises in multithreading, when threads
 can share some but not all internal object data. A shadow keeps
 constant data as pointers to the original object.  The object needs to
-know whether it is a shadow or not, so that <_Destroy()> works
+know whether it is a shadow or not, so that <\_Destroy()> works
 properly on both the original and its shadows.

 \end{sreapi}

Here's a Dockerfile that reproduces the issue for your investigation:

FROM debian:sid

RUN apt-get clean all &&\
    apt-get update &&\
    apt-get install -y wget make autoconf gcc texlive-latex-base \
        texlive-latex-extra texlive-fonts-recommended

RUN wget https://github.com/EddyRivasLab/easel/archive/0.43.tar.gz &&\
    tar xzf *.tar.gz &&\
    cd easel* && chmod a+x devkit/cexcerpt &&\
    autoconf && ./configure && make check

RUN cd easel*/documentation && make pdf || /bin/true

CMD /bin/bash
docker build -t easel/debian_sid .
docker run -t easel/debian_sid
cd easel*/documentation && make pdf

Thanks,

cryptogenomicon commented 7 years ago

The PDF will not build for other reasons as well, because it depends on other code in our local environment. The PDF is a work in progress that is not intended for release. I don't recommend that you try to build it.

mr-c commented 7 years ago

@cryptogenomicon That's unfortunate -- we'd like to distribute it in the package, but to do so we need to build from source.