problem mit devel/kdebindings4-python-pykde4

ino

Member
Hallo zusammen,

hab ein problem bei ner kde4 installation via ports.
komme hier grad nicht weiter und konnte auch nichts brauchbares im netz finden.


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/libpython2.7.so
- - -- Found Python executable: /usr/local/bin/python2.7
- - -- Found Python version: 2.7.1
- - -- Found Python library: /usr/local/lib/libpython2.7.so
- - -- Python Libraries: /usr/local/lib/libpython2.7.so
- - -- 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/FindSIP.py", line 8, in
<module>
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
packages.
-
-----------------------------------------------------------------------------
* 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
must
search:

smokeqtcore

and other libraries with known full path:


/usr/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.6.3/generator/bin/libsmokebase.so.3.0.0
/usr/local/lib/qt4/libQtCore.so

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:
/usr/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.6.3
===> 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



war dann auf freshports um zu sehn wie das packet heißt.
nächste verwirrung:

pkg_add -r py27-kdebindings-kde (so stehts auf freshports)

Allerdings gibt es auf dem server py26-kdebindings-kde

in UPDATING fand ich folgendes:

20110324:
AFFECTS: users of KDE SC 4
AUTHOR: kde@FreeBSD.org

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
required:

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

hilft auch nicht wirklich da ich kein update fahre sondern neuinstalliere.
vermute ein problem mit python26 /27.
multimedia/py-gstreamer tuts auch nicht.

jemand eine idee?

grüße
ino
 
Hast du das System auch grad erst neuinstalliert oder ist es ein aelteres wo du jetzt KDE installieren willst?

Wie sehen denn die ganzen Python Versionen bei dir aus?
 
hallo lockdoc,

es ist ein neu installiertes system.
ich hab bis jetzt keine PYTHON_DEFAULT_VERSION in meiner make.conf.

das hatte ich beim ersten anlauf.
da hab ich via:
portmaster -o lang/python27 lang/python26
alles nach 27 umgebaut und hatte das gleiche ergebnis. der build brach an genau der selben stelle ab. deshalb hab ich die python version einfach mal offen gelassen. hatte das früher auch nie gemacht und kann mich auch an keine großen probleme von 25 nach 26 erinnern.
brauche ja auch beide versionen weil kde4 ja beide benutzt.

pkg_info | grep python
boost-python-libs-1.45.0_1 Framework for interfacing Python and C++
python26-2.6.6_1 An interpreted object-oriented programming language
python27-2.7.1_1 An interpreted object-oriented programming language

pkg_info -E python\*
python26-2.6.6_1
python27-2.7.1_1

besser wieder python27 als default zu definieren?

grüße
ino
 
Dass KDE zwei verschiedene pythonversionen paralell zueinander will, ist mir neu.

Du schreibst zwar über den update mittels portmaster, aber nichts über upgrade-site-packages.
Vielleicht löst sich dein Problem, wenn du den Tipps im Eintrag in /ports/UPDATING bezüglich update von python26 auf 27 komplett befolgst?
 
hab das was in UPDATING bezüglich python27 steht gemacht
jetzt hab ich folgendes problem
der port textproc/py-libxml2 lässt sich nicht installieren:

/usr/bin/ld: cannot find -lpth
gmake[1]: *** [libxml2mod.la] Fehler 1
gmake[1]: Leaving directory `/usr/ports/textproc/py-libxml2/work/libxml2-2.7.8/python'
gmake: *** [all-recursive] Fehler 1
*** Error code 1

Stop in /usr/ports/textproc/py-libxml2.

===>>> make failed for textproc/py-libxml2
===>>> Aborting update

fällt dazu jemandem etwas ein?
 
Zurück
Oben