Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 2010 15:31:18 -0400
From:      Janos Dohanics <web@3dresearch.com>
To:        freebsd-ports@freebsd.org
Subject:   x11/kdelibs4 build fails, can't find docbook
Message-ID:  <20100917153118.f5ae90bd.web@3dresearch.com>

next in thread | raw e-mail | index | archive | help
While building kde4-4.5.1, I get this error:

# make install clean
===>   kde4-4.5.1 depends on file: /usr/local/kde4/bin/kdebugdialog -
not found ===>    Verifying install
for /usr/local/kde4/bin/kdebugdialog in /usr/ports/x11/kdebase4-runtime
===>   kdebase-runtime-4.5.1 depends on file: /usr/local/lib/libssh.so
- found ===>   kdebase-runtime-4.5.1 depends on
file: /usr/local/share/xml/docbook/4.2/docbookx.dtd - not found ===>
Verifying install for /usr/local/share/xml/docbook/4.2/docbookx.dtd
in /usr/ports/textproc/docbook-xml ===>   Returning to build of
kdebase-runtime-4.5.1 ===>   kdebase-runtime-4.5.1 depends on
executable: gmake - found ===>   kdebase-runtime-4.5.1 depends on
file: /usr/local/lib/qt4/libQtCore.so - found ===>
kdebase-runtime-4.5.1 depends on file: /usr/local/lib/qt4/libQtDBus.so
- found ===>   kdebase-runtime-4.5.1 depends on
file: /usr/local/bin/moc-qt4 - found ===>   kdebase-runtime-4.5.1
depends on file: /usr/local/lib/qt4/libQtOpenGL.so - found ===>
kdebase-runtime-4.5.1 depends on file: /usr/local/lib/qt4/libphonon.so
- found ===>   kdebase-runtime-4.5.1 depends on
file: /usr/local/bin/qmake-qt4 - found ===>   kdebase-runtime-4.5.1
depends on file: /usr/local/bin/rcc - found ===>
kdebase-runtime-4.5.1 depends on file: /usr/local/bin/uic-qt4 - found
===>   kdebase-runtime-4.5.1 depends on file: /usr/local/bin/automoc4 -
found ===>   kdebase-runtime-4.5.1 depends on
file: /usr/local/bin/cmake - found ===>   kdebase-runtime-4.5.1 depends
on shared library: IlmImf.6 - found ===>   kdebase-runtime-4.5.1
depends on shared library: exiv2.9 - found ===>   kdebase-runtime-4.5.1
depends on shared library: xine.1 - found ===>   kdebase-runtime-4.5.1
depends on shared library: slp.1 - found ===>   kdebase-runtime-4.5.1
depends on shared library: smbclient.0 - found ===>
kdebase-runtime-4.5.1 depends on shared library: ssh.4 - found ===>
kdebase-runtime-4.5.1 depends on shared library: attica.0 - found
===>   kdebase-runtime-4.5.1 depends on shared library: intl - found
===>   kdebase-runtime-4.5.1 depends on shared library: kimproxy.5 -
not found ===>    Verifying install for kimproxy.5
in /usr/ports/x11/kdelibs4 ===>   kdelibs-4.5.1 depends on
file: /usr/local/lib/libhspell.a - found ===>   kdelibs-4.5.1 depends
on file: /usr/local/share/ontology/core/rdf.ontology - found ===>
kdelibs-4.5.1 depends on
file: /usr/local/share/xml/docbook/4.2/docbookx.dtd - not found ===>
Verifying install for /usr/local/share/xml/docbook/4.2/docbookx.dtd
in /usr/ports/textproc/docbook-xml ===>   Returning to build of
kdelibs-4.5.1 ===>   kdelibs-4.5.1 depends on
file: /usr/local/share/xsl/docbook/html/docbook.xsl - found ===>
kdelibs-4.5.1 depends on executable: gmake - found ===>   kdelibs-4.5.1
depends on executable: bison - found ===>   kdelibs-4.5.1 depends on
file: /usr/local/bin/assistant-qt4 - found ===>   kdelibs-4.5.1 depends
on file: /usr/local/lib/qt4/libQtCore.so - found ===>   kdelibs-4.5.1
depends on file: /usr/local/lib/qt4/libQtDBus.so - found ===>
kdelibs-4.5.1 depends on file: /usr/local/bin/designer-qt4 - found
===>   kdelibs-4.5.1 depends on file: /usr/local/lib/qt4/libQtGui.so -
found ===>   kdelibs-4.5.1 depends on
file: /usr/local/lib/qt4/plugins/imageformats/libqjpeg.so - found
===>   kdelibs-4.5.1 depends on file: /usr/local/bin/makeqpf-qt4 - found
===>   kdelibs-4.5.1 depends on file: /usr/local/bin/moc-qt4 - found
===>   kdelibs-4.5.1 depends on
file: /usr/local/lib/qt4/libQtNetwork.so - found ===>   kdelibs-4.5.1
depends on file: /usr/local/lib/qt4/libQtOpenGL.so - found ===>
kdelibs-4.5.1 depends on file: /usr/local/lib/qt4/libphonon.so - found
===>   kdelibs-4.5.1 depends on file: /usr/local/bin/qdbusviewer -
found ===>   kdelibs-4.5.1 depends on file: /usr/local/bin/qmake-qt4 -
found ===>   kdelibs-4.5.1 depends on
file: /usr/local/lib/qt4/libQt3Support.so - found ===>   kdelibs-4.5.1
depends on file: /usr/local/lib/qt4/libQtTest.so - found ===>
kdelibs-4.5.1 depends on file: /usr/local/bin/rcc - found ===>
kdelibs-4.5.1 depends on file: /usr/local/lib/qt4/libQtScript.so -
found ===>   kdelibs-4.5.1 depends on
file: /usr/local/lib/qt4/libQtSql.so - found ===>   kdelibs-4.5.1
depends on file: /usr/local/lib/qt4/libQtSvg.so - found ===>
kdelibs-4.5.1 depends on file: /usr/local/bin/uic-qt4 - found ===>
kdelibs-4.5.1 depends on file: /usr/local/lib/qt4/libQtXml.so - found
===>   kdelibs-4.5.1 depends on executable: pkg-config - found ===>
kdelibs-4.5.1 depends on file: /usr/local/bin/automoc4 - found ===>
kdelibs-4.5.1 depends on package: kde4-shared-mime-info>=1 - found
===>   kdelibs-4.5.1 depends on file: /usr/local/bin/cmake - found
===>   kdelibs-4.5.1 depends on shared library: searchclient - found
===>   kdelibs-4.5.1 depends on shared library: soprano.4 - found
===>   kdelibs-4.5.1 depends on shared library: IlmImf - found ===>
kdelibs-4.5.1 depends on shared library: aspell - found ===>
kdelibs-4.5.1 depends on shared library: jasper - found ===>
kdelibs-4.5.1 depends on shared library: pcre - found ===>
kdelibs-4.5.1 depends on shared library: avahi-core - found ===>
kdelibs-4.5.1 depends on shared library: enchant.1 - found ===>
kdelibs-4.5.1 depends on shared library: ungif.5 - found ===>
kdelibs-4.5.1 depends on shared library: png.6 - found ===>
kdelibs-4.5.1 depends on shared library: jpeg - found ===>
kdelibs-4.5.1 depends on shared library: idn - found ===>
kdelibs-4.5.1 depends on shared library: hal.1 - found ===>
kdelibs-4.5.1 depends on shared library: qca.2 - found ===>
kdelibs-4.5.1 depends on shared library: attica.0 - found ===>
kdelibs-4.5.1 depends on shared library: polkit-qt-core.0 - found
===>   kdelibs-4.5.1 depends on shared library: smbclient.0 - found
===>   kdelibs-4.5.1 depends on shared library: dbusmenu-qt.2 - found
===>   kdelibs-4.5.1 depends on shared library: utempter - found ===>
kdelibs-4.5.1 depends on shared library: dns_sd - found ===>
kdelibs-4.5.1 depends on shared library: intl - found ===>
kdelibs-4.5.1 depends on shared library: xml2.5 - found ===>
kdelibs-4.5.1 depends on shared library: xslt.2 - found ===>
Configuring for kdelibs-4.5.1
/usr/bin/sed -i.bak -e 's|/usr/local|/usr/local|g'  -e
's|/usr/X11R6|/usr/local|
g'  /usr/ports/x11/kdelibs4/work/kdelibs-4.5.1/cmake/modules/*.cmake  /usr/ports/x11/kdelibs4/work/kdelibs-4.5.1/ConfigureChecks.cmake  /usr/ports/x11/kdelibs4/work/kdelibs-4.5.1/doc/api/doxygen.sh /usr/bin/sed
-i.bak -e 's|/usr/include|/usr/local/include|
g'  /usr/ports/x11/kdelibs4/work/kdelibs-4.5.1/cmake/modules/FindDNSSD.cmake /usr/bin/sed
-i.bak -e 's|soprano/cmake|cmake/Modules|
g'  /usr/ports/x11/kdelibs4/work/kdelibs-4.5.1/cmake/modules/FindSoprano.cmake /usr/bin/sed
-i.bak -e
'/KDE_DEFAULT_HOME/s|.kde|.kde4|'  /usr/ports/x11/kdelibs4/work/kdelibs-4.5.1/CMakeLists.txt /bin/mkdir
-p /usr/ports/x11/kdelibs4/work/kdelibs-4.5.1/build
-- Found Qt-Version 4.6.3 (using /usr/local/bin/qmake-qt4)
-- Found X11: /usr/local/lib/libX11.so
-- Building kdelibs...
-- Found the KDE4 kconfig_compiler
preprocessor: /usr/ports/x11/kdelibs4/work/kdelibs-4.5.1/build/bin/./kconfig_compiler.shell
-- Found automoc4: /usr/local/bin/automoc4
-- Strigi API needs 'signed char'
WARNING: Installation prefix does not match PolicyKit install prefixes.
You probably will need to move files installed
in /usr/local/kde4/share/PolicyKit/policy/ and by
dbus_add_activation_system_service to
the /usr/local/share/PolicyKit/policy/ prefix
-- Building PolkitQt KAuth backend
-- -- Building Solid HAL backend.
-- Found Flex: /usr/bin/flex 2.5.4
-- Could NOT find DocBook XML DTDs (v4.2)  (missing:
DOCBOOKXML_CURRENTDTD_DIR) 
-- Found GSSAPI: -L/usr/lib -lgssapi -lheimntlm -lkrb5 -lhx509
-lcom_err -lcrypto -lasn1 -lroken -lcrypt
-- Found
OPENEXR: /usr/local/lib/libImath.so;/usr/local/lib/libIlmImf.so;/usr/local/lib/libIex.so;/usr/local/lib/libHalf.so;/usr/local/lib/libIlmThread.so
-- Adding support for OpenGL applets to libplasma
-- Adding support for Phonon to libplasma

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these
packages.
-----------------------------------------------------------------------------
   * Perl - Perl Programming Language
   * ZLib - The Zlib compression library
   * Strigi - A fast and small desktop searching program
   * libattica - A library to access Open Collaboration Service
providers
   * X Rendering extension - an X Window System extension for image
compositing
   * libxss - XScreenSaver Library
   * libxext - XSync Extension
   * BZip2 - A high-quality data compressor
   * LZMA/XZ - A very high compression ratio data compressor
   * OpenSSL - A toolkit implementing the Secure Sockets Layer (SSL
v2/v3) and Transport Layer Security (TLS v1) protocols
   * Libintl - Library for message translation
   * OpenGL - API for developing portable, interactive 2D and 3D
graphics applications
   * Soprano - Semantic Desktop Storing
   * Soprano Raptor Parser - RDF parser plugin for Soprano
   * Soprano Redland Backend - Redland storage backend for Soprano
   * Shared desktop ontologies - Desktop ontologies
   * QCA2 - Qt Cryptographic Architecture
   * DBusMenuQt - API to import export QMenu instance using DBusMenu
protocol
   * PolkitQt - Qt Wrapper around Policykit
   * PCRE - Perl Compatible Regular Expression
   * Flex - Fast lexical analyser generator
   * Bison - Project parser generator (yacc replacement)
   * LibXSLT - A library to transform XML files into other XML files
   * LibXML2 - Libraries used to develop XML applications
   * DocBook XSL - Stylesheets for processing DocBook XML
   * GSSAPI - Generic Security Services API
   * shared-mime-info - The core MIME database used to represent types
of files
   * Aspell - GNU Aspell spell checker
   * HSpell - Hebrew spell checker
   * Enchant - Enchant Package
   * libjpeg - A library for reading and writing JPEG image files
   * giflib - A library for manipulating GIF format image files
   * libpng - A library for manipulating PNG image format files
   * JasPer - JasPer JPEG2000 Library
   * OpenEXR - A library for manipulating OpenEXR image files
   * Avahi - For Linux and BSDs: a system which facilitates service
discovery on a local network, based on the Zeroconf standard

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * LibACL  <ftp://oss.sgi.com/projects/xfs/cmd_tars>;
     Access control list (ACL) support library
     STRONGLY RECOMMENDED: For manipulating access control lists.
   * FAM  <http://oss.sgi.com/projects/fam>;
     File Alteration Monitor
     Provides file alteration notification facilities using a separate
service.

-----------------------------------------------------------------------------
-- The following REQUIRED packages could NOT be located on your system.
-- You must install these packages before continuing.
-----------------------------------------------------------------------------
   * DocBook XML  <http://www.oasis-open.org/docbook/xml/4.2>;
     XML DTDs for DocBook 4.2
     Needed for building the KDE help system.

-----------------------------------------------------------------------------

CMake Error at cmake/modules/MacroLogFeature.cmake:141 (MESSAGE):
  Exiting: Missing Requirements
Call Stack (most recent call first):
  CMakeLists.txt:328 (macro_display_feature_log)


-- Configuring incomplete, errors occurred!
You have changed variables that require your cache to be deleted.
Configure will be re-run and you may have to reset some variables.
The following variables have changed:
CMAKE_C_COMPILER= cc
CMAKE_CXX_COMPILER= c++

-- Generating done
-- Build files have been written
to: /usr/ports/x11/kdelibs4/work/kdelibs-4.5.1/build *** Error code 1

Stop in /usr/ports/x11/kdelibs4.
*** Error code 1

Stop in /usr/ports/x11/kdebase4-runtime.
*** Error code 1

Stop in /usr/ports/x11/kdebase4-runtime.
*** Error code 1

Stop in /usr/ports/x11/kde4.
*** Error code 1

Stop in /usr/ports/x11/kde4.

However:

# portversion -vF docbook*
docbook-4.1_4               =  up-to-date with port 
docbook-xml-4.2_1           =  up-to-date with port 
docbook-xml-4.4_1           =  up-to-date with port 
docbook-xsl-1.75.2          =  up-to-date with port 

Deinstalling/reinstalling docbook-xml-4.2_1 doesn't seem to help...

How can I fix this?

-- 
Janos Dohanics
<web@3dresearch.com>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100917153118.f5ae90bd.web>