MulletRobZ Posted April 1, 2004 Share Posted April 1, 2004 Greetings. While checking out Google, I was looking for the wxPython TGZ file so I could install BitTorrent correctly, but it cannot be found. Would anyone happen to have a link? Link to comment Share on other sites More sharing options...
MR_Candyman Posted April 1, 2004 Share Posted April 1, 2004 http://www.wxpython.org/download.php#sources Link to comment Share on other sites More sharing options...
cpugeniusmv Posted April 1, 2004 Share Posted April 1, 2004 there is no slackware package. you have to compile it from source. just read the instructions, it's not very hard :) Link to comment Share on other sites More sharing options...
MR_Candyman Posted April 1, 2004 Share Posted April 1, 2004 use: installpkg (PACKAGE_NAME).tgz as you know .tar.gz is the exact same as .tgz, so just rename the extension.... Link to comment Share on other sites More sharing options...
cpugeniusmv Posted April 1, 2004 Share Posted April 1, 2004 use: installpkg (PACKAGE_NAME).tgzas you know .tar.gz is the exact same as .tgz, so just rename the extension.... that won't work. .tar.gz and .tgz are the same, but a slackware package includes an install script. the source package (what you've linked to) does not. Link to comment Share on other sites More sharing options...
kongit Posted April 1, 2004 Share Posted April 1, 2004 tgz also don't compile unless told to. Link to comment Share on other sites More sharing options...
MulletRobZ Posted April 3, 2004 Author Share Posted April 3, 2004 Tried using the source and I got the Widgets part installed to /opt/wx/2.5, but I cannot get the setup.py to work correctly for wxPython itself. Here is the stuff generated by Konsole: bash-2.05b# python2.3 setup.py build_ext --inplace --debug WX_CONFIG=/opt/wx/2.5/bin/wx-config WXPORT=gtk2 UNICODE=1 Preparing CORE... Preparing GLCANVAS... Preparing OGL... Preparing STC... Preparing XRC... Preparing GIZMOS... running build_ext building '_core' extension creating build-gtk2.unicode creating build-gtk2.unicode/temp.linux-i686-2.3 creating build-gtk2.unicode/temp.linux-i686-2.3/src creating build-gtk2.unicode/temp.linux-i686-2.3/src/gtk gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -g -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -Iinclude -Isrc -I/opt/wx/2.5/lib/wx/include/gtkd-2.5 -I/opt/wx/2.5/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/python2.3 -c src/gtk/core_wrap.cpp -o build-gtk2.unicode/temp.linux-i686-2.3/src/gtk/core_wrap.o -g -O0 gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -g -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -Iinclude -Isrc -I/opt/wx/2.5/lib/wx/include/gtkd-2.5 -I/opt/wx/2.5/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/python2.3 -c src/libpy.c -o build-gtk2.unicode/temp.linux-i686-2.3/src/libpy.o -g -O0 gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -g -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -Iinclude -Isrc -I/opt/wx/2.5/lib/wx/include/gtkd-2.5 -I/opt/wx/2.5/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/python2.3 -c src/helpers.cpp -o build-gtk2.unicode/temp.linux-i686-2.3/src/helpers.o -g -O0 In file included from /usr/include/gtk-2.0/gdk/gdkcolor.h:4, from /usr/include/gtk-2.0/gdk/gdk.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:31, from src/helpers.cpp:26: /usr/include/gtk-2.0/gdk/gdktypes.h:78: conflicting types for `typedef struct _GdkAtom*GdkAtom' /opt/wx/2.5/include/wx/defs.h:2377: previous declaration as `typedef gulong GdkAtom' /usr/include/gtk-2.0/gdk/gdktypes.h:104: conflicting types for `typedef struct _GdkDrawable GdkBitmap' /opt/wx/2.5/include/wx/defs.h:2379: previous declaration as `typedef struct _GdkWindow GdkBitmap' /usr/include/gtk-2.0/gdk/gdktypes.h:105: conflicting types for `typedef struct _GdkDrawable GdkPixmap' /opt/wx/2.5/include/wx/defs.h:2380: previous declaration as `typedef struct _GdkWindow GdkPixmap' /usr/include/gtk-2.0/gdk/gdktypes.h:106: conflicting types for `typedef struct _GdkDrawable GdkWindow' /opt/wx/2.5/include/wx/defs.h:2378: previous declaration as `typedef struct _GdkWindow GdkWindow' In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:32, from /usr/include/gtk-2.0/gtk/gtkwidget.h:32, from /usr/include/gtk-2.0/gtk/gtkmisc.h:32, from /usr/include/gtk-2.0/gtk/gtklabel.h:31, from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:34, from /usr/include/gtk-2.0/gtk/gtk.h:33, from src/helpers.cpp:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:66:1: warning: "GTK_CLASS_TYPE" redefined In file included from /opt/wx/2.5/include/wx/wx.h:15, from include/wx/wxPython/wxPython_int.h:19, from src/helpers.cpp:16: /opt/wx/2.5/include/wx/defs.h:2409:1: warning: this is the location of the previous definition In file included from /usr/include/gtk-2.0/gtk/gtkwidget.h:32, from /usr/include/gtk-2.0/gtk/gtkmisc.h:32, from /usr/include/gtk-2.0/gtk/gtklabel.h:31, from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:34, from /usr/include/gtk-2.0/gtk/gtk.h:33, from src/helpers.cpp:26: /usr/include/gtk-2.0/gtk/gtkobject.h:46:1: warning: "GTK_OBJECT_GET_CLASS" redefined In file included from /opt/wx/2.5/include/wx/wx.h:15, from include/wx/wxPython/wxPython_int.h:19, from src/helpers.cpp:16: /opt/wx/2.5/include/wx/defs.h:2408:1: warning: this is the location of the previous definition In file included from src/helpers.cpp:28: /opt/wx/2.5/include/wx/gtk/win_gtk.h:23:29: gtk/gtkfeatures.h: No such file or directory src/helpers.cpp: In function `long int wxPyGetWinHandle(wxWindow*)': src/helpers.cpp:1814: `GdkWindowPrivate' undeclared (first use this function) src/helpers.cpp:1814: (Each undeclared identifier is reported only once for each function it appears in.) src/helpers.cpp:1814: `bwin' undeclared (first use this function) src/helpers.cpp:1814: syntax error before `)' token error: command 'gcc' failed with exit status 1 And here is the BUILD.TXT file I was reading from: http://www.wxpython.org/BUILD.html The last part of step 2, concerning the PATHS, I am slightly confused about. Perhaps somebody may be able to explain this step so I may be more successful in trying it next time, please? Link to comment Share on other sites More sharing options...
MulletRobZ Posted April 4, 2004 Author Share Posted April 4, 2004 anyone? or should I just use that crappy LimeWire? Link to comment Share on other sites More sharing options...
mercuryx013 Posted April 5, 2004 Share Posted April 5, 2004 Azureas as my BT client in Slack 9.1 - give it a try ? Link to comment Share on other sites More sharing options...
kongit Posted April 5, 2004 Share Posted April 5, 2004 do you have gnome installed webgraph? Link to comment Share on other sites More sharing options...
MulletRobZ Posted April 5, 2004 Author Share Posted April 5, 2004 GNOME 2.4.x is installed, kongit. Link to comment Share on other sites More sharing options...
kongit Posted April 5, 2004 Share Posted April 5, 2004 GNOME 2.4.x is installed, kongit. wierd. the errors are from gtk. You will probably need to read the info about paths because something might not be being found by the compiler. Link to comment Share on other sites More sharing options...
Recommended Posts