(Solved) I can't compile
I'm on MX Linux 23 (Debian 12) with almost every dependency installed.
GTK 4.10 is not available for Debian Stable, only sid
.
I don't even know what xmllint does not support Relax NG schemas and DocBook V5.0.
means and I have tried searing in Google but I have found nothing.
What I really want is the PDF. Only the PDF. It is impossible to find it on the website and I have been rejected in StackOverflow about this topic
I'm desperate now.
datalot@mx:~/git-clones/gtkmm-documentation/build-dir
$ ninja
[0/1] Regenerating build files.
The Meson build system
Version: 1.0.1
Source dir: /home/datalot/git-clones/gtkmm-documentation
Build dir: /home/datalot/git-clones/gtkmm-documentation/build-dir
Build type: native build
Project name: gtkmm-documentation
Project version: 4.10.0
C compiler for the host machine: ccache cc (gcc 12.2.0 "cc (Debian 12.2.0-14) 12.2.0")
C linker for the host machine: cc ld.bfd 2.40
C++ compiler for the host machine: ccache c++ (gcc 12.2.0 "c++ (Debian 12.2.0-14) 12.2.0")
C++ linker for the host machine: c++ ld.bfd 2.40
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES 3.11.2 (/usr/bin/python3)
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Dependency gtkmm-4.0 found: NO found 4.8.0 but need: '>= 4.10.0'
Found CMake: /usr/bin/cmake (3.25.1)
Run-time dependency gtkmm-4.0 found: NO (tried pkgconfig and cmake)
Dependency giomm-2.68 found: YES 2.74.0 (cached)
Compiler for C supports arguments -Wno-overlength-strings: YES (cached)
Program xsltproc found: YES (/usr/bin/xsltproc)
Program xmllint found: YES (/usr/bin/xmllint)
../docs/tutorial/meson.build:29: WARNING: Can't validate XML file.
xmllint does not support Relax NG schemas and DocBook V5.0.
DocBook V5.0 support may require docbook5-xml, docbook5-schemas or a similar package.
Program msgfmt found: YES (/usr/bin/msgfmt)
Program itstool found: YES (/usr/bin/itstool)
Program dblatex found: YES (/usr/bin/dblatex)
Message:
------
gtkmm-documentation 4.10.0
Build examples: false (requires gtkmm-4.0 >= 4.10.0 and giomm-2.68 >= 2.68.0)
Compiler warnings: min (warning_level: 1, werror: false)
XML validation: false (requires xmllint with Relax NG and DocBook V5.0 support)
Allow network access: false
Build translations: false
Build PDF: true
Directories:
prefix: /usr/local
datadir: /usr/local/share
tutorialdir: /usr/local/share/doc/gtkmm-4.0/tutorial
------
Build targets in project: 4
gtkmm-documentation 4.10.0
User defined options
allow-network-access: false
build-pdf : true
build-translations : false
Found ninja-1.11.1 at /usr/bin/ninja
[1/2] Generating docs/tutorial/html_index.html with a custom command
FAILED: docs/tutorial/html
/usr/bin/python3 /home/datalot/git-clones/gtkmm-documentation/tools/meson_aux/tutorial-custom-cmd.py html false docs/tutorial/index.docbook docs/tutorial/html
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
cannot parse http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
[2/2] Generating docs/tutorial/C-pdf with a custom command
Build the book set list...
Build the listings...
XSLT stylesheets DocBook - LaTeX 2e (0.3.12)
===================================================
Stripping NS from DocBook 5/NG document.
Processing stripped document.
application: default template used in programlisting or screen
application: default template used in programlisting or screen
function: default template used in programlisting or screen
function: default template used in programlisting or screen
Build index.docbook.pdf
'programming-with-gtkmm.pdf' successfully built
ninja: build stopped: subcommand failed.
datalot@mx:~/git-clones/gtkmm-documentation/build-dir
$ ninja
[1/1] Generating docs/tutorial/html_index.html with a custom command
FAILED: docs/tutorial/html
/usr/bin/python3 /home/datalot/git-clones/gtkmm-documentation/tools/meson_aux/tutorial-custom-cmd.py html false docs/tutorial/index.docbook docs/tutorial/html
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
cannot parse http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
ninja: build stopped: subcommand failed.