[LUDOC-208] Error on "make pdf" Created: 14/Nov/13 Updated: 13/Feb/14 Resolved: 13/Feb/14 |
|
| Status: | Closed |
| Project: | Lustre Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Amir Shehata (Inactive) | Assignee: | Richard Henwood (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
RHEL 6.3 |
||
| Severity: | 3 |
| Rank (Obsolete): | 11610 |
| Description |
|
Error experienced: [ashehata@localhost dlc_manual]$ make pdf When commenting out 'make.component.tocs', everything works ok. |
| Comments |
| Comment by Ryan Haasken [ 05/Dec/13 ] |
|
I got the same error when attempting to build the pdf. haasken@lnx-haasken lustre-manual $ make pdf sed -e 's;PRIMARYXSL;/usr/share/xml/docbook/stylesheet/nwalsh5/1.74.0/fo/docbook.xsl;' ./style/customstyle_fo.xsl | \ xsltproc --xinclude -o lustre_manual.fo - ./index.xml Making portrait pages on USletter paper (8.5inx11in) runtime error: file - line 128 element call-template The called template 'make.component.tocs' was not found. error: file ./index.xml xsltRunStylesheet : run failed make: *** [lustre_manual.fo] Error 11 I am building on SUSE Linux Enterprise Desktop 11 SP2. I had to make a change to the makefile for the builds to work for SLED 11 SP2, but I still run into the above error. Here are my installed docbook packages (not sure why there is more than one version): haasken@lnx-haasken lustre-manual $ rpm -qa | grep docbook docbook_5-5.0-1.14 docbook-xsl-stylesheets-1.74.0-1.14 docbook_3-3.1-643.6 docbook-dsssl-stylesheets-1.79-19.6 docbook5-xsl-stylesheets-1.74.0-1.14 docbook_4-4.5-111.14 As pointed out above by Amir, when I comment out the line <xsl:call-template name="make.component.tocs"/>
in style/customstyle_fo.xsl, make pdf works. Does anybody have a permanent solution to this issue? Should that line be removed? |
| Comment by Jessica A. Popp (Inactive) [ 10/Feb/14 ] |
|
Richard, is this a ticket you could look at? |
| Comment by Richard Henwood (Inactive) [ 10/Feb/14 ] |
|
make.component.tocs was apparently introduced in version 1.77.1:
I'll have a quick look and see what the affect of removing the call-template gubbins is to the resulting document. |
| Comment by Richard Henwood (Inactive) [ 11/Feb/14 ] |
|
Seems like we can remove this command to increase compatibility without any noticeable changes to the current build and style: |
| Comment by Richard Henwood (Inactive) [ 13/Feb/14 ] |
|
Ryan, Amir: can you verify this patch works for you and I'll merge it. |
| Comment by Richard Henwood (Inactive) [ 13/Feb/14 ] |
|
Patch verified and landed. |
| Comment by Ryan Haasken [ 13/Feb/14 ] |
|
Richard, sorry it took me a while to respond. I have an IT-managed workstation, so installing fop by myself was a pain. Anyway, the patch works for me. I was able to build the pdf. Thanks! |