On 01/23/2013 12:34 AM, Petr Kovar wrote:
Hi,

To make life a little easier for people who still depend on Publican 2.8
but want to use Publican 3.0 on the same system, I tried to package a
P 2.8 Software Collection [1], which creates a separate file system
hierarchy under /opt/ and installs Publican files under /opt/rh/publican28/.

The problem is that Publican in the Collection fails to build a book with a
runtime error:

        Using XML::LibXSLT on /usr/share/publican/xsl/html-single.xsl
runtime error: file /usr/share/publican/xsl/html-single.xsl element choose
Variable 'body.only' has not been declared.
  at /opt/rh/publican28/root//usr/share/perl5/vendor_perl/Publican/Builder.pm
line 969

It looks like this is because Publican share content paths are actually
hard-coded as https://bugzilla.redhat.com/show_bug.cgi?id=661946
suggests.


Is there a way to work around this problem?

You have to patch the hard coded path in 2.8.

Cheers, Jeff.

--
Jeff Fearn <[email protected]>
Senior Software Engineer
Infrastructure Engineering & Development (AEU)
Red Hat Asia Pacific Pty Ltd
GPG: 0x0357E8F0

_______________________________________________
publican-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/publican-list
Wiki: https://fedorahosted.org/publican

Reply via email to