[wxPython] Problem installing src.rpm

/bin/sh: wx-config: command not found
In file included from helpers.cpp:17:
helpers.h:16: wx/wx.h: No such file or directory

Try and find wx-config. It should have been installed when you installed
wxGTK. It is what wxPython uses to determine the flags to pass to the C
compiler, which is why it couldn't find wx.h. Anyway, make sure wx-config
is on the PATH.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com
http://wxpython.org Java give you jitters?
http://wxpros.com Relax with wxPython!

Oops, yeah I forgot about the devel rpm.

···

----- Original Message -----
From: "Albert Wagner" <alwagner@tcac.net>
To: <wxpython-users@wxwindows.org>
Sent: Saturday, May 06, 2000 9:36 AM
Subject: Re: [wxPython] Problem installing src.rpm

Thanks, Robin. Actually, it seems, three rpms are required to get wxGTK
properly installed: wxGTK-w.1.15-0.i386.rpm,
wxGTK-devel-2.1.15-0.i386.rpm and wxGTK-gl-2.1.15-0.i386.rpm. wx-config
is in the *-devel-*.rpm. I found them at:

http://www.freiburg.linux.de/~wxxt/download.html

Robin Dunn wrote:
>
> > /bin/sh: wx-config: command not found
> > In file included from helpers.cpp:17:
> > helpers.h:16: wx/wx.h: No such file or directory
>
> Try and find wx-config. It should have been installed when you

installed

> wxGTK. It is what wxPython uses to determine the flags to pass to the C
> compiler, which is why it couldn't find wx.h. Anyway, make sure

wx-config

> is on the PATH.
>
> --
> Robin Dunn
> Software Craftsman
> robin@AllDunn.com
> http://wxpython.org Java give you jitters?
> http://wxpros.com Relax with wxPython!
>
> _______________________________________________
> wxPython-users mailing list wxPython-users@wxwindows.org
> http://wxwindows.org/mailman/listinfo/wxpython-users

--
Small is Beautiful

_______________________________________________
wxPython-users mailing list wxPython-users@wxwindows.org
http://wxwindows.org/mailman/listinfo/wxpython-users

Does this mean that I need swig installed? Sorry, to keep bothering
you. I can usually stumble through by trial and error, but I thought
you might appreciate the feedback on the rpms. If not, say so.

The good news is that this is the last file of the core group, so you are
almost there.

You should be okay without swig, but apparently when I made the rpm the
grid.cpp file was older than the grid.i file, (CVS does that sometimes) so
make is trying to regenerate it. Normally I would just say to "touch" the
grid.cpp and grid.py files but when you're building from the src.rpm it's
not so easy...

The easiest thing to do is to go ahead and get SWIG from my site
(http://alldunn.com/wxPython/dist/others/) and build and install it, then
you won't run into this in the future.

The other alternative is to switch to building from the tar.gz file and to
then touch the grid files so they won't need to be rebuilt.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com
http://wxpython.org Java give you jitters?
http://wxpros.com Relax with wxPython!