Bug 43899 - sdr need to be run from /usr/bin
Summary: sdr need to be run from /usr/bin
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Powertools
Classification: Retired
Component: sdr
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Powers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-06-07 21:03 UTC by Douglas Kilpatrick
Modified: 2008-05-01 15:38 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2001-06-08 13:31:48 UTC


Attachments (Terms of Use)

Description Douglas Kilpatrick 2001-06-07 21:03:12 UTC
$ sdr
sdr:tcl_sdr couldn't stat "sdr": no such file or directory
couldn't stat "sdr": no such file or directory
    while executing
"file type $app_name"

But:

$ cd $(dirname $(which sdr) )
$ ./sdr
$

works fine.

Comment 1 Tim Powers 2001-06-07 21:20:25 UTC
Actually, it's not that complicated. 

Run it like so:

   /usr/bin/sdr

Tim

Comment 2 Douglas Kilpatrick 2001-06-07 21:31:31 UTC
that also works, no real surprise. (Ok, bug summary is wrong.  Real bug
remains.  "Stupid app does 'stat $0' and expects it to actually work."  I have
not had the courage to get the source and find out why it thinks it needs to
stat the program.)

Comment 3 Tim Powers 2001-06-08 13:31:43 UTC
It's definitely a bug. I don't dispute that. I just thought it was funny that in
your initial description of the problem you found a workaround using the "hard"
way ;)

In any case, sdr-3.0-4 fixes this problem. It should show up in rawhide soon.

Also, I updated rat as well. Yoou should see a new version of that in rawhide at
the same time.

Tim


Note You need to log in before you can comment on or make changes to this bug.