[issue28487] missing _math.o target in 2.7 Makefile

2016-10-23 Thread Skip Montanaro
Skip Montanaro added the comment: The problem is solved. It seems there were changes in my 2.7 checkout which hg update wouldn't overwrite. I vaguely remember applying somebody's patch for a bug quite awhile ago. Apparently, I failed to revert that change before moving on. I obviously wasn't

[issue28487] missing _math.o target in 2.7 Makefile

2016-10-20 Thread Zachary Ware
Zachary Ware added the comment: Your HG setup sounds fine, though you may be interested in the 'share' extension. It allows you to share the data store between several checkouts such that doing a 'pull' in one checkout makes any new changesets available in all checkouts without having to do a

[issue28487] missing _math.o target in 2.7 Makefile

2016-10-20 Thread Skip Montanaro
Skip Montanaro added the comment: I'm not sure you understood my problem. Starting with make distclean ./configure make the math and cmath modules fail to build because Modules/_math.o is missing. It's not a make thing. I did notice the cpython Makefile has a target for Modules/_math.o and ass

[issue28487] missing _math.o target in 2.7 Makefile

2016-10-20 Thread STINNER Victor
STINNER Victor added the comment: > Unless I have my hg repo dependencies incorrect, this target seems to be > missing from the 2.7 Makefile.pre.in: The math module is compiled by setup.py: # math library functions, e.g. sin() exts.append( Extension('math', ['mathmodule.c'],

[issue28487] missing _math.o target in 2.7 Makefile

2016-10-20 Thread Skip Montanaro
Skip Montanaro added the comment: Is this perhaps related to the (closed) issue 24421? -- ___ Python tracker ___ ___ Python-bugs-list

[issue28487] missing _math.o target in 2.7 Makefile

2016-10-20 Thread Skip Montanaro
New submission from Skip Montanaro: Unless I have my hg repo dependencies incorrect, this target seems to be missing from the 2.7 Makefile.pre.in: # This is shared by the math and cmath modules Modules/_math.o: Modules/_math.c Modules/_math.h $(CC) -c $(CCSHARED) $(PY_CORE_CFLAGS) -o $@