Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge kahakai - bricht mit Python Fehlern?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
UTgamer
Veteran
Veteran


Joined: 10 Aug 2003
Posts: 1326
Location: Troisdorf (Köln) Deutschland

PostPosted: Sun Aug 08, 2004 1:33 pm    Post subject: emerge kahakai - bricht mit Python Fehlern? Reply with quote

kahakai lässt sich nicht installieren.
Hier der Fehlerausschnitt:
Code:
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/python2.3/ -I../src -DDEFAULTSTYLE=\"/usr/share/kahakai/styles/Default.style\" -DDEFAULTMENU=\"/usr/share/kahakai/menu\" -DDEFAULTACTION=\"/usr/share/kahakai/actions/action\" -DDEFAULTRCFILE=\"/usr/share/kahakai/config\" -DDEFAULTSCRIPTDIR=\"/usr/share/kahakai/scripts\" -DPKGDATADIR=\"/usr/share/kahakai\" -DDEFAULTSCRIPTCONFIG=\"/usr/share/kahakai/home_userconfig.py\" -DPKGLIBDIR=\"/usr/lib/kahakai\" -DGDB_COMMANDS_FILE='"/usr/share/kahakai/cmd.gdb"'  -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -msse -MT swig_wrapper_python.lo -MD -MP -MF ".deps/swig_wrapper_python.Tpo" \
  -c -o swig_wrapper_python.lo `test -f 'swig_wrapper_python.cc' || echo './'`swig_wrapper_python.cc; \
then mv -f ".deps/swig_wrapper_python.Tpo" ".deps/swig_wrapper_python.Plo"; \
else rm -f ".deps/swig_wrapper_python.Tpo"; exit 1; \
fi
In file included from /usr/include/python2.3/Python.h:8,
                 from PythonScript.cc:17:
/usr/include/python2.3/pyconfig.h:847:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/i686-pc-linux-gnu/bits/os_defines.h:39,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/i686-pc-linux-gnu/bits/c++config.h:35,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/bits/stl_algobase.h:64,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/list:67,
                 from Script.hh:18,
                 from PythonScript.hh:18,
                 from PythonScript.cc:13:
/usr/include/features.h:131:1: warning: this is the location of the previous definition
/bin/sh ../libtool --mode=link g++  -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -msse   -o kahakai -L/usr/X11R6/lib -lXft -lfreetype -lXrender -lfontconfig -L/usr/lib -lImlib2 -lfreetype -lz -lm -ldl -lXext -lXext -lX11 -L/usr/X11R6/lib -lXext -lXext -lXrender -lXrandr -lXext -lXrender -L/usr/lib/python2.3/config -lpython2.3   -lpthread -ldl  -lutil -Xlinker -export-dynamic  main.o ka_logger.o Action.o ChildWindow.o DesktopMenu.o Dockapp.o DrawOp.o Event.o ExpressionEvaluator.o Font.o Functions.o Image.o ImageControl.o Imlib2pp.o Kahakai.o Logger.o Menu.o MenuItem.o MenuLoader.o Net.o NewStyleLoader.o NewStyleParser.o Resources.o Screen.o SimpleMatch.o Script.o ScriptFactory.o StyleLoader.o Timer.o TitleBar.o Texture.o WindowAttributes.o WindowIcons.o WindowMenu.o Window.o XrmStyleLoader.o  PythonScript.o
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/python2.3/ -I../src -DDEFAULTSTYLE=\"/usr/share/kahakai/styles/Default.style\" -DDEFAULTMENU=\"/usr/share/kahakai/menu\" -DDEFAULTACTION=\"/usr/share/kahakai/actions/action\" -DDEFAULTRCFILE=\"/usr/share/kahakai/config\" -DDEFAULTSCRIPTDIR=\"/usr/share/kahakai/scripts\" -DPKGDATADIR=\"/usr/share/kahakai\" -DDEFAULTSCRIPTCONFIG=\"/usr/share/kahakai/home_userconfig.py\" -DPKGLIBDIR=\"/usr/lib/kahakai\" -DGDB_COMMANDS_FILE=\"/usr/share/kahakai/cmd.gdb\" -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -msse -MT swig_wrapper_python.lo -MD -MP -MF .deps/swig_wrapper_python.Tpo -c swig_wrapper_python.cc  -fPIC -o .libs/swig_wrapper_python.o
 g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/python2.3/ -I../src -DDEFAULTSTYLE=\"/usr/share/kahakai/styles/Default.style\" -DDEFAULTMENU=\"/usr/share/kahakai/menu\" -DDEFAULTACTION=\"/usr/share/kahakai/actions/action\" -DDEFAULTRCFILE=\"/usr/share/kahakai/config\" -DDEFAULTSCRIPTDIR=\"/usr/share/kahakai/scripts\" -DPKGDATADIR=\"/usr/share/kahakai\" -DDEFAULTSCRIPTCONFIG=\"/usr/share/kahakai/home_userconfig.py\" -DPKGLIBDIR=\"/usr/lib/kahakai\" -DGDB_COMMANDS_FILE=\"/usr/share/kahakai/cmd.gdb\" -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -msse -MT swig_wrapper_python.lo -MD -MP -MF .deps/swig_wrapper_python.Tpo -c swig_wrapper_python.cc -o swig_wrapper_python.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link g++  -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -msse   -o libkahakai_swig_python.la -rpath /usr/lib/kahakai  swig_wrapper_python.lo
g++ -mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer -msse -o kahakai -Wl,-export-dynamic main.o ka_logger.o Action.o ChildWindow.o DesktopMenu.o Dockapp.o DrawOp.o Event.o ExpressionEvaluator.o Font.o Functions.o Image.o ImageControl.o Imlib2pp.o Kahakai.o Logger.o Menu.o MenuItem.o MenuLoader.o Net.o NewStyleLoader.o NewStyleParser.o Resources.o Screen.o SimpleMatch.o Script.o ScriptFactory.o StyleLoader.o Timer.o TitleBar.o Texture.o WindowAttributes.o WindowIcons.o WindowMenu.o Window.o XrmStyleLoader.o PythonScript.o  -L/usr/X11R6/lib -lXft /usr/lib/libfontconfig.so /usr/lib/libexpat.so -L/usr/lib /usr/lib/libImlib2.so /usr/lib/libfreetype.so -lz -lm -lX11 -lXrandr -lXext -lXrender -L/usr/lib/python2.3/config -lpython2.3 -lpthread -ldl -lutil
MenuItem.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[2]: *** [kahakai] Error 1
make[2]: *** Waiting for unfinished jobs....
../libtool: line 3975: test: : integer expression expected
../libtool: line 3975: test: : integer expression expected
creating reloadable object files...
creating a temporary reloadable object file: .libs/libkahakai_swig_python.la-1.o
/usr/i686-pc-linux-gnu/bin/ld -r -o .libs/libkahakai_swig_python.la-1.o .libs/swig_wrapper_python.o
gcc -shared .libs/libkahakai_swig_python.la-1.o   -mcpu=athlon-xp -msse -Wl,-soname -Wl,libkahakai_swig_python.so.0 -o .libs/libkahakai_swig_python.so.0.0.0
rm -f .libs/libkahakai_swig_python.la-1.o
(cd .libs && rm -f libkahakai_swig_python.so.0 && ln -s libkahakai_swig_python.so.0.0.0 libkahakai_swig_python.so.0)
(cd .libs && rm -f libkahakai_swig_python.so && ln -s libkahakai_swig_python.so.0.0.0 libkahakai_swig_python.so)
../libtool: line 5254: test: : integer expression expected
../libtool: line 5254: test: : integer expression expected
using piecewise archive linking...
../libtool: line 5289: test: : integer expression expected
ar cru .libs/libkahakai_swig_python.a swig_wrapper_python.o
ranlib .libs/libkahakai_swig_python.a
creating libkahakai_swig_python.la
(cd .libs && rm -f libkahakai_swig_python.la && ln -s ../libkahakai_swig_python.la libkahakai_swig_python.la)
make[2]: Leaving directory `/var/tmp/portage/kahakai-0.6.2_p20040306/work/kahakai/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/kahakai-0.6.2_p20040306/work/kahakai/src'
make: *** [all-recursive] Error 1

!!! ERROR: x11-wm/kahakai-0.6.2_p20040306 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! (no error message)

Was läuft falsch?
_________________
AMD Phenom II x4 >> CFLAGS="-march=amdfam10 -O2 -mmmx -msse3 -mfpmath=sse,387 -pipe -ffast-math" is stable and here in use.

Did Intel produce at any time bugfree HW?
http://www.urbanmyth.org/microcode/
http://www.heise.de/newsticker/meldung/91748
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Sun Aug 08, 2004 2:19 pm    Post subject: Reply with quote

USE="ruby"?
Back to top
View user's profile Send private message
UTgamer
Veteran
Veteran


Joined: 10 Aug 2003
Posts: 1326
Location: Troisdorf (Köln) Deutschland

PostPosted: Sun Aug 08, 2004 2:38 pm    Post subject: Reply with quote

Nein kein Ruby.

Das sind meine USE-Flags:
Code:
USE="3dnow aalib alsa amd apache2 cdr cgi -crypt cups dga doc dvd encode ffmpeg \
     flash foreign-package gphoto2 gpm gtk -gtkhtml imlib ipv6 -jack javascript \
     jpeg joystick kde -kerberos ldap libg++ libwww mikmod mmx motif \
      mozctl mozilla mozinterfaceinfo mozirc \
      mozxmlterm mpeg nas ncurses nls nvidia oav oggvorbis ooo-kde openal \
     opengl openssh opie oss pam pda pdflib png python qt qtmt quicktime \
     readline rp-pppoe samba sdl socks5 spell sse ssl svga tcltk tcpd tetex tiff \
     truetype usb videos X Xaw3d xml2 xmms xv -gnome -java"

_________________
AMD Phenom II x4 >> CFLAGS="-march=amdfam10 -O2 -mmmx -msse3 -mfpmath=sse,387 -pipe -ffast-math" is stable and here in use.

Did Intel produce at any time bugfree HW?
http://www.urbanmyth.org/microcode/
http://www.heise.de/newsticker/meldung/91748
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Sun Aug 08, 2004 2:46 pm    Post subject: Reply with quote

Ok, dann kriegst Du's aus /etc/make.profile/use.defaults, wie Dir ein -pv hoffentlich bestätigen wird. Mit -ruby sollte es klappen: https://bugs.gentoo.org/show_bug.cgi?id=43636
Back to top
View user's profile Send private message
UTgamer
Veteran
Veteran


Joined: 10 Aug 2003
Posts: 1326
Location: Troisdorf (Köln) Deutschland

PostPosted: Sun Aug 08, 2004 3:00 pm    Post subject: Reply with quote

Super, werde ich gleich mal probieren :D.
Danke, hatte ich doch wiedermal vergessen in Bugzilla reinzuschauen.
_________________
AMD Phenom II x4 >> CFLAGS="-march=amdfam10 -O2 -mmmx -msse3 -mfpmath=sse,387 -pipe -ffast-math" is stable and here in use.

Did Intel produce at any time bugfree HW?
http://www.urbanmyth.org/microcode/
http://www.heise.de/newsticker/meldung/91748
Back to top
View user's profile Send private message
UTgamer
Veteran
Veteran


Joined: 10 Aug 2003
Posts: 1326
Location: Troisdorf (Köln) Deutschland

PostPosted: Sun Aug 08, 2004 3:45 pm    Post subject: Reply with quote

USE="-ruby truetype -xinerama" emerge kahakai

ändert überhaupt nichts, der Fehler bleibt identisch. Dann werde ich mal in Bugzilla posten müssen. grml, genug für heute, dann giebts eben keinen schönen neuen WindowManager.
_________________
AMD Phenom II x4 >> CFLAGS="-march=amdfam10 -O2 -mmmx -msse3 -mfpmath=sse,387 -pipe -ffast-math" is stable and here in use.

Did Intel produce at any time bugfree HW?
http://www.urbanmyth.org/microcode/
http://www.heise.de/newsticker/meldung/91748
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Sun Aug 08, 2004 3:46 pm    Post subject: Reply with quote

Hast Du swig auch mal ohne ruby neu kompiliert?
Back to top
View user's profile Send private message
UTgamer
Veteran
Veteran


Joined: 10 Aug 2003
Posts: 1326
Location: Troisdorf (Köln) Deutschland

PostPosted: Sun Aug 08, 2004 4:11 pm    Post subject: Reply with quote

Das war meine Ausgangssituation:
emerge kahakai -p
[ebuild N ] dev-libs/boost-1.31.0
[ebuild N ] dev-lang/swig-1.3.21
[ebuild N ] media-fonts/artwiz-fonts-2.4
[ebuild N ] x11-wm/kahakai-0.6.2_p20040306

Nachdem kahakai weder normal noch mit den vorgestellten use-flags ging, hab ich swig nachträglich nochmal ohne ruby einstellung emerged.
Ich habe auch nochmal boost ohne probiert, das bricht dann aber auch mit Fehler ab, jetzt weiss ich nicht weiter :(
_________________
AMD Phenom II x4 >> CFLAGS="-march=amdfam10 -O2 -mmmx -msse3 -mfpmath=sse,387 -pipe -ffast-math" is stable and here in use.

Did Intel produce at any time bugfree HW?
http://www.urbanmyth.org/microcode/
http://www.heise.de/newsticker/meldung/91748
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Sun Aug 08, 2004 4:44 pm    Post subject: Reply with quote

Willst Du wahrscheinlich gar nicht wissen, aber
Quote:
[ebuild N ] dev-libs/boost-1.31.0 -icc 6,815 kB
[ebuild N ] dev-lang/swig-1.3.21 -guile -java +perl -php +python -ruby +tcltk 1,975 kB
[ebuild N ] x11-wm/kahakai-0.6.2_p20040306 -ruby +truetype -xinerama 517 kB
ist bei mir gerade sauber durchgelaufen...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
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