[publican-list] Publican 2.8 & 3.0 on the same system

Petr Kovar pkovar at redhat.com
Tue Jan 22 14:45:08 UTC 2013


Oh, and the repo file for those who want to try it:

http://pmkovar.fedorapeople.org/publican28.repo


On Tue, 22 Jan 2013 15:34:45 +0100
Petr Kovar <pkovar at redhat.com> 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?
> 
> [1]
> http://docs.fedoraproject.org/en-US/Fedora_Contributor_Documentation/1/html/Software_Collections_Guide/sect-What_Are_Software_Collections.html
> 
> 
> Thanks,
> -- 
> Petr Kovar
> Content Author II | Engineering Content Services
> Red Hat Czech s.r.o.
> Purkynova 99/71, 612 45 Brno, Czech Republic
> 
> _______________________________________________
> publican-list mailing list
> publican-list at redhat.com
> https://www.redhat.com/mailman/listinfo/publican-list
> Wiki: https://fedorahosted.org/publican


-- 
Petr Kovar
Content Author II | Engineering Content Services
Red Hat Czech s.r.o.
Purkynova 99/71, 612 45 Brno, Czech Republic




More information about the publican-list mailing list