Re: Help with RefDB build errors

"Michael Strack" <[email protected]> Thu, 7 Mar 2019 18:42:05 +0800
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
Oops. Of course, I spent hours on this the other day, and then solved it 
immediately after sending this email.

I was missing the docbook-xsl package. Then I got more errors and 
installed the fop package. Then more and installed sgrep.

Then I ran make and sudo make install which appear to have 
completed without errors.

Sorry for the false alarm.

On Thursday, March 7, 2019 at 6:16 PM, Michael Strack <[email protected]> wrote:
> Hello refdb-users, prospective new user here.
> 
> Got a little stuck installing. I'm afraid I don't have a lot of
> experience building software from source (unless you count R
> packages). Would appreciate if anyone has time to take a look at the
> log and tell me what I'm missing.
> 
> I'll put the complete list of dependencies I installed down the
> end. It's a bit long.
> 
> On Debian Stretch (with Gnome), performed the following steps:
> 
> - Cloned refdb-code with SVN
> - cd refdb/trunk
> - Run autogen.sh, followed by configure
> - Divine missing dependencies from error messages and either install
>   these from the Debian repositories or (in the case of the Perl
>   modules) build them from source from the various directories under
>   perlmod/trunk
> - Also installed yaz because it's recommended
> - Run make, install more dependencies
> - Stuck on following error:
> 
> #+BEGIN_QUOTE
> Making all in doc
> make[1]: Entering directory
> '/home/mixtrak/repos/refdb-code/refdb/trunk/doc'
> make[1]: Circular citationlistx/elements.html <-
> citationlistx/elements.html dependency dropped.
> make[1]: Circular citestylex/elements.html <- citestylex/elements.html
> dependency dropped.
> Creating PDF manual...
> hyphenation temporarily unavailable
> xsltproc -o refdb-manual.fo --stringparam hyphenate 0 --nonet --xinclude
> ../doc/include/manual-fo.xsl ../doc/refdb-manual.xml
> I/O error : Attempt to load network entity
> http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl
> warning: failed to load external entity
> "http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"
> compilation error: file ../doc/include/manual-fo.xsl line 12 element
> import
> xsl:import : unable to load
> http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl
> Makefile:993: recipe for target 'refdb-manual.pdf' failed
> make[1]: *** [refdb-manual.pdf] Error 5
> make[1]: Leaving directory
> '/home/mixtrak/repos/refdb-code/refdb/trunk/doc'
> Makefile:402: recipe for target 'all-recursive' failed
> make: *** [all-recursive] Error 1
> #+END_QUOTE
> 
> * Installed dependencies
> 
> Here's my records of what I was missing:
> 
> - autoconf
> - gettext
> - libdbi-dev and dependencies including libdbi1
>   - Discretionary: libdbi-doc, libdbd-pgsql
> - libsgml-dtdparse-perl
> - xsltproc
> - Perl module build dependencies
>   - libxml-writer-perl
>   - libcql-parser-perl
>   - libmarc-charset-perl
>   - libmarc-record-perl
>   - libhttp-server-simple-perl
>   - Already had libtext-iconv-perl, libxml-parser-perl, libfcgi-perl
> 
> Just for laffs tried to solve the problem by installing dsssl engine &
> style sheets. I already had the openjade package installed, and tried
> to add docbook-dsssl (and docbook-dsssl-doc), but no luck, natch.