[issue18136] Put local build paths before system build paths in configure.ac and Makefile.pre.in

Ronald Oussoren report at bugs.python.org
Sat Jul 6 11:47:58 CEST 2013


Ronald Oussoren added the comment:

I'm not sure what's going on here, the build already seems to behave correctly.

What I've done:

* Create a python installation in /opt/python2.7
  (configure --prefix=/opt/python2.7; make; make install)

* Now build and the tip of the default branch:
  (./configure --prefix=/tmp/cp34 CPPFLAGS="-I/opt/python2.7/include" LDFLAGS="-L/opt/python2.7/lib" CFLAGS="-Wno-unused-value -Wno-empty-body -Qunused-arguments" CC=clang; make; make test)

Tests passed correctly.

I'm now rerunning the build with '-I/opt/python2.7/include/python2.7' to ensure that the '#include "Python.h"' could find 2.7 header on the compiler search path.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18136>
_______________________________________


More information about the Python-bugs-list mailing list