bash: /usr/bin/localedef: No such file or directory
Hi folks,
LFS 6.1 Moved on to 6.11. Glibc-2.3.4 http://www.linuxfromscratch.org/lfs/...r06/glibc.html <snip> root:/sources/glibc-build# make check Code:
... root:/sources/glibc-build# make install Code:
... root:/sources/glibc-build# localedef -i de_DE -f ISO-8859-1 de_DE Code:
bash: /usr/bin/localedef: No such file or directory Code:
bash: /usr/bin/localedef: No such file or directory Code:
bash: /usr/bin/localedef: No such file or directory Code:
bash: which: command not found Code:
total 12 It did happened on building LFS 6.0 Code:
bash: /usr/bin/localedef: No such file or directory ending up installing "make localedata/install-locales" instead. Started another console window. [satimis@localhost ~]$ su Password: [root@localhost satimis]# which -a localedef Code:
/usr/bin/localedef Code:
cdrom cdwriter floppy lfs livecd [root@localhost satimis]# ls /mnt/lfs/ Code:
bin dev home media opt root sources sys tools var lfs:~$ which -a localedef Code:
/tools/bin/localedef Any advice. TIA B.R. satimis |
The reason the mount points didn't show is because you're in the chroot environment, so your / for that environment would be equivalent to /mnt/lfs in your regular environment. My guess would be that localedef isn't in /usr/bin in your chroot environment because your make install wasn't successful.
|
Hi kjordan,
Quote:
Quote:
http://www.linuxfromscratch.org/lfs/...r06/glibc.html After booting up the PC, performed following steps - Removed both "glibc-2.3.4" and "glibc-build" on Konqueror as Root Starting Console [satimis@localhost ~]$ su Password: [root@localhost satimis]# export LFS=/mnt/lfs [root@localhost satimis]# mount /dev/hda6 /mnt/lfs [root@localhost satimis]# mkdir -p $LFS [root@localhost satimis]# echo $LFS /mnt/lfs [root@localhost satimis]# mkdir -p $LFS/{proc,sys} [root@localhost satimis]# mount -t proc proc $LFS/proc [root@localhost satimis]# mount -t sysfs sysfs $LFS/sys [root@localhost satimis]# mount -f -t tmpfs tmpfs $LFS/dev [root@localhost satimis]# mount -f -t tmpfs tmpfs $LFS/dev/shm [root@localhost satimis]# mount -f -t devpts -o gid=4,mode=620 devpts $LFS/dev/pts [root@localhost satimis]# /usr/sbin/chroot "$LFS" /tools/bin/env -i HOME=/root TERM="$TERM" PS1='\u:\w\$ ' PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin /tools/bin/bash --login +h I have no name!:/# I have no name!:/# exec /tools/bin/bash --login +h root:/# mount -t devpts -o gid=4,mode=620 none /dev/pts Code:
mount: mount point /dev/pts does not exist Code:
mount: mount point /dev/pts does not exist Code:
mount: mount point /dev/shm does not exist Yesterday this part also having problem as follows; (referred to Notes) - Notes - root:/# mount -t devpts -o gid=4,mode=620 none /dev/pts Code:
warning: can't open /etc/fstab: No such file or directory Code:
mount: none already mounted or /dev/pts busy The last command went through without complaint. - END - Furthermore whether I need to repeat these 3 commands each time when booting up the PC ??? root:/# ls Code:
bin boot dev etc home lib media mnt opt proc root sbin sources srv sys tmp tools usr var root:/# cd sources/ root:/sources# ls | grep glibc Code:
glibc-2.3.4-fix_test-1.patch glibc-2.3.4-fix_test-1.patch.rej glibc-2.3.4.tar.bz2.orig I re-downloaded both "glibc-2.3.4-fix_test-1.patch" and "glibc-2.3.4.tar.bz2" Re-named the old ones as .orig glibc-2.3.4-fix_test-1.patch.rej glibc-2.3.4.tar.bz2.rej I have no idea how these files coming to existence. I left them there. root:/sources# tar xjf glibc-2.3.4.tar.bz2 root:/sources# cd glibc-2.3.4 root:/sources/glibc-2.3.4# patch -Np1 -i ../glibc-2.3.4-fix_test-1.patch Code:
patching file nptl/tst-cancel17.c root:/sources/glibc-2.3.4# cd ../glibc-build root:/sources/glibc-build# ../glibc-2.3.4/configure --prefix=/usr \ > --disable-profile --enable-add-ons \ > --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc root:/sources/glibc-build# make Code:
.... Code:
... Code:
root:/sources/glibc-build# make check B.R. satimis |
All times are GMT -5. The time now is 09:43 PM. |