Hello,
I am currently a bit into my first LFS build. I am currently at Chapter 6.7: Linux 4-4-2 API Headers.
At first, I accidentally ran the commands as the LFS user, but I am unsure if that is what is causing the issue. Once I realized my mistake, I went back to chroot, changed to the sources directory, unzipped the package, changed into the newly created directory, went to run the "make mrporper" command and got back "bash: make: command not found"
I tried to search what may cause this error but have not be able to gather up much. The command "make" worked fine for the LFS user but seems to be gone for my chroot user.
Any advice on what to do? I saw some others had gcc errors caused by missing links. Below is the output of links for make. Not sure if it'll help, but I figure if it might it's worth a shot.
root:/# ls -l tools/bin/ | grep "make"
-rwxr-xr-x 1 root root 13908 Jun 14 12:46 makedb
lrwxrwxrwx 1 root root 8 Jun 13 16:53 makeinfo -> texi2any
****UPDATE****
I tried to reinstall "make" through the LFS user. Everything passed on the checks, but when i ran "make install," I got the following errors:
lfs:/mnt/lfs/sources/make-4.1$ make install
Making install in glob
make[1]: Entering directory '/mnt/lfs/sources/make-4.1/glob'
make[2]: Entering directory '/mnt/lfs/sources/make-4.1/glob'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/mnt/lfs/sources/make-4.1/glob'
make[1]: Leaving directory '/mnt/lfs/sources/make-4.1/glob'
Making install in config
make[1]: Entering directory '/mnt/lfs/sources/make-4.1/config'
make[2]: Entering directory '/mnt/lfs/sources/make-4.1/config'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/mnt/lfs/sources/make-4.1/config'
make[1]: Leaving directory '/mnt/lfs/sources/make-4.1/config'
Making install in po
make[1]: Entering directory '/mnt/lfs/sources/make-4.1/po'
/tools/bin/install: cannot create regular file '/tools/share/locale/be/LC_MESSAGES/make.mo': Permission denied
installing be.gmo as /tools/share/locale/be/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/cs/LC_MESSAGES/make.mo': Permission denied
installing cs.gmo as /tools/share/locale/cs/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/da/LC_MESSAGES/make.mo': Permission denied
installing da.gmo as /tools/share/locale/da/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/de/LC_MESSAGES/make.mo': Permission denied
installing de.gmo as /tools/share/locale/de/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/es/LC_MESSAGES/make.mo': Permission denied
installing es.gmo as /tools/share/locale/es/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/fi/LC_MESSAGES/make.mo': Permission denied
installing fi.gmo as /tools/share/locale/fi/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/fr/LC_MESSAGES/make.mo': Permission denied
installing fr.gmo as /tools/share/locale/fr/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/ga/LC_MESSAGES/make.mo': Permission denied
installing ga.gmo as /tools/share/locale/ga/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/gl/LC_MESSAGES/make.mo': Permission denied
installing gl.gmo as /tools/share/locale/gl/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/he/LC_MESSAGES/make.mo': Permission denied
installing he.gmo as /tools/share/locale/he/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/hr/LC_MESSAGES/make.mo': Permission denied
installing hr.gmo as /tools/share/locale/hr/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/id/LC_MESSAGES/make.mo': Permission denied
installing id.gmo as /tools/share/locale/id/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/it/LC_MESSAGES/make.mo': Permission denied
installing it.gmo as /tools/share/locale/it/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/ja/LC_MESSAGES/make.mo': Permission denied
installing ja.gmo as /tools/share/locale/ja/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/ko/LC_MESSAGES/make.mo': Permission denied
installing ko.gmo as /tools/share/locale/ko/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/lt/LC_MESSAGES/make.mo': Permission denied
installing lt.gmo as /tools/share/locale/lt/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/nl/LC_MESSAGES/make.mo': Permission denied
installing nl.gmo as /tools/share/locale/nl/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/pl/LC_MESSAGES/make.mo': Permission denied
installing pl.gmo as /tools/share/locale/pl/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/pt_BR/LC_MESSAGES/make.mo': Permission denied
installing pt_BR.gmo as /tools/share/locale/pt_BR/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/ru/LC_MESSAGES/make.mo': Permission denied
installing ru.gmo as /tools/share/locale/ru/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/sv/LC_MESSAGES/make.mo': Permission denied
installing sv.gmo as /tools/share/locale/sv/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/tr/LC_MESSAGES/make.mo': Permission denied
installing tr.gmo as /tools/share/locale/tr/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/uk/LC_MESSAGES/make.mo': Permission denied
installing uk.gmo as /tools/share/locale/uk/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/vi/LC_MESSAGES/make.mo': Permission denied
installing vi.gmo as /tools/share/locale/vi/LC_MESSAGES/make.mo
/tools/bin/install: cannot create regular file '/tools/share/locale/zh_CN/LC_MESSAGES/make.mo': Permission denied
installing zh_CN.gmo as /tools/share/locale/zh_CN/LC_MESSAGES/make.mo
if test "make" = "gettext-tools"; then \
/tools/bin/mkdir -p /tools/share/gettext/po; \
for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed
en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \
/tools/bin/install -c -m 644 ./$file \
/tools/share/gettext/po/$file; \
done; \
for file in Makevars; do \
rm -f /tools/share/gettext/po/$file; \
done; \
else \
: ; \
fi
make[1]: Leaving directory '/mnt/lfs/sources/make-4.1/po'
Making install in doc
make[1]: Entering directory '/mnt/lfs/sources/make-4.1/doc'
make[2]: Entering directory '/mnt/lfs/sources/make-4.1/doc'
make[2]: Nothing to be done for 'install-exec-am'.
/tools/bin/mkdir -p '/tools/share/info'
/tools/bin/install -c -m 644 ./make.info ./make.info-1 ./make.info-2 '/tools/share/info'
/tools/bin/install: cannot create regular file '/tools/share/info/make.info': Permission denied
/tools/bin/install: cannot create regular file '/tools/share/info/make.info-1': Permission denied
/tools/bin/install: cannot create regular file '/tools/share/info/make.info-2': Permission denied
Makefile:685: recipe for target 'install-info-am' failed
make[2]: *** [install-info-am] Error 1
make[2]: Leaving directory '/mnt/lfs/sources/make-4.1/doc'
Makefile:589: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/make-4.1/doc'
Makefile:762: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1