Hi.
Earlier i was facing error with gcc install....
So i had to start chapter 6 gain from the beginning.But this time i am facing problem not with gcc but with glibc.
I untared glibc-libidn while in
source directory AS
tar -xvf glibc-libidn-2.10.1.tar.bz2
mv -v glibc-libidn-2.10.1 libidn
BUt book says to do it as
tar -xvf ../glibc-libidn-2.10.1.tar.bz2
mv -v glibc-libidn-2.10.1 libidn
I tried the above command by the book but got this
Code:
root:/sources# tar -xvf ../glibc-libidn-2.10.1.tar.bz2
tar: ../glibc-libidn-2.10.1.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
.
now when i try :
Code:
DL=$(readelf -l /bin/sh | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=$DL -o|" \
scripts/test-installation.pl
unset DL
i get following error:
Code:
root:/sources# sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=$DL -o|" \
> scripts/test-installation.pl
sed: can't read scripts/test-installation.pl: No such file or directory
PLease Help......