Tanya :
Saya sedang menginstall binutils di Linux from Scratch
Ketika menjalankan perintah
expect -c "spawn ls"
Saya mendapatkan pesan
The system has no more ptys. Ask your system administrator to create more. while executing "spawn ls"
Apa yang harus saya lakukan ?
Jawab :
Pesan kesalahan itu biasanya muncul karena anda lupa melakukan proses mounting di awal. Lakukan tahapan mounting sebelum masuk ke chroot :
mount -v --bind /dev $LFS/dev mount -vt devpts devpts $LFS/dev/pts mount -vt tmpfs shm $LFS/dev/shm mount -vt proc proc $LFS/proc mount -vt sysfs sysfs $LFS/sys
Lakukan lagi perintah
expect -c "spawn ls"
tadi di lingkungan chroot
lfs@ubuntu:/mnt/lfs/sources/expect5.45$ make SCRIPTS=”” install
(echo ‘if {![package vsatisfies [package provide Tcl] 8.6]} {return}’ ; \
echo ‘package ifneeded Expect 5.45 \
[list load [file join $dir libexpect5.45.so]]’\
) > pkgIndex.tcl
/usr/bin/install -c libexpect5.45.so /tools/lib/expect5.45/libexpect5.45.so
/usr/bin/install: cannot remove `/tools/lib/expect5.45/libexpect5.45.so’: Permission denied
: /tools/lib/expect5.45/libexpect5.45.so
Install pkgIndex.tcl /tools/lib/expect5.45
/usr/bin/install: cannot remove `/tools/lib/expect5.45/pkgIndex.tcl’: Permission denied
make: *** [install-lib-binaries] Error 1
ini kenp ya mas om mbak tante. . .
ini waktu install paket expert di 7.3 yang 5.11 helppp