Stas Sergeev
Stas Sergeev
``` chmod a+x install-sh chmod a+x missing /home/stas/src/build-gcc/script/build-binutils.sh: line 9: ../configure: Permission denied ``` You forgot to chmod also configure.
I wonder how to give the user a confidence that he isn't working as root most of the time. Maybe after you ended the sudo operation, you should print what...
> Of course, that doesn't prevent harmful commands from being executed in the first place. The main point is not to run downloading or compilation under sudo, as this will...
``` main::scan_file() called too early to check prototype at /home/stas/src/build-gcc/build/djcross-gcc-8.2.0/tmpinst/bin/aclocal line 644. aclocal: couldn't open directory '/home/stas/src/build-gcc/build/djcross-gcc-8.2.0/tmpinst/share/aclocal': No such file or directory ``` ``` Patch gcc/doc/gcc.texi /home/stas/src/build-gcc/build/djcross-gcc-8.2.0 cp: cannot stat...
``` checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. ``` and build failed. It would be good if you disable the parallel build for now, otherwise...
> Whoa, where did this happen? Here: ``` patching file /home/stas/src/build-gcc/build/djcross-gcc-8.2.0/gnu/gcc-8.20/include/libiberty.h Using Plan A... Hunk #1 succeeded at 108. done main::scan_file() called too early to check prototype at /home/stas/src/build-gcc/build/djcross-gcc-8.2.0/tmpinst/bin/aclocal line...
``` Copy long name executables to short name. /home/stas/src/build-gcc/script/finalize.sh: line 13: /usr/local/cross/setenv-i586-pc-msdosdjgpp: Permission denied /home/stas/src/build-gcc/script/finalize.sh: line 14: /usr/local/cross/setenv-i586-pc-msdosdjgpp: Permission denied /home/stas/src/build-gcc/script/finalize.sh: line 15: /usr/local/cross/setenv-i586-pc-msdosdjgpp: Permission denied /home/stas/src/build-gcc/script/finalize.sh: line 16: /usr/local/cross/setenv-i586-pc-msdosdjgpp:...
:) ``` To remove temporary build files, use: rm -rf build/ To remove downloaded source packages, use: rm -rf download/ ./build-djgpp.sh: line 283: /usr/local/cross/setenv-i586-pc-msdosdjgpp: Permission denied ./build-djgpp.sh: line 284: /usr/local/cross/setenv-i586-pc-msdosdjgpp.bat:...
Hmm, looks like it now builds! Thank you. :)
But your scripts still contain the wrong line-endings, so I always have to manually fix them.