[kde-freebsd] Compiling kde 4.5.1 with 7.3-STABLE as on 8/21

Michael L. Squires mikes at siralan.org
Sun Aug 22 20:23:49 CEST 2010


I tried a "portupgrade -arR" and kde4 failed to install at two 
points.  I don't know if this is the correct solution (probably not) 
but at least kde 4.4.5_3 has compiled and installed.

This was compiled under adm64 7.3-STABLE from sources cvsup'd on 7/21.

(1)  /usr/ports/devel/kdebindings4-python-pykde4 failed; it is marked as
broken for version of FreeBSD before 800069.  The 
solution is found at

http://unix-forum.ru/topic997.html (in Russin; I used the Google translator)

which involved commenting out the three lines in the Makefile marking the
package as broken, and editing line 301 of

/usr/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.4.5/python/pykde4/kpythonpluginfactory/kpythonpluginfactory.cpp

and replacing

dlopen("kpythonpluginfactory.so", RTLD_NOLOAD | RTLD_GLOBAL);

with

dlopen("kpythonpluginfactory.so", RTLD_GLOBAL);

and

(2)  /usr/ports/print/print-system-config-printer also failed, with 
the following error:

/usr/ports/print/system-config-printer/work/system-config-printer-1.1.16/man/sys
tem-config-printer.xml:3: warning: failed to load external entity "http://www.oa
sis-open.org/docbook/xml/4.1.2/docbookx.dtd"
  "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
                                                             ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml
/4.1.2/docbookx.dtd
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4
.1.2/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/d
ocbook/xml/4.1.2/docbookx.dtd"
Document /usr/ports/print/system-config-printer/work/system-config-printer-1.1.1
6/man/system-config-printer.xml does not validate
gmake[1]: *** [man/system-config-printer.1] Error 13
gmake[1]: Leaving directory `/usr/ports/print/system-config-printer/work/system-
config-printer-1.1.16'
gmake: *** [all-recursive] Error 1
*** Error code 1

Stop in /usr/ports/print/system-config-printer.

And a solution at

http://forums.freebsd.org/showthread.php?p=97447

cd /usr/ports/print/system-config-printer/work/system-config-printer-1.1.16
xmlto --skip-validation man -o man man/system-config-printer.xml

followed by

cd /usr/ports/x11/kde4
make install

Mike Squires
mikes at siralan.org


More information about the kde-freebsd mailing list