[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash install using default prefix deleted /bin/bash & /bin/sh symlink
From: |
John Meshkoff |
Subject: |
bash install using default prefix deleted /bin/bash & /bin/sh symlink |
Date: |
Sun, 6 Jun 2004 18:17:54 -0700 |
Configuration Information [Automatically generated, do not change]:
Machine: i586
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i586'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i586-pc-linux-gnu'
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib
-static -O2 -g uname output: Linux linus.sivakalpa.net 2.2.24 #1 Tue
May 18 17:44:05 PDT 2004 i586 unknown Machine Type: i586-pc-linux-gnu
Bash Version: 2.05b
Patch Level: 0
Release Status: release
Description:
I built and installed static-linked bash 2.05b on a RedHat 6.1
workstation, with gcc-2.95-3 and make-3.80, in preparation for another
attempt to build and install glibc-2.2.4. I used configure's default
prefix of /usr/local.
I used checkinstall-1.5.2 to do the "make install" (my standard practice
when bulding programs from source) to update the rpm database.
After installing, I found that /bin/bash and the /bin/sh symlink to
/bin/bash had both been deleted (fortunately I had Tom's RTBT on hand to
fix this when the system couldn't initialize on re-boot).
My suspicion is this could be the result of a bug in the bash sources.
I'm just an end-user, not a programmer, so I can't be certain; I've
never run into this kind of problem before, and have successfully built
many programs in this manner, including the gcc and make mentioned
above.
Repeat-By:
export CFLAGS="-static -O2 -g"
./configure
make
/usr/local/sbin/checkinstall
--
John Meshkoff johnpipe108 at comcast dot net
- bash install using default prefix deleted /bin/bash & /bin/sh symlink,
John Meshkoff <=