New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom manual installation within a dedicated 'build' directory, in a proot-distro alias of Debian chroot, in a Termux host environment: require make install
instructions, post-successful BAT test, and successful custom make
#2946
Comments
make install
instrictions, post successful BAT testmake install
instrictions, post successful BAT test, and successful custom make
make install
instrictions, post successful BAT test, and successful custom make make install
instructions, post-successful BAT test, and successful custom make
https://github.com/pyenv/pyenv?tab=readme-ov-file#installation Git clone instructions are not "rudimentary", it's one of the supported installations schemes.
This should not be a big deal in your case. This test checks that non-writable shims directory is correctly handled by Pyenv logic. You can see the test's code at Lines 20 to 25 in aabaa89
Most likely, in your system, there are other security mechanisms that override UNIX permissions and chmod -w has no effect as a result.
Not needed. Pyenv is written in Bash so it doesn't require compilation. Makefile is only needed to run tests (which is mainly useful for development) and to build an optional shell extension that speeds up some internal operations. An instruction to build the extension is present in the Basic Git checkout README section as it's only needed when using this installation scheme. |
Hi
First, I want to thank all the contributors to the source code of this project and all those who have filed issues, to make it better.
Second, I want to apologise for filing this issue and for being so nooby. I also note that as I have a conda initialised Python environment in the shells of this chroot through Miniforge3, that
pyenv
may very well be redundant. But, I would still like it installed and shell-initialised within this chroot, going forward.Third, this is my distro spec:
Fourth, this is my proot chroot spec:
╰─(base) ⠠⠵ uname -a Linux localhost 6.2.1-PRoot-Distro #1 SMP PREEMPT Mon Dec 4 10:05:43 UTC 2023 aarch64 GNU/Linux
Fifth, I generated a successfull 'Makefile' in /src from executing 'configure' from within my custom 'build' directory.
Sixth, this is my successful bespoke manual
make
shell output from the build executed from within my custom 'build' directory:Seventh, this is the tweaked 'Makefile' from within /src:
Eighth, as I could find no express instructions for a manual installation within the README.md or within the locally cloned repository, other than the rudimentary
git clone
instructions, I resolved to excavate the logic of the automated-installer project repository and scripts for illumination, and reverse engineer and wing-a-process on-the-fly, for my usecase. I elected to go the manual installation route to improve my shell and problem-solving skills, as I am writing a book on the circa eighteen (18) unique shells I have installed in my Termux host environment, and the many shells I similarly have installed within my circa nine (9) chroots, along with the acquisition of shell scripting skills, for these many shell dialects, to inform a written work directed to the newly digitally included, amongst the circa one third (1/3) , of the global population still digitally excluded, to bring them up-to-speed with the computational shell, if they so have the disposition, interest and inclination.Ninth, just in case it may be helpful, here is the TAP output of executing BAT:
Tenth, I repaired the following error output in the test:
By temporarily exporting an environment variable in my current Zsh shell, where I was doing the installation process:
This worked, as the 'make' was successful after much investigation, trial-and-error, tweaking, and endeavour, as advised above with the successful shell output.
Eleventh, all that remains is a
make install
, post-successful make. I ventured:This is as far as I got. I looked everywhere I could think of to find the
make install
information, such as installation target, etc., without success, so as not to bother you.Finally, I really need to know what is to be done to finalise the install. I also note, from the automated-installer script and repository from which I gathered much salient logic and information to progress the manual install, that there are plugins that need to be built and enabled, as well. Also, I noted the plugins in the locally git cloned repository, but have not yet progressed this, as I felt it best to finalise the 'pyenv' installation first, and ensure its executables are added to PATH, and then proceed with the shell initialisation process. Then, attend to the plugins. So, I humbly request to be schooled on the necessary information and processes to proceed.
Any assistance greatly appreciated.
Thanking you in anticipation
Beauford
The text was updated successfully, but these errors were encountered: