473,562 Members | 3,087 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_AP I
-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_AP I
-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 2554
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
3406
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: From whe wxPython wiki examples: self.button =wxButton(self, 10, "Save", wxPoint(200, 325)) EVT_BUTTON(self, 10, self.OnClick)
3
2251
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 with wxPython, built using wxWidgets? Is this correct? Or are all the same widgets available in wxPython also directly provided for in wxWidgets?...
5
1602
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 have I done wrong? Thanks! Greg Lindstrom (501) 975-4859 NovaSys Health ...
25
3328
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 Python GUI toolkit is that Tkinter was there first." - Guido van Rossum Guess, that answers my question, but isn't "Tkinter was there first" a...
13
4564
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 to be no SuSE RPM so I installed from source. Here are my steps (gtk 2.4 was already installed): - Built wxWidgets (.configure --enable-unicode)...
0
360
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 "license" for more information. >>> from wxPython.wx import * Traceback (most recent call last): File "<stdin>", line 1, in ?
14
13347
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 wxGlade I assume) or PyGTK (with Glade I assume)? I'd prefer open source (not necessarily GPL though) tools. Rod
4
6584
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 = wx.Panel(self,-1) self.button = wx.Button(self.panel,-1,"Klikkerdeklik") self.button.SetPosition((200,40)) self.Bind(wx.EVT_BUTTON, self.VeranderLabel,...
5
2517
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
7652
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7576
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7867
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8095
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7625
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6219
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5193
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1187
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
901
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.