Peter Kruse added the comment:
Fascinating, you are right, very good, thanks for your time and looking into
this.
Peter
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19186
___
Lukas Vacek added the comment:
Hi Peter,
Thanks for taking the time to report your issue. I just tried on fresh
up-to-date CentOS 6 and I could not reproduce the issue.
However, I think I figured out what went wrong. I can see you are supplying
custom -I and -L paths
Lukas Vacek added the comment:
Actually CFLAGS do indeed come before any include directories.
I can reproduce your problem:
mkdir /tmp/extra_include
cp /usr/include/expat.h /usr/include/expat_external.h /tmp/extra_include/
make CFLAGS=-I/tmp/extra_include
You should use CPPFLAGS for extra
Peter Kruse added the comment:
Hello,
it seems that the solution to this issue causes the failure to
compile the pyexpat extension in my case. If I do not include
pyexpatns.h in expat_external.h then the compile succeeeds.
I will attach the output for both cases. There was no problem
with
Changes by Peter Kruse pjo...@gmail.com:
Added file: http://bugs.python.org/file34510/without-pyexpatns.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19186
___
Lukas Vacek added the comment:
attaching patch
--
keywords: +patch
nosy: +Lukas.Vacek
Added file: http://bugs.python.org/file33905/fix_expat_names.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19186
Roundup Robot added the comment:
New changeset c242a8f30806 by Benjamin Peterson in branch '3.3':
restore namespacing of pyexpat symbols (closes #19186)
http://hg.python.org/cpython/rev/c242a8f30806
New changeset a2d877fb53f6 by Benjamin Peterson in branch 'default':
merge 3.3 (#19186)
Changes by Antoine Pitrou pit...@free.fr:
--
priority: normal - critical
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19186
___
___
New submission from AThompson:
The issue with confliciting expat versions has poped up again in python 3.
http://bugs.python.org/issue1295808
It looks like the fix for this was removed when upgrading to expat 2.1 in
http://hg.python.org/cpython/rev/e4dc8be9a72f on Sat, 14 Jul 2012
Changes by Christian Heimes li...@cheimes.de:
--
nosy: +christian.heimes, fdrake
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19186
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19186
___
___
Python-bugs-list
11 matches
Mail list logo