devel/kdebindings4-python-pykde4 dosn't work

joerg_surmann joerg_surmann at
Thu Jun 2 20:46:57 UTC 2011

Hash: SHA1

Hi all,

i've a brand new FreeBSD here and will install KDE4 from ports.
I think maby i've problem with python versions.

When i try:
portmaster  devel/kdebindings4-python-pykde4


- -- Found Python executable: /usr/local/bin/python2.7
- -- Found Python version: 2.7.1
- -- Found Python library: /usr/local/lib/
- -- Found Python executable: /usr/local/bin/python2.7
- -- Found Python version: 2.7.1
- -- Found Python library: /usr/local/lib/
- -- Python Libraries: /usr/local/lib/
- -- Python Include Path: /usr/local/include/python2.7
- -- Build Kross Python... yes
Traceback (most recent call last):
  File "/usr/local/kde4/share/apps/cmake/modules/", line 8, in
    import sipconfig
ImportError: No module named sipconfig
- -- Build PyKDE4... no
- -- Build Kross Falcon... no

- -- The following external packages were located on your system.
- -- This installation will have the extra features provided by these
   * Qwt5 for Qt4 - Qwt5 libraries for Qt4
   * QScintilla2 - QScintilla2 libraries
   * Phonon - Phonon multimedia framework
   * QImageBlitz - QImageBlitz library
   * Soprano - Soprano libraries
   * Shared desktop ontologies - Support for the Nepomuk semantic
desktop system
   * Nepomuk - Nepomuk libraries
   * kdepimlibs - KDE PIM libraries
   * Akonadi - Akonadi libraries
   * Okular - Okular libraries
   * libattica - LibAttica

- -- Congratulations! All external packages have been found.

- -- Configuring done
CMake Warning (dev) at generator/smokeapi/CMakeLists.txt:6 (add_executable):
  Policy CMP0003 should be set before this line.  Add code such as

    if(COMMAND cmake_policy)
      cmake_policy(SET CMP0003 NEW)
    endif(COMMAND cmake_policy)

  as early as possible but after the most recent call to
  cmake_minimum_required or cmake_policy(VERSION).  This warning appears
  because target "smokeapi" links to some libraries for which the linker


  and other libraries with known full path:


  CMake is adding directories in the second list to the linker search
path in
  case they are needed to find libraries from the first list (for backwards
  compatibility with CMake 2.4).  Set policy CMP0003 to OLD or NEW to enable
  or disable this behavior explicitly.  Run "cmake --help-policy
CMP0003" for
  more information.
This warning is for project developers.  Use -Wno-dev to suppress it.

- -- Generating done
CMake Warning: The variable, 'WITH_PolkitQt', specified manually, was
not used during the generation.
- -- Build files have been written to:
===>  Building for py26-kdebindings-kde-4.6.3
make: cannot open Makefile.
*** Error code 1

Stop in /usr/ports/devel/kdebindings4-python-pykde4.

===>>> make failed for devel/kdebindings4-python-pykde4
===>>> Aborting update

===>>> You can restart from the point of failure with this command line:
       portmaster <flags> devel/kdebindings4-python-pykde4

When i try to install the same as a packet then i found on the
freshports site this:

pkg_add -r py27-kdebindings-kde

There is only a package pkg_add -r py26-kdebindings-kde on the FreeBSD
I found in /usr/ports/UPDATING this:

  AFFECTS: users of KDE SC 4
  AUTHOR: kde at

  KDE SC ports have been updated to 4.6.1. As usual a number of files were
  moved between packages, manual intervention into update procedure is

  # pkg_delete -f kdehier4\* kdebase-runtime-4\* kdebase-workspace-4\*
  # pkg_delete -f kdeedu-4\* kdeutils-4\*
  # portmaster -a

But this is not really helpfu l- it's a new installation not a update.

Can anyon help me?


Best regards

Version: GnuPG/MacGPG2 v2.0.12 (Darwin)
Comment: Using GnuPG with Mozilla -


More information about the freebsd-stable mailing list