build problem in ogl

I'm building from cvs WX_2_4_BRANCH on linux - gtk.

When builing an rpm, when the build gets to oglc, is skips compiling
contrib/src/ogl/misc.cpp because there already is an (up-to-date) misc.o
in the output directory (from building wxc). Then oglc is linked
incorrectly with that misc.o and doesn't work.

This happens when using setup.py to build an rpm, but not when building
otherwise.

(bad) python2.2 -u setup.py bdist_rpm --binary-only --python=python2.2

(good) python2.2 -u setup.py build

···

--
Ken Dowling

Kenneth J. Dowling wrote:

I'm building from cvs WX_2_4_BRANCH on linux - gtk.

When builing an rpm, when the build gets to oglc, is skips compiling
contrib/src/ogl/misc.cpp because there already is an (up-to-date) misc.o
in the output directory (from building wxc). Then oglc is linked
incorrectly with that misc.o and doesn't work.

This happens when using setup.py to build an rpm, but not when building
otherwise.

(bad) python2.2 -u setup.py bdist_rpm --binary-only --python=python2.2

(good) python2.2 -u setup.py build

You need to make sure youa re using the distutils in the wxPython CVS. It is a copy of the distutils from Python 2.3 and has several fixes that allowed me to remove some ugly hacks from the build process.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!