This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author automatthias
Recipients automatthias, eric.araujo, jcea
Date 2011-11-16.10:08:42
SpamBayes Score 3.692875e-07
Marked as misclassified No
Message-id <1321438122.8.0.762188320868.issue13398@psf.upfronthosting.co.za>
In-reply-to
Content
It's not only the curses module, other two modules are failing as well, the same way - not finding Python.h.

maciej@unstable9s :~/src/opencsw/pkg/lang-python/python/branches/python-3.2 > grep ^PY_CPPFLAGS work/solaris9-sparc/build-isa-sparcv8/Python-3.2.2/Makefile
PY_CPPFLAGS=    -I. -IInclude -I$(srcdir)/Include $(CONFIGURE_CPPFLAGS) $(CPPFLAGS)

Perhaps PY_CPPFLAGS does not get included in the compiler invocation? Poking around the Makefile, I find:

Modules/_cursesmodule.o: $(srcdir)/Modules/_cursesmodule.c; $(CC)  $(CCSHARED) $(CFLAGS) $(CPPFLAGS)  -c $(srcdir)/Modules/_cursesmodule.c -o Modules/_cursesmodule.o

This line doesn't contain a reference to PY_CPPFLAGS.

Perhaps the answer is around line 220 in Modules/makesetup?
History
Date User Action Args
2011-11-16 10:08:42automatthiassetrecipients: + automatthias, jcea, eric.araujo
2011-11-16 10:08:42automatthiassetmessageid: <1321438122.8.0.762188320868.issue13398@psf.upfronthosting.co.za>
2011-11-16 10:08:42automatthiaslinkissue13398 messages
2011-11-16 10:08:42automatthiascreate