On 04/02/14 21:50, Bruce Dubbs wrote:
> [email protected] wrote:
>
>
>> My shell is /bin/bash. My bash version is 4.2.45(1) in my 7.4 and 7.5
>> BLFS. Should they be the same?
> I don't recall, but bash-4.2.45 is fine. You are slightly ambiguous
> here. bash behavior changes if it is called as sh. I assume you mean
> it's being called as bash.
>
> What's the output of 'echo $PS1'?
>
> How about 'ldd /bin/bash'? Is libreadline.so.6 there?
>
> -- Bruce
>
>
>
>
>
>
ldd /bin/bash:
linux-gate.so.1 (0xb7732000)
libreadline.so.6 => /lib/libreadline.so.6 (0xb76f2000)
libhistory.so.6 => /lib/libhistory.so.6 (0xb76ea000)
libncursesw.so.5 => /lib/libncursesw.so.5 (0xb768c000)
libdl.so.2 => /lib/libdl.so.2 (0xb7687000)
libc.so.6 => /lib/libc.so.6 (0xb74dc000)
/lib/ld-linux.so.2 (0xb7733000)
echo PS1: \s-\v\$
Echo PS1 from LFS shows "\w >" as I would expect. As I can
"./SomeScript.sh" but cannot "source SomeScript.sh" I attempted to
manually execute /etc/bashrc from /etc in xterm with ./bashrc but
received "file not found."
This is a stretch, but I should mention I compiled BLFS/X with an older
kernel than I used in compiling LFS. I found I booted to a blank screen
after compiling LFS with the 3.13.13 kernel so I reverted to my LFS/BLFS
3.10.10 kernel. I did post the problem to LFS support "Blank screen
when booting with 3.13.3 kernel. - LFS 7.5" but didn't get a resolution
and wasn't told I couldn't use an older kernel. It was a surprise to me
I could revert to an older kernel. I specifically asked the question in
my post. I will re-compile LFS with the 3.10.10 kernel if suggested.
I should also mention I've continued past my basic X installation and
have no problems other than xterm. I can run X, connect to the
internet, and run all programs I ran with BLFS 7.4 without incident.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page