473,738 Members | 10,643 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 2567
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
3425
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
2270
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? Thanks!
5
1610
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 greg.lindstrom@novasyshealth.com
25
3353
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 very bad answer? :) It is kinda ugly too, so I wonder why it can't be replaced? Or maybe another GUI...
13
4588
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) - Built wxPython (python setup.py install) error: "you should use wx-config program for...
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
13370
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
6594
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, self.button)
5
2525
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
8969
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9476
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9335
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9208
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8210
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4570
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4825
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3279
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2745
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.