Author Topic: asciidoc problem  (Read 264 times)

Offline tele

  • Full Member
  • ***
  • Posts: 196
asciidoc problem
« on: December 20, 2012, 04:00:27 AM »
Im trying build k3d and I have error

[ 98%] Generating k3d-renderframe.1
a2x: ERROR: "xmllint" --nonet --noout --valid "/home/gg3/Downloads/k3d/k3d-build/share/man/man1/k3d-renderframe.1.xml" returned non-zero exit status 4
make[2]: *** [share/man/k3d-renderframe.1] error 1
make[1]: *** [share/man/CMakeFiles/k3d-renderframe.1.dir/all] error2

However:
Quote
To circumvent the error, you can select in the cmake-gui to not build the documentation


But I still look for answers, maybe someone will know.
I find like this, but this does not fit into my file
http://www.learnosity.com/techblog/index.cfm/HOWTO

Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<?asciidoc-toc?>
<?asciidoc-numbered?>
<refentry lang="en">
<refentryinfo>
    <title>K3D-RENDERFRAME(1)</title>
</refentryinfo>
« Last Edit: December 20, 2012, 08:10:34 AM by tele »
---
Sorry, if my language is wrong,
you please write notice where I do mistakes, I will try to learn.

Offline ghostbunny

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1160
Re: asciidoc and pdf problem
« Reply #1 on: December 20, 2012, 06:37:29 AM »
a srpm, a spec file or at least a link to the source code would be nice to get  an idea what you did.


But I still look for answers, maybe someone will know.
I find like this, but this does not fit into my file
http://www.learnosity.com/techblog/index.cfm/HOWTO

Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<?asciidoc-toc?>
<?asciidoc-numbered?>
<refentry lang="en">
<refentryinfo>
    <title>K3D-RENDERFRAME(1)</title>
</refentryinfo>


you are not on a mac os ::)

try to install docbook-dtd45-xml from the repo and try the build again
« Last Edit: December 20, 2012, 06:43:24 AM by ghostbunny »
The full life is a big mess

PS:
I'm German. Sorry because of possible mistakes in my written messages xD


Offline tele

  • Full Member
  • ***
  • Posts: 196
Re: asciidoc and pdf problem
« Reply #2 on: December 20, 2012, 08:10:13 AM »
You have a good eye  ;D
This working,  Thanks!

I have next error but other:

a2x: finding resources in: /home/gg3/Downloads/k3d/k3d-build/share/k3d/guide/chunked/guide.chunked/apbs46.html
a2x: ERROR: missing resource: /home/gg3/Downloads/k3d/k3d-build/share/k3d/guide/chunked/2318eb76-ed7b-4b40-ac6a-5876a287c349.png
make[2]: *** [share/k3d/guide/chunked/guide.chunked/index.html] Błąd 1
make[1]: *** [share/k3d/guide/CMakeFiles/docs-guide-ngui.dir/all] Błąd 2
make: *** [all] Błąd 2

Quote
a srpm, a spec file or at least a link to the source code would be nice to get  an idea what you did.

If you want  ;D
But spec file is not finish, for now I only build and testing from 'make install' , only BuildRequires: and Requires you can use from google doc.
http://www.pclinuxos.com/forum/index.php/topic,110791.0.html

Edit:
Uhh! Build is finish , I installed pngnq  , and this solved too problem.
« Last Edit: December 20, 2012, 02:59:28 PM by tele »
---
Sorry, if my language is wrong,
you please write notice where I do mistakes, I will try to learn.