compile git
"Thomas Seeling" ([email protected] via lfs-support Mailing List) <[email protected]> Sun, 28 Sep 2025 17:30:51 +0200
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Organization | Kleintierpraxis Berstadt |
| Message-ID | <[email protected]> |
Hello dear list, I had problems installing and using git, and I noticed it will be compiled twice following the book. "make" compiles for the first time; then during "make install" it notices the "make" parameters have changed (caused by the override command "perllibdir=..." and it compiles again - unnecessarily so. A possible remedy would be to give the "perllibdir=..." argument to the first "make" invocation as well. When doing the actual "make install" it will use the home directory of the user as installation prefix, i.e. after "make install" I had new directories "/root/bin", "/root/share" and "/root/libexec". This is caused by a default setting of "prefix = $(HOME)" in the Makefile. This is not overridden by using "./configure --prefix=/usr". The "make install" invocation explicitly needs an additional override of "prefix=/usr" to successfully inject this into the Makefile. Alternatively after running "configure" we could change that line in the Makefile with e.g. a "sed" command. Moreover git complains about certificates, and a solution to that would be setting the CA definition with a git command. git config --global http.sslcainfo=/etc/pki/tls/certs/ca-bundle.crt Stay healthy, Thomas -- Do you wanna be a legend or a passing footprint on the sands of time? -- http://lists.linuxfromscratch.org/sympa/info/lfs-support Unsubscribe: See the above information page