473,394 Members | 1,902 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

problem installing wxPython 2.5.3, wxWidgets installed ok

I'm trying to install wxPython 2.5.3.1 using Python 2.3.2 on a Fedora 2
machine.

I have python in a non-standard place, but I'm using --prefix with the
configure script to point to where I have everything. The make install
in $WXDIR seemed to go fine. I have the libxw* libraries in my lib/
directory

libwx_base-2.5.so@ libwx_gtk_adv-2.5.so.3.0.0*
libwx_base-2.5.so.3@ libwx_gtk_core-2.5.so@
libwx_base-2.5.so.3.0.0* libwx_gtk_core-2.5.so.3@
libwx_base_net-2.5.so@ libwx_gtk_core-2.5.so.3.0.0*
libwx_base_net-2.5.so.3@ libwx_gtk_gl-2.4.so@
libwx_base_net-2.5.so.3.0.0* libwx_gtk_gl-2.4.so.0@
libwx_base_xml-2.5.so@ libwx_gtk_gl-2.4.so.0.1.1*
libwx_base_xml-2.5.so.3@ libwx_gtk_html-2.5.so@
libwx_base_xml-2.5.so.3.0.0* libwx_gtk_html-2.5.so.3@
libwx_gtk-2.4.so@ libwx_gtk_html-2.5.so.3.0.0*
libwx_gtk-2.4.so.0@ libwx_gtk_xrc-2.5.so@
libwx_gtk-2.4.so.0.1.1* libwx_gtk_xrc-2.5.so.3@
libwx_gtk_adv-2.5.so@ libwx_gtk_xrc-2.5.so.3.0.0*
libwx_gtk_adv-2.5.so.3@

I also have a wx/ directory under my lib. directory.

The problem is when I try to do a 'python setup.py install' in the
../wxPython directory. I get a message about not finding a config file
for wx-config and then several errors during gcc compiles.
python setup.py build

Found wx-config: /project/c4i/Users_Share/williams/Linux/bin/wx-config
Using flags: --toolkit=gtk2 --unicode=no --version=2.5

Warning: No config found to match:
/project/c4i/Users_Share/williams/Linux/bin/wx-config --toolkit=gtk2
--unicode=no --version=2.5 --cxxflags
in /project/c4i/Users_Share/williams/Linux/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.

....

Preparing OGL...
Preparing STC...
Preparing GIZMOS...
running build
running build_py
copying wx/__version__.py -> build-gtk2/lib.linux-i686-2.3/wx
running build_ext
building '_core_' extension
creating build-gtk2/temp.linux-i686-2.3
creating build-gtk2/temp.linux-i686-2.3/src
creating build-gtk2/temp.linux-i686-2.3/src/gtk
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H
-DWXP_USE_THREAD=1 -UNDEBUG -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-Iinclude -Isrc -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/project/c4i/Users_Share/williams/Linux/include/python2.3 -c
src/libpy.c -o build-gtk2/temp.linux-i686-2.3/src/libpy.o -O3
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H
-DWXP_USE_THREAD=1 -UNDEBUG -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-Iinclude -Isrc -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/project/c4i/Users_Share/williams/Linux/include/python2.3 -c
src/gtk/_core_wrap.cpp -o
build-gtk2/temp.linux-i686-2.3/src/gtk/_core_wrap.o -O3
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
In file included from src/gtk/_core_wrap.cpp:400:
include/wx/wxPython/wxPython_int.h:19:19: wx/wx.h: No such file or
directory
include/wx/wxPython/wxPython_int.h:21:25: wx/busyinfo.h: No such file
or directory
include/wx/wxPython/wxPython_int.h:22:22: wx/caret.h: No such file or
directory
include/wx/wxPython/wxPython_int.h:23:25: wx/choicebk.h: No such file
or directory
include/wx/wxPython/wxPython_int.h:24:24: wx/clipbrd.h: No such file or
directory
include/wx/wxPython/wxPython_int.h:25:25: wx/colordlg.h: No such file
or directory
include/wx/wxPython/wxPython_int.h:26:23: wx/config.h: No such file or
directory
include/wx/wxPython/wxPython_int.h:27:23: wx/cshelp.h: No such file or
directory
include/wx/wxPython/wxPython_int.h:28:25: wx/dcmirror.h: No such file
or directory
include/wx/wxPython/wxPython_int.h:29:21: wx/dcps.h: No such file or
directory
include/wx/wxPython/wxPython_int.h:30:24: wx/dirctrl.h: No such file or
directory
include/wx/wxPython/wxPython_int.h:31:23: wx/dirdlg.h: No such file or
directory
include/wx/wxPython/wxPython_int.h:32:20: wx/dnd.h: No such file or
directory
include/wx/wxPython/wxPython_int.h:33:24: wx/docview.h: No such file or
directory
include/wx/wxPython/wxPython_int.h:34:24: wx/encconv.h: No such file or
directory
include/wx/wxPython/wxPython_int.h:35:25: wx/fdrepdlg.h: No such file
or direct

....

Why isn't there a -I../include switch on the compile line, and how do I
reconfigure it so it does?

Thanks for any help.

Jul 18 '05 #1
1 2539
Luc wrote:
ti**************@nvl.army.mil a écrit:
I'm trying to install wxPython 2.5.3.1 using Python 2.3.2 on a Fedora 2 machine.

I have python in a non-standard place, but I'm using --prefix with the configure script to point to where I have everything. The make install in $WXDIR seemed to go fine. I have the libxw* libraries in my lib/
directory
(snip) pay attention: some of your current applications will not work with that version. In my case, all the apps I have wrotten before and with previous 2.4 as well with the boa-constructor IDE


So are you saying that 2.5.3.1 is not ready for prime time? How does
your reply address my 'python setup.py install' problem?

I don't have any wx applications to speak of yet. Just some of the
tutorial examples.

Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: Grant Edwards | last post by:
I've decided to learn wxPython, and I'm afraid I just don't grok the whole "id" thing where you have to pull unique integers out of your, er, the air and then use those to refer to objects: ...
3
by: USCode | last post by:
Hello! I've downloaded wxPython and have been playing with the demo. It seems as if wxPython comes with more widgets that wxWidgets itself? I assume they are just additional widgets provided...
5
by: Greg Lindstrom | last post by:
Hi- I've installed Python2.3.3 and the current release of Boa Constructor on Windows Xp "professional" but get an error saying that global name wx is not defined when I try to start Boa up. What...
25
by: BJörn Lindqvist | last post by:
See: http://www.wxpython.org/quotes.php. especially: "wxPython is the best and most mature cross-platform GUI toolkit, given a number of constraints. The only reason wxPython isn't the standard...
13
by: Peter Maas | last post by:
Recently I replaced Win2k with Linux on my desktop computer. Using mostly multi-platform software I thought this would be easy. It was not as easy as expected getting wxPython to work. There seemed...
0
by: GuyBrush Treepwood | last post by:
I just compiled and installed wxWidgets and wxPython. When I want to test this libraries, I get: Python 2.4 (#1, Feb 19 2005, 19:24:31) on linux2 Type "help", "copyright", "credits" or...
14
by: Rod W | last post by:
I'm just starting out on Python but my primary goal is to provide applications with some user interface (GUI). Can someone point me to a good comparison of whether I should use wxPython (with...
4
by: KvS | last post by:
Hi all, I'm pretty new to (wx)Python so plz. don't shoot me if I've missed something obvious ;). I have a panel inside a frame, on which a Button and a StaticText is placed: self.panel =...
5
by: py | last post by:
i need to design a GUI for my python app. i heard of wxWidgets and was going to look into that, but then I saw wxPython. Why would I use wxPython over wxWidgets? thanks
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.