Ned Deily added the comment:
My apologies: I'm not sure where I got the idea you were building on macOS!
In any case, this problem has come up a few times in the past, no doubt for a
similar reason, most recently in open issue Issue31114. I'm closing this issue
as a duplicate of that. But
Дилян Палаузов added the comment:
I want to compile and install python for a chrooted environment. --prefix are
the path within the chrooted-environment. DESTDIR is the location of the root
of the chrooted-environment.
When I glue DESTDIR with --prefix= (thus use no DESTDIR) this happens:
Ned Deily added the comment:
Why are you using --prefix=/ ? Or better yet, please explain you are trying to
accomplish. A normal case would be --prefix=/some/path other than / and not use
DESTDIR. You won't be able to install into / on a current macOS system anyway.
--
nosy:
Дилян Палаузов added the comment:
Once I create /lib/python3.10/lib-dynload/, the next error is:
changing mode of /lib/python3.10/lib-dynload/__pycache__ to 755
running install_scripts
copying build/scripts-3.10/pydoc3.10 -> /bin
error: could not delete '/bin/pydoc3.10': Permission denied
New submission from Дилян Палаузов :
With most recent 3.10 (v3.10.2-169-g98e2ee60) I call
./configure --prefix=/ && make && make DESTDIR=/home/d/A install
It fails with:
running build
running build_ext
INFO: Can't locate Tcl/Tk libs and/or headers
Python build finished successfully!
The