所以我正在尝试在lfs构建上配置glibc2.14.1(步骤6.9)。当我收到以下错误时,我得到配置它:
root:/home/glibc-build# ../glibc-2.14.1/configure --prefix=/usr --disable-profile --enable-add-ons --enable-kernel=2.6.25 --libexecdir=/usr/lib/glibc
../glibc-2.14.1/configure: line 30: /dev/null: Permission denied
../glibc-2.14.1/configure: line 75: /dev/null: Permission denied
../glibc-2.14.1/configure: line 56: /dev/null: Permission denied
../glibc-2.14.1/configure: line 84: /dev/null: Permission denied
../glibc-2.14.1/configure: line 137: /dev/null: Permission denied
../glibc-2.14.1/configure: line 242: /dev/null: Permission denied
../glibc-2.14.1/configure: line 195: /dev/null: Permission denied
../glibc-2.14.1/configure: line 195: /dev/null: Permission denied
../glibc-2.14.1/configure: line 195: /dev/null: Permission denied
../glibc-2.14.1/configure: line 195: /dev/null: Permission denied
../glibc-2.14.1/configure: line 195: /dev/null: Permission denied
../glibc-2.14.1/configure: line 195: /dev/null: Permission denied
../glibc-2.14.1/configure: line 242: /dev/null: Permission denied
../glibc-2.14.1/configure: This script requires a shell more modern than all
../glibc-2.14.1/configure: the shells that I found on your system.
../glibc-2.14.1/configure: Please tell bug-autoconf@gnu.org and glibc about your
../glibc-2.14.1/configure: system, including any error possibly output before this
../glibc-2.14.1/configure: message. Then install a modern shell, or manually run
../glibc-2.14.1/configure: the script under such a shell if you do have one.
有关此错误原因的任何想法?提前谢谢
答案 0 :(得分:0)
我在这里发现了同样的错误:
http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2000-August/005683.html
问题是/ dev / null属于不存在的用户/组。
答案 1 :(得分:-1)
每当Permission Denied出现时,就意味着你必须执行sudo之前的语句。只需使用su更改为root用户,然后编写sudo,然后编写任何你想写的命令。只要有问题,就提供root密码。