Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

29.08.2011, 22:35

system-config-printer-kde-4.7.0 failed

Hallo!
Das Packet system-config-printer-kde-4.7.0 lässt sich bei mir nicht Installieren. Möglicherweise handelt es sich dabei um ein Python Problem. Instaliert sind bei mir die Python Versionen 3.2-r2 und 2.7.1.r1 eselect python set ist bei mir auf die Version 2.7 gesetzt python updater habe ich ebenfalls gemacht allerdings ohne Erfolg

2

29.08.2011, 23:03

Hallo Chris

schau mal ob der schon hier genannte Tipp weiterhilft.

Ansonsten wäre es prima wenn du deine "emerge --info" Ausgabe und die build.log posten würdest
(am besten komplett als Anhang)

3

30.08.2011, 17:56

hallöchen ich klinke mich hier mal mit ein ... denn ich hab das gleiche problem aber mit einer anderen version

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Found KDE 4.6 include dir: /usr/include
-- Found KDE 4.6 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found PythonInterp: /usr/bin/python 
-- Found Python executable: /usr/bin/python
-- Found Python version: 2.7.1
-- Found Python library: /usr/lib64/libpython2.7.so
-- Found SIP version: 4.12.3
-- Found PyQt4 version: 4.8.4
Traceback (most recent call last):
  File "/usr/share/apps/cmake/modules/FindPyKDE4.py", line 8, in <module>
    import PyKDE4.pykdeconfig
  File "/usr/lib64/python2.7/site-packages/PyKDE4/__init__.py", line 1, in <module>
    import sys,DLFCN
ImportError: No module named DLFCN
-- Found PyCups
-- Found System Config Printer


das problem is das DLFCN nicht gefunden wird soweit ich das mit bekommen habe

hab jetzt mal rum gesurft im www und das hier gefunden

http://forums.gentoo.org/viewtopic-t-878207-start-0.html

http://bugs.python.org/issue12326

in wie weit das weiter hilft oder sogar das problem löst weis ich nicht .. ich bin gerade erst selber beim testen

Das Problem tritt auch nur bei den Kerne Versionen auf die mit 3.*
alle mit 2.6.* klappt es das installieren von dem oben gesagten programm (bei mir zumindest)

vieleicht weis einer noch einen tipp oder hat mehr infos !?

lg
schatti
''''''''''''''''''''''''''''''''''''''''''''''''
Gentoo-Linux
der G-Punkt eines Pc´s

''''''''''''''''''''''''''''''''''''''''''''''''

4

30.08.2011, 18:52

Quellcode

1
2
import sys,DLFCN
ImportError: No module named DLFCN

Hmm.., ich kann das ganze nicht nachvollziehen, hat der von mir verlinkte Beitrag nicht geholfen?

Ok, noch mal etwas ausführlicher:
Soweit ich das sehe stammt das nicht vorhandene DLFCN python Modul aus dem Paket kde-base/pykde4
Für ein gesundes python unter KDE würde ich folgendes vorschlagen:
Baut folgende Pakete in genannter Reihenfolge neu

Quellcode

1
# emerge -av1 sip PyQt4 pykde4

wenn das sauber durch ist baut bitte auch die von PyQt4 und pykde4 abhängigen Pakete neu,
welche das bei euch sind listet ein

Quellcode

1
# equery depends PyQt4 pykde4
Baut die aufgelisteten Pakete bitte auch via

Quellcode

1
# emerge -av1 Paket1 Paket2 usw
neu.
Danach solltet ihr ein gesundes python unter KDE haben und auch das system-config-printer Package sollte dann korrekt bauen :)

btw
Achtet doch bitte mal mehr auf die postinstall Messages die portage euch liefert, dort wurde all das auch schon genannt bzw empfohlen ;)
Und mit der verwendeten Kernel Version sollte das ganze nichts zu tun haben.

5

30.08.2011, 20:34

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
>>> Emerging (6 of 6) kde-base/system-config-printer-kde-4.6.5
 * kdeadmin-4.6.5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                            [ ok ]
>>> Unpacking source...
 * Unpacking parts of kdeadmin-4.6.5.tar.bz2 to /var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/work ...
tar extract command failed at least partially - continuing anyway                                                                    [ ok ]
>>> Source unpacked in /var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/work
>>> Preparing source in /var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/work/system-config-printer-kde-4.6.5 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/work/system-config-printer-kde-4.6.5 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/work/system-config-printer-kde-4.6.5_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DKDE4_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/temp/gentoo_rules.cmake  /var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/work/system-config-printer-kde-4.6.5
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/temp/gentoo_common_config.cmake
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.7.2 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4 
-- Found Perl: /usr/bin/perl 
-- Found Phonon: /usr/include 
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.6 include dir: /usr/include
-- Found KDE 4.6 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found PythonInterp: /usr/bin/python 
-- Found Python executable: /usr/bin/python
-- Found Python version: 2.7.1
-- Found Python library: /usr/lib64/libpython2.7.so
-- Found SIP version: 4.12.3
-- Found PyQt4 version: 4.8.4
Traceback (most recent call last):
  File "/usr/share/apps/cmake/modules/FindPyKDE4.py", line 8, in <module>
    import PyKDE4.pykdeconfig
  File "/usr/lib64/python2.7/site-packages/PyKDE4/__init__.py", line 1, in <module>
    import sys,DLFCN
ImportError: No module named DLFCN
-- Found PyCups
-- Found System Config Printer

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * PyKDE4  <http://websvn.kde.org/trunk/KDE/kdebindings/python/pykde4/>
     PyKDE4 was not found.  It is needed by system-config-printer-kde to run.  (Use -DINSTALL_SYSTEM_CONFIG_PRINTER=TRUE to install anyway)

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

-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=core2 -mtune=generic -O2 -pipe  -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common
C++             -march=core2 -mtune=generic -O2 -pipe  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Werror=return-type -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden
Linker flags:
Executable      -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed
Module          -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-O1 -Wl,--as-needed
Shared          -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-O1 -Wl,--as-needed

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/work/system-config-printer-kde-4.6.5_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/work/system-config-printer-kde-4.6.5 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/work/system-config-printer-kde-4.6.5_build"
make -j3 
>>> Source compiled.
>>> Test phase [not enabled]: kde-base/system-config-printer-kde-4.6.5

>>> Install system-config-printer-kde-4.6.5 into /var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/image/ category kde-base
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/work/system-config-printer-kde-4.6.5_build"
make -j3 DESTDIR=/var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/image/ install 
make: *** Keine Regel, um »install« zu erstellen.  Schluss.
emake failed
 * ERROR: kde-base/system-config-printer-kde-4.6.5 failed (install phase):
 *   died running make install, base_src_install
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_install
 *   environment, line 7014:  Called kde4-meta_src_install
 *   environment, line 4259:  Called kde4-base_src_install
 *   environment, line 3885:  Called cmake-utils_src_install
 *   environment, line 1976:  Called _execute_optionaly 'src_install'
 *   environment, line  901:  Called enable_cmake-utils_src_install
 *   environment, line 2303:  Called base_src_install
 *   environment, line 1628:  Called die
 * The specific snippet of code:
 *       emake DESTDIR="${D}" "$@" install || die "died running make install, $FUNCNAME";
 * 
 * If you need support, post the output of 'emerge --info =kde-base/system-config-printer-kde-4.6.5',
 * the complete build log and the output of 'emerge -pqv =kde-base/system-config-printer-kde-4.6.5'.
 * The complete build log is located at '/var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/temp/environment'.
 * S: '/var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/work/system-config-printer-kde-4.6.5'

>>> Failed to emerge kde-base/system-config-printer-kde-4.6.5, Log file:

>>>  '/var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/temp/build.log'

 * Messages for package kde-base/system-config-printer-kde-4.6.5:

 * ERROR: kde-base/system-config-printer-kde-4.6.5 failed (install phase):
 *   died running make install, base_src_install
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_install
 *   environment, line 7014:  Called kde4-meta_src_install
 *   environment, line 4259:  Called kde4-base_src_install
 *   environment, line 3885:  Called cmake-utils_src_install
 *   environment, line 1976:  Called _execute_optionaly 'src_install'
 *   environment, line  901:  Called enable_cmake-utils_src_install
 *   environment, line 2303:  Called base_src_install
 *   environment, line 1628:  Called die
 * The specific snippet of code:
 *       emake DESTDIR="${D}" "$@" install || die "died running make install, $FUNCNAME";
 * 
 * If you need support, post the output of 'emerge --info =kde-base/system-config-printer-kde-4.6.5',
 * the complete build log and the output of 'emerge -pqv =kde-base/system-config-printer-kde-4.6.5'.
 * The complete build log is located at '/var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/temp/environment'.
 * S: '/var/tmp/portage/kde-base/system-config-printer-kde-4.6.5/work/system-config-printer-kde-4.6.5'

 * GNU info directory index is up-to-date.


alle anderen laufen problemlos durch ... nur das hier weigert sich nach wie vor

@josef.95 bin genauso vorgegangen ... wie aufgeschrieben ...

aber warum wird dann im forum.gentoo darüber geredet das kernel 3 undpython nicht zusammen arbeiten ...
und warum gibts dann einen patch für den kernel?
''''''''''''''''''''''''''''''''''''''''''''''''
Gentoo-Linux
der G-Punkt eines Pc´s

''''''''''''''''''''''''''''''''''''''''''''''''

6

30.08.2011, 20:55

@josef.95 bin genauso vorgegangen ... wie aufgeschrieben ...

aber warum wird dann im forum.gentoo darüber geredet das kernel 3 undpython nicht zusammen arbeiten ...
und warum gibts dann einen patch für den kernel?

Sorry, ich hab die Diskussion auf forums.gentoo.org und den bug Report nicht verfolgt. Ich hab von dem ganzen nichts mitbekommen. ich habe system-config-printer-kde normal auch nicht installiert da ich es nicht brauche. Und von Python Unverträglichkeit mit dem 3.0er Kernel hab ich auch nichts bemerkt.
Ich hab es hier aber nun noch mal getestet:
Aktuell laufender Kernel ist

Quellcode

1
2
uname -r
3.0.3-gentoo

Deine vermissten Python Module lassen sich auch einwandfrei laden

Quellcode

1
2
3
4
5
6
$ python
Python 2.7.2 (default, Aug 30 2011, 00:04:39) 
[GCC 4.5.3] on linux3
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys,DLFCN
>>>

Und =kde-base/system-config-printer-kde-4.7.0 lies sich auch einwandfrei mergen.

7

30.08.2011, 23:02

jo macht ja nix darum hab ich ja nachgefragt wegen dem link von mir :-)

Quellcode

1
2
3
skull passedan # uname -r
3.0.4-gentoo
skull passedan #


Quellcode

1
2
3
4
5
skull passedan # python
Python 2.7.1 (r271:86832, Aug 29 2011, 03:47:20) 
[GCC 4.4.5] on linux3
Type "help", "copyright", "credits" or "license" for more information.
>>>


und ich verwende noch

Quellcode

1
kde-base/system-config-printer-kde-4.6.5


könnte es daran liegen ? das ich
gcc 4.4.5 und kde-4.6.5 verwenden ?


schatti
''''''''''''''''''''''''''''''''''''''''''''''''
Gentoo-Linux
der G-Punkt eines Pc´s

''''''''''''''''''''''''''''''''''''''''''''''''

8

31.08.2011, 12:01

Ich habe die Python Pakete wie in der Anleitung neu gebaut. Leider funktioniert es bei mir auch nicht.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
>>> Emerging (1 of 1) kde-base/system-config-printer-kde-4.7.0
 * kdeadmin-4.7.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                           	[ ok ]
 * Package:	kde-base/system-config-printer-kde-4.7.0
 * Repository: gentoo
 * Maintainer: kde@gentoo.org
 * USE:    	amd64 consolekit elibc_glibc kernel_linux multilib policykit userland_GNU
 * FEATURES:   sandbox
>>> Unpacking source...
 * Unpacking parts of kdeadmin-4.7.0.tar.bz2 to /var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/work ...
tar extract command failed at least partially - continuing anyway                                                   	[ ok ]
>>> Source unpacked in /var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/work
>>> Preparing source in /var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/work/system-config-printer-kde-4.7.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/work/system-config-printer-kde-4.7.0 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/work/system-config-printer-kde-4.7.0_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DKDE4_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/temp/gentoo_rules.cmake  /var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/work/system-config-printer-kde-4.7.0
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/temp/gentoo_common_config.cmake
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.7.2 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXft.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so;/usr/lib64/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4 
-- Found Perl: /usr/bin/perl 
-- Found Phonon: /usr/include 
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.7 include dir: /usr/include
-- Found KDE 4.7 library dir: /usr/lib64
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found PythonInterp: /usr/bin/python 
-- Found Python executable: /usr/bin/python
-- Found Python version: 2.7.1
-- Found Python library: /usr/lib64/libpython2.7.so
-- Found SIP version: 4.12.3
-- Found PyQt4 version: 4.8.4
Traceback (most recent call last):
  File "/usr/share/apps/cmake/modules/FindPyKDE4.py", line 8, in <module>
	import PyKDE4.pykdeconfig
  File "/usr/lib64/python2.7/site-packages/PyKDE4/__init__.py", line 1, in <module>
	import sys,DLFCN
ImportError: No module named DLFCN
-- Found PyCups
-- Found System Config Printer

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * PyKDE4  <http://websvn.kde.org/trunk/KDE/kdebindings/python/pykde4/>
 	PyKDE4 was not found.  It is needed by system-config-printer-kde to run.  (Use -DINSTALL_SYSTEM_CONFIG_PRINTER=TRUE to install anyway)

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

-- <<< Gentoo configuration >>>
Build type  	Gentoo
Install path	/usr
Compiler flags:
C           	-msse4a -mabm -march=amdfam10 -O3 -pipe  -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common
C++         	-msse4a -mabm -march=amdfam10 -O3 -pipe  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden
Linker flags:
Executable  	-Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed
Module      	-Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-O1 -Wl,--as-needed
Shared      	-Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-O1 -Wl,--as-needed

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/work/system-config-printer-kde-4.7.0_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/work/system-config-printer-kde-4.7.0 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/work/system-config-printer-kde-4.7.0_build"
make -j5 
>>> Source compiled.
>>> Test phase [not enabled]: kde-base/system-config-printer-kde-4.7.0

>>> Install system-config-printer-kde-4.7.0 into /var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/image/ category kde-base
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/work/system-config-printer-kde-4.7.0_build"
make -j5 DESTDIR=/var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/image/ install 
make: *** Keine Regel, um »install« zu erstellen.  Schluss.
emake failed
 * ERROR: kde-base/system-config-printer-kde-4.7.0 failed (install phase):
 *   died running make install, base_src_install
 * 
 * Call stack:
 * 	ebuild.sh, line   56:  Called src_install
 *   environment, line 7001:  Called kde4-meta_src_install
 *   environment, line 4246:  Called kde4-base_src_install
 *   environment, line 3872:  Called cmake-utils_src_install
 *   environment, line 1963:  Called _execute_optionaly 'src_install'
 *   environment, line  888:  Called enable_cmake-utils_src_install
 *   environment, line 2290:  Called base_src_install
 *   environment, line 1615:  Called die
 * The specific snippet of code:
 *   	emake DESTDIR="${D}" "$@" install || die "died running make install, $FUNCNAME";
 * 
 * If you need support, post the output of 'emerge --info =kde-base/system-config-printer-kde-4.7.0',
 * the complete build log and the output of 'emerge -pqv =kde-base/system-config-printer-kde-4.7.0'.
 * The complete build log is located at '/var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/temp/environment'.
 * S: '/var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/work/system-config-printer-kde-4.7.0'

>>> Failed to emerge kde-base/system-config-printer-kde-4.7.0, Log file:

>>>  '/var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/temp/build.log'

 * Messages for package kde-base/system-config-printer-kde-4.7.0:

 * ERROR: kde-base/system-config-printer-kde-4.7.0 failed (install phase):
 *   died running make install, base_src_install
 * 
 * Call stack:
 * 	ebuild.sh, line   56:  Called src_install
 *   environment, line 7001:  Called kde4-meta_src_install
 *   environment, line 4246:  Called kde4-base_src_install
 *   environment, line 3872:  Called cmake-utils_src_install
 *   environment, line 1963:  Called _execute_optionaly 'src_install'
 *   environment, line  888:  Called enable_cmake-utils_src_install
 *   environment, line 2290:  Called base_src_install
 *   environment, line 1615:  Called die
 * The specific snippet of code:
 *   	emake DESTDIR="${D}" "$@" install || die "died running make install, $FUNCNAME";
 * 
 * If you need support, post the output of 'emerge --info =kde-base/system-config-printer-kde-4.7.0',
 * the complete build log and the output of 'emerge -pqv =kde-base/system-config-printer-kde-4.7.0'.
 * The complete build log is located at '/var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/temp/environment'.
 * S: '/var/tmp/portage/kde-base/system-config-printer-kde-4.7.0/work/system-config-printer-kde-4.7.0'


Aus einen mir nicht bekannten Grund läßt sich das DLFCN Modul nicht erstellen.

Quellcode

1
2
3
4
5
# python
Python 2.7.1 (r271:86832, Aug 25 2011, 14:14:14) 
[GCC 4.4.5] on linux3
Type "help", "copyright", "credits" or "license" for more information.
>>>


Als Kernel benutze ich die gentoo version 2.6.39-r3

Quellcode

1
2
uname -r
2.6.39-gentoo-r3


An der Kernel-Version oder der Version von KDE dürfte es eher nicht liegen. Ich benutze KDE 4.7.0. Der Fehler dürfte das nicht gebaute DLFCN-Python Modul sein.

9

31.08.2011, 12:57

der einzige gemeinsame nenner wäre

Quellcode

1
DLFCN Modul

was nicht gebaut wird
hmm also bei kde 4.7.0 und kde 4.6.5 tauchen die probleme auf

könnte es am packt selber liegen? also am

Quellcode

1
system-config-printer-kde


das da was schief läuft ?

mfg
schatti
''''''''''''''''''''''''''''''''''''''''''''''''
Gentoo-Linux
der G-Punkt eines Pc´s

''''''''''''''''''''''''''''''''''''''''''''''''

10

31.08.2011, 15:07

Hab das hier gerade gefunden ... leider bin ich gerade in der arbeit ... und komme leider noch nicht dazu es zu testen..

Quellcode

1
2
Bug 374579 - dev-lang/python-2.7.2: module DLFCN is missing 
https://bugs.gentoo.org/374579?id=374579
''''''''''''''''''''''''''''''''''''''''''''''''
Gentoo-Linux
der G-Punkt eines Pc´s

''''''''''''''''''''''''''''''''''''''''''''''''

11

01.09.2011, 14:15

bei mir is heute ein patch eingelaufen .. also über

Quellcode

1
emerge --sync 


python wurde auf

Quellcode

1
2
python 2.7.2-r2
python 3.2-r1

upgedatet

nun klappt es auch mit dem compilieren ...

nur diesen fehler hab ich leider immer noch .. hmm

Quellcode

1
2
3
4
5
skull passedan # python
Python 2.7.2 (default, Aug 31 2011, 16:21:07) 
[GCC 4.4.5] on linux3
Type "help", "copyright", "credits" or "license" for more information.
>>>
''''''''''''''''''''''''''''''''''''''''''''''''
Gentoo-Linux
der G-Punkt eines Pc´s

''''''''''''''''''''''''''''''''''''''''''''''''

12

02.09.2011, 01:23

Na prima :)

nur diesen fehler hab ich leider immer noch .. hmm

Quellcode

1
2
3
4
5
skull passedan # python
Python 2.7.2 (default, Aug 31 2011, 16:21:07) 
[GCC 4.4.5] on linux3
Type "help", "copyright", "credits" or "license" for more information.
>>>

Das ist kein Fehler, es war ja nur ein Test ob sich das vermisste DLFCN Modul einwandfrei laden lässt.
Wenn du dort, in diesem Python Prompt nun

Quellcode

1
import sys,DLFCN
eingibst und Enter drückst, sollte das Modul fehlerfrei zu laden sein!?
.......................................................................................
@Chris87
Wie schaut es bei dir nach dem python Update aus?

13

02.09.2011, 18:40

Hallo!

Also irgendwie klappt das mit den Update bei mir nicht. emerge --sync habe ich durchgeführt
In die Datei package.keywords habe ich folgendes eingetragen.

Quellcode

1
=dev-lang/python-2.7.2-r2


Die Python Version 2.7.2-r2 wird bei mir nicht gefunden.

Quellcode

1
2
3
4
5
6
7
8
9
10
emerge --info python
Portage 2.1.10.11 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39-gentoo-r3 x86_64)
=================================================================
                    	System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-r3-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.0.3
Timestamp of tree: Fri, 02 Sep 2011 14:15:01 +0000
app-shells/bash:      	4.1_p9
dev-java/java-config: 	2.1.11-r3
dev-lang/python:      	2.7.1-r1, 3.2-r2

14

03.09.2011, 19:06

Hallo Chris87

Ich bin ein wenig verwundert wieso bei Schattenschlag ein Patch daher gelaufen kam, denn aktuell ist =dev-lang/python-2.7.2-r2 noch unter keiner Architektur als stable markiert worden. Daher muss er die Version auch freigeschaltet haben ;)
Nungut, für die Freischaltung von =dev-lang/python-2.7.2-r2 sollte dein package.keywords Eintrag eigentlich richtig sein.
Was sagt denn portage wenn du die Version direkt mit angibst?

Quellcode

1
emerge -av --oneshot =dev-lang/python-2.7.2-r2

15

03.09.2011, 21:39

Hallo!

Danke für den Tipp. Das Update auf Python 2.7.2-r2 konnte ich nun durchführen. Das Paket system-config-printer-kde-4.7.0 liess sich nachher auch problemlos bauen. Es dürfte sich also um einen Bug in der Python Version 2.7.1-r1 gehandelt haben.

16

03.09.2011, 21:48

also unter

Quellcode

1
/etc/portage/package.keywords


steht schon

Quellcode

1
dev-lang/python


drinnen

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
skull ~ # emerge --info
Portage 2.1.10.11 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.2-r0, 3.0.4-gentoo x86_64)
=================================================================
System uname: Linux-3.0.4-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E7200_@_2.53GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 03 Sep 2011 18:45:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r2, 3.2-r2
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
...
....


ich hänge mal die patches an die ich im ordner gefunden habe (/user/portage/dev-lang/python/)

lg
schatti
»Schattenschlag« hat folgende Dateien angehängt:
''''''''''''''''''''''''''''''''''''''''''''''''
Gentoo-Linux
der G-Punkt eines Pc´s

''''''''''''''''''''''''''''''''''''''''''''''''