[issue9674] make install DESTDIR=/home/blah fails when the prefix specified is /

2015-02-13 Thread Ivailo Monev
Ivailo Monev added the comment: Can you please apply fix-root-prefix.patch? Or the updated version fof issue9674.patch that I've attached? sysconfig tests will still fail and it will return bogus paths with double slash (e.g. //lib/python2.7) but at least Python will be installable

[issue23435] installation with full path as prefix incomplete

2015-02-11 Thread Ivailo Monev
Ivailo Monev added the comment: I don't know how --enable-shared can have effect on this but I do not know much about the build system either (I just quick scoped trough it) so I tried that - it doesn't change anything. Also, I have only one version of Python installed and that is 2.7.9. I

[issue23435] installation with full path as prefix incomplete

2015-02-11 Thread Ivailo Monev
Changes by Ivailo Monev xakep...@gmail.com: -- components: +Build versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23435

[issue23435] installation with full path as prefix incomplete

2015-02-11 Thread Ivailo Monev
Ivailo Monev added the comment: Right, I'm building it on custom Linux distribution on which software is installed on / instead of /usr on purpose. And the Python version is 2.7.9. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue23435] installation with full path as prefix incomplete

2015-02-11 Thread Ivailo Monev
Ivailo Monev added the comment: I found the source of the problem, it's in distutils. at line 148 in Lib/distutils/util.py (in the tarball) the path join does not handle the full path properly (os.path.join returns the second path if it is full path), as a workaround I used return new_root

[issue23435] installation with full path as prefix incomplete

2015-02-10 Thread Ivailo Monev
New submission from Ivailo Monev: Installing Python with prefix that equals / seems to not install the dymic libraries like _collections. The steps I performed to install it: ./configure --prefix=/ \ --with-threads \ --enable-shared \ --enable-ipv6

[issue19841] ConfigParser PEP issues

2013-11-30 Thread Ivailo Monev
New submission from Ivailo Monev: There are a few PEP violations like namespace clashes, the attached patch fixes some of them thus solving a problem for me where shared library build with Nuitka segmentation faults. The patch does not make the code backwards compatible with the vars and map