Re: Help with RefDB build errors

Markus Hoenicka <[email protected]> Fri, 08 Mar 2019 09:42:56 +0100
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
Hi,

I'm glad it worked out. Building the docs is a bit of a hassle as they 
have a boatload of dependencies. This is why the official source 
tarballs contain prebuilt docs.

best regards,
Markus

On 2019-03-07 11:42, Michael Strack was heard to say:
> 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.
> 
> 
> _______________________________________________
> Refdb-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/refdb-users

-- 
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38