View previous topic :: View next topic |
Author |
Message |
Spiros Apprentice
Joined: 11 Mar 2008 Posts: 189 Location: Zurich
|
Posted: Sat Feb 07, 2009 1:05 am Post subject: [SOLVED] pykde4: problema en la compilación |
|
|
Hola.
pykde4 tiene un problema; al final de la compilación sale un error:
Code: |
[ 98%] Building CXX object python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/kpythonpluginfactory_automoc.o
[ 99%] Building CXX object python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/kpythonpluginfactory.o
[ 99%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_soprano.dir/sip/soprano/sipsopranopart6.o
In file included from /usr/include/python2.4/Python.h:13,
from /usr/include/python2.4/sip.h:28,
from /var/tmp/portage/kde-base/pykde4-4.2.0/work/pykde4_build/python/pykde4/sip/soprano/sipAPIsoprano.h:11,
from /var/tmp/portage/kde-base/pykde4-4.2.0/work/pykde4_build/python/pykde4/sip/soprano/sipsopranopart6.cpp:7:
/usr/include/python2.4/pyconfig.h:867:1: warning: "_XOPEN_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
/usr/include/python2.4/object.h:343: error: expected unqualified-id before ‘;’ token
/usr/include/python2.4/object.h:343: error: abstract declarator ‘PyObject*’ used as declaration
/var/tmp/portage/kde-base/pykde4-4.2.0/work/pykde4-4.2.0/python/pykde4/kpythonpluginfactory/kpythonpluginfactory.cpp:111: warning: unused parameter ‘args’
/var/tmp/portage/kde-base/pykde4-4.2.0/work/pykde4-4.2.0/python/pykde4/kpythonpluginfactory/kpythonpluginfactory.cpp: In function ‘int kdemain(int, char**)’:
/var/tmp/portage/kde-base/pykde4-4.2.0/work/pykde4-4.2.0/python/pykde4/kpythonpluginfactory/kpythonpluginfactory.cpp:320: warning: unused variable ‘pyLib’
make[2]: *** [python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/kpythonpluginfactory.o] Error 1
make[1]: *** [python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_soprano.dir/sip/soprano/sipsopranopart7.o
In file included from /usr/include/python2.4/Python.h:13,
from /usr/include/python2.4/sip.h:28,
from /var/tmp/portage/kde-base/pykde4-4.2.0/work/pykde4_build/python/pykde4/sip/soprano/sipAPIsoprano.h:11,
from /var/tmp/portage/kde-base/pykde4-4.2.0/work/pykde4_build/python/pykde4/sip/soprano/sipsopranopart7.cpp:7:
/usr/include/python2.4/pyconfig.h:867:1: warning: "_XOPEN_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
Linking CXX shared library ../../lib/pykde/soprano.so
[100%] Built target python_module_PyKDE4_soprano
Linking CXX shared library ../../lib/pykde/plasma.so
[100%] Built target python_module_PyKDE4_plasma
make: *** [all] Error 2
*
* ERROR: kde-base/pykde4-4.2.0 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4002: Called kde4-meta_src_compile
* environment, line 2957: Called kde4-base_src_make
* environment, line 2720: Called cmake-utils_src_make
* environment, line 1071: Called die
* The specific snippet of code:
* emake "$@" || die "Make failed!";
* The die message:
* Make failed!
|
El error es este:
Code: |
/usr/include/python2.4/object.h:343: error: expected unqualified-id before ‘;’ token
/usr/include/python2.4/object.h:343: error: abstract declarator ‘PyObject*’ used as declaration
|
Probablemente existe una incompatibilidad entre pykde4 y las Qt. Alguien tiene una idea de como solucionar? _________________ Spiros
Last edited by Spiros on Sat Feb 07, 2009 12:39 pm; edited 1 time in total |
|
Back to top |
|
|
Txema l33t
Joined: 20 May 2008 Posts: 772 Location: Granada
|
Posted: Sat Feb 07, 2009 10:07 am Post subject: |
|
|
Prueba esto:
Code: | emerge -C pykde
emerge pykde4
emerge pykde (si realmente lo necesitas) |
|
|
Back to top |
|
|
Spiros Apprentice
Joined: 11 Mar 2008 Posts: 189 Location: Zurich
|
Posted: Sat Feb 07, 2009 12:21 pm Post subject: |
|
|
Lo que pasa es que yo no tengo instaladas las pykde, porque estoy instalando KDE4.2 sin tener KDE3.
EDIT: he resuelto instalando python2.5. Tenía el 2.4. _________________ Spiros |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|