problem installing wxPython 2.5.3, wxWidgets installed ok

T

timothy.williams

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.
 
L

Luc

(e-mail address removed) 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

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.

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.
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
 
T

timothy.williams

Luc said:
(e-mail address removed) a écrit:
(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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,955
Messages
2,570,117
Members
46,705
Latest member
v_darius

Latest Threads

Top