#244 closed defect (fixed)
gzexe: /usr/bin/gzip -> /bin/gzip + fix gzexe's sleep expectancy
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | Book | Version: | 3.1 |
Severity: | normal | Keywords: | |
Cc: | gerard@… |
Description
/usr/bin/gzexe refers to /usr/bin/gzip, which is moved to /bin/gzip by the install script.
fix: sed 's/"BINDIR"/\/bin/' gzexe.in > gzexe.fixed mv gzexe.fixed gzexe.in
Eivind Magnus Hvidevold
Change History (17)
comment:1 by , 23 years ago
Priority: | normal → high |
---|
comment:2 by , 23 years ago
Summary: | gzexe: /usr/bin/gzip -> /bin/gzip → gzexe: /usr/bin/gzip -> /bin/gzip + fix gzexe's sleep expectancy |
---|
comment:3 by , 23 years ago
instead of sed'ing to change the path of gzip in the gzexe script how about just ./configure --bindir=/bin and be done with it. It's not a biggie if gzexe is in /bin
comment:4 by , 23 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
* This bug has been marked as a duplicate of 251 *
comment:5 by , 23 years ago
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
comment:6 by , 23 years ago
Owner: | changed from | to
---|---|
Status: | reopened → assigned |
comment:7 by , 23 years ago
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
* This bug has been marked as a duplicate of 251 *
comment:8 by , 23 years ago
confirmed that fixing bug 251 will fix this bug. closing bug as duplicate
comment:9 by , 23 years ago
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
gzexe hardcodes:
/bin/sleep
/usr/bin/gzip
The /bin/sleep thing will be dealt with by Bug 251 which will move sleep to this location anyways. We need to fix the gzip path though as we move gzip to /bin/gzip
comment:11 by , 23 years ago
Priority: | high → highest |
---|
comment:12 by , 23 years ago
ok. here's a bit more info on this bug. Here is a list of which programs gzexe refers to and how it calls them listed by package.
Fileutils: ========== cp: cp chmod: chmod in some places; /bin/chmod in others... ln: /bin/ln ls: ls rm: rm in some places; /bin/rm in others...
Grep: ===== grep: grep
Gzip: ===== gzip: /usr/bin/gzip
Sed: ==== sed: sed in some places: /bin/sed in others...
Sh-utils: ========= basename: basename sleep: /bin/sleep
Textutils: ========== tail: gzexe checks all directories in the path for this then stores the
absolute location in a variable (!?! why not just refer to tail?)
comment:13 by , 23 years ago
Status: | reopened → assigned |
---|
comment:14 by , 23 years ago
The suggested --bindir won't work with gzip because it's configure script isn't one of those autoconf generated ones. So we'll go with the sed:
cp gzexe.in gzexe.in.backup sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in
comment:15 by , 23 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:17 by , 23 years ago
Keywords: | VERIFIED removed |
---|
it expects sleep to be in /usr/bin but it's in /bin
check gzexe for more locations and make sure they exist.