PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : wxPython läßt sich nicht kompilieren...



ash51
05.06.02, 18:09
copying wxPython/lib/mixins/imagelist.py -> build/lib.linux-i686-2.2/wxPython/lib/mixins
copying wxPython/lib/mixins/listctrl.py -> build/lib.linux-i686-2.2/wxPython/lib/mixins
copying wxPython/lib/mixins/grid.py -> build/lib.linux-i686-2.2/wxPython/lib/mixins
copying wxPython/lib/mixins/__init__.py -> build/lib.linux-i686-2.2/wxPython/lib/mixins
creating build/lib.linux-i686-2.2/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/crust.py -> build/lib.linux-i686-2.2/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/pseudo.py -> build/lib.linux-i686-2.2/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/PyFillingApp.py -> build/lib.linux-i686-2.2/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/filling.py -> build/lib.linux-i686-2.2/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/PyCrustApp.py -> build/lib.linux-i686-2.2/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/interpreter.py -> build/lib.linux-i686-2.2/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/__init__.py -> build/lib.linux-i686-2.2/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/PyShellApp.py -> build/lib.linux-i686-2.2/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/version.py -> build/lib.linux-i686-2.2/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/introspect.py -> build/lib.linux-i686-2.2/wxPython/lib/PyCrust
copying wxPython/lib/PyCrust/shell.py -> build/lib.linux-i686-2.2/wxPython/lib/PyCrust
running build_ext
building 'wxc' extension
creating build/temp.linux-i686-2.2
creating build/temp.linux-i686-2.2/src
gcc -DNDEBUG -D_FILE_OFFSET_BITS=64 -DHAVE_LARGEFILE_SUPPORT -O2 -march=i486 -mcpu=i686 -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -Isrc -I/usr/include/python2.2 -c src/helpers.cpp -o build/temp.linux-i686-2.2/src/helpers.o -I/usr/X11R6/lib/wx/include/gtk-2.2 -I/usr/X11R6/include -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -O2 -march=i486 -mcpu=i686
src/helpers.cpp: In function `struct PyObject * wxPyMake_wxObject(wxObject *, bool = 1)':
src/helpers.cpp:318: no matching function for call to `wxEvtHandler::GetClientObject ()'
src/helpers.cpp:339: no matching function for call to `wxEvtHandler::SetClientObject (wxPyClientData *)'
src/helpers.cpp: In function `struct PyObject * wxPyMake_wxSizer(wxSizer *)':
src/helpers.cpp:362: no matching function for call to `wxSizer::GetClientObject ()'
src/helpers.cpp:371: no matching function for call to `wxSizer::SetClientObject (wxPyClientData *)'
error: command 'gcc' failed with exit status 1
Bad exit status from /var/tmp/rpm-tmp.98153 (%build)

egal ob ich versuche wxpython aus nem src.rpm oder aus nem tarball zu installieren, immer schlägt die installation fehl. sieht so aus als würde mit wxPython-2.3.2.1/src/helpers.cpp etwas nicht stimmen. was mach ich falsch? :confused:

ml
05.06.02, 18:39
Hi,

hast die headerfiles von gtk und glib installiert?

mfg

ml

ash51
05.06.02, 21:12
glib und gtk+ sind installiert.

/usr/lib/libglib-1.2.so.0
/usr/lib/libglib-1.2.so.0.0.10
/usr/lib/libglib.a
/usr/lib/libglib.la
/usr/lib/libglib.so

/opt/gnome/lib/libgtkhtml.so.20
/opt/gnome/lib/libgtkhtml.so.20.1.0
/opt/kde3/lib/libgtkxparts.la
/opt/kde3/lib/libgtkxparts.so
/opt/kde3/lib/libgtkxparts.so.0
/opt/kde3/lib/libgtkxparts.so.0.0.0
/opt/netscape6/libgtkembedmoz.so
/opt/netscape6/libgtksuperwin.so
/opt/netscape6/libgtkxtbin.so
/usr/lib/libgtk-1.2.so.0
/usr/lib/libgtk-1.2.so.0.9.1
/usr/lib/libgtk.a
/usr/lib/libgtk.la
/usr/lib/libgtk.so
/usr/lib/libgtkgl.a
/usr/lib/libgtkgl.la
/usr/lib/libgtkgl.so
/usr/lib/libgtkgl.so.5
/usr/lib/libgtkgl.so.5.0.0
/usr/lib/libgtkmm-1.2.so.0
/usr/lib/libgtkmm-1.2.so.0.2.4
/usr/lib/libgtkmm.a
/usr/lib/libgtkmm.la
/usr/lib/libgtkmm.so
/usr/lib/libgtkxmhtml.a
/usr/lib/libgtkxmhtml.la
/usr/lib/libgtkxmhtml.so
/usr/lib/libgtkxmhtml.so.1
/usr/lib/libgtkxmhtml.so.1.0.1

ml
05.06.02, 21:20
Ja, aber sind auch deren Headerfiles installiert ???

ash51
06.06.02, 21:12
:eek: oh, wer lesen kann ist klar im vorteil...

kannst du mir bitte die genaue bezeichnung der files die du meinst geben und in welchem packet finde ich die headerfiles?

ml
06.06.02, 21:14
gtk-devel und glib-devel nehm ich mal an (so ist es zumindestens bei LM 8.2)

mfg

ml

ash51
06.06.02, 21:55
ja, beide devels sind installiert.

wenn ich allerdings in /wxPython-2.3.2.1/src/helpers.cpp reinschaue werden anscheinend 3 headerdateien eingebunden die nirgends auf meinem system zu finden sind.

#ifdef __WXMSW__
#include wx/msw/private.h>
#include wx/msw/winundef.h>
#include wx/msw/msvcrt.h>
#endif

das verz. wx/msw gibts bei mir nicht. google spuckt bei der suche nach winundef.h folgendes aus: wx/msw/winundef.h

vorraussetzung um wxpython zu installieren ist das wxgtk (wxgtk = wxwindows) installiert ist. das ist auf meinen system auch von haus aus mit dabei. wenn ich mir auf http://sourceforge.net/project/showfiles.php?group_id=9863 ) die files anschaue gibt es da einige files mit der bezeichnung wxMSW. das sind alles zip-files. sind die für windows? sollte ich von dort irgendwas noch installieren?

ml
06.06.02, 22:05
extrahiere mal so ein zip-file, vielleicht sind ja da die Headerfiles drinnen!

... und suche vielleicht in deinem System nach diesen Headerfiles.

find / -name FILENAME

mfg

ml

ash51
06.06.02, 22:11
hatte schon nach den files mit

updatedb
locate file

gesucht aber nix gefunden. ich werd mir mal die files dies bei sourceforge gibt genauer anschauen...

find findet auch nix :(

tobsen
04.09.02, 17:15
yo! bist du inzwischen erfolgreich gewesen? hab genau das gleiche problem wie du, komme auc nur genau bis zu dem punkt. waren die dateien irgendwo zu finden? die wxMSW-datein kommen mir komisch vor, die readmes deuten eher auf irgend ne python version für MS Windows. also, falls du es geschafft haben solltest (oder irgendwer sonst) hilf mir mal bitte weiter. thanx

ash51
09.10.02, 09:50
hi!

ich bin leider nicht weitergekommen. hatte es damals versucht auf einer suse 8.0 zu installieren, hatte jedoch dann irgendwann aufgegeben...