Now your (original?) Python 2.3 install see the adesklets
package, but there is no chance that an
--enable-debug compile will ever work
this way if the
ADESKLETS_LOG variable is not set
properly in the environment... This is what caused the
unrelated :
adesklets.error_handler.ADESKLETSError: adesklets
interpreter initialization error
Quoting from configure:
Set up the ADESKLETS_LOG environment variable to a
filename the interpreter
can safely suffix with a pid related extension then
truncate to collect all debug outputs
there instead.
In the next error lies your real problem:
python: Modules/gcmodule.c:231: visit_decref: Assertion
`gc->gc.gc_refs != 0' failed.
which send us back to my first suggestion: compile Python
from official source source using --without-pydebug during
the configuration phase, and install this as the default
python in your path.