[issue23435] installation with full path as prefix incomplete

2015-02-13 Thread Ned Deily
Ned Deily added the comment: So the real problem here is configuring with --prefix=/ and then using make install DESTDIR to install to a temporary location. This is a duplicate of Issue9674; the problem is that --prefix=/ results in build variable the start with '//', like '//lib', and that c

[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-11 Thread Ned Deily
Ned Deily added the comment: --enable-shared builds in some cases can erroneously link with an already installed Python library of the same version. That's what happened on my first try, before removing the system 2.7. In any case, I'm closing this issue for now. Feel free to reopen if you

[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 ha

[issue23435] installation with full path as prefix incomplete

2015-02-11 Thread Ned Deily
Ned Deily added the comment: Sorry, I tried using your ./configure with a 2.7.9 tarball on a Debian VM from which I removed the system Python 2.7 and, despite installing into the non-standard locations, at a quick look everything seemed to work OK. For example, >>> import _collections >>> _c

[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 __

[issue23435] installation with full path as prefix incomplete

2015-02-11 Thread Ivailo Monev
Changes by Ivailo Monev : -- components: +Build versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue23435] installation with full path as prefix incomplete

2015-02-10 Thread Ned Deily
Ned Deily added the comment: Without more information it is hard to provide a meaningful response. You don't say which version of Python nor which platform you are trying to install on. Be aware that the default for --prefix is '/usr/local'. On most POSIX platforms, you should not be trying

[issue23435] installation with full path as prefix incomplete

2015-02-10 Thread Ned Deily
Changes by Ned Deily : -- Removed message: http://bugs.python.org/msg235727 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue23435] installation with full path as prefix incomplete

2015-02-10 Thread Ned Deily
Ned Deily added the comment: Without more information it is hard to provide a meaningful response. You don't say which version of Python nor which platform you are trying to install on. Be aware that the default for --prefix is '/usr/local'. On most POSIX platforms, you should not be trying

[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 \ --with-sys