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.

classification
Title: wrong site-package installation even if correct libdir passed
Type: compile error Stage:
Components: Cross-Build Versions: Python 3.4
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: Samuel88, georg.brandl
Priority: normal Keywords:

Created on 2014-10-19 08:30 by Samuel88, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg229675 - (view) Author: Samuel (Samuel88) Date: 2014-10-19 08:30
Today I compile try Python 3.4.2 on slackware-current in this way

./configure \
  --prefix=/usr \
  --libdir=/usr/lib64 \
  --mandir=/usr/man \
  --with-threads \
  --enable-ipv6 \
  --enable-shared \

make \
  LIBDIR=/usr/lib64 \
  SCRIPTDIR=/usr/lib64

make install

like slackbuild say.
But site package directory are under /usr/lib/python3.4/site-packages
and not under /usr/lib64/python3.4/site-packages, which contanin only a README file with

This directory exists so that 3rd party packages can be installed
here.  Read the source for site.py for more details.
msg229676 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2014-10-19 09:22
It seems that you should give "SCRIPTDIR=/usr/lib64" to the "make install" step, not the "make" step.  Are you sure the slackbuild instructions are missing that?
msg229678 - (view) Author: Samuel (Samuel88) Date: 2014-10-19 09:38
I use an old slackbuild, with new http://slackbuilds.org/slackbuilds/14.1/python/python3/python3.SlackBuild wich have patch file which correct the lib64 path installation work fine
History
Date User Action Args
2022-04-11 14:58:09adminsetgithub: 66860
2014-10-19 09:38:57Samuel88setmessages: + msg229678
2014-10-19 09:22:56georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg229676

resolution: third party
2014-10-19 08:30:34Samuel88create