This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Ivailo.Monev
Recipients Ivailo.Monev
Date 2015-02-10.18:29:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1423592981.49.0.0894192959587.issue23435@psf.upfronthosting.co.za>
In-reply-to
Content
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-system-ffi \
        --with-system-expat
make
make install

I saw that during the installation that the sharedinstall rule from Makefile.pre (originally defined in Makefile.pre.in) fails to remove $(DESTDIR)$(DESTSHARED)/_sysconfigdata.py* so I manually created the leading directory and touched the file it was looking for (I could've modified Makefile.pre too) and it actually worked - lib-dynload was created and the .so files where installed in it.

I have tried using empty string as prefix but that causes runtime issues since - Python is not able to find the site-packages directory.

Cheers!
History
Date User Action Args
2015-02-10 18:29:41Ivailo.Monevsetrecipients: + Ivailo.Monev
2015-02-10 18:29:41Ivailo.Monevsetmessageid: <1423592981.49.0.0894192959587.issue23435@psf.upfronthosting.co.za>
2015-02-10 18:29:41Ivailo.Monevlinkissue23435 messages
2015-02-10 18:29:41Ivailo.Monevcreate