Ticket #3181 (closed defect: fixed)
mc.sh should depend on config.status
|Reported by:||egmont||Owned by:||andrew_b|
|Branch state:||merged||Votes for changeset:||committed-master|
When you re-run ./configure with a different --prefix, mc.sh doesn't get regenerated. Hence an incorrect version can be installed.
I usually run "./configure --prefix=/tmp/MC" when I'm experimenting, and "./configure" (with implicit --prefix=/usr/local) when making a stable build.
I also have this fixed line in my .bashrc:
Consider the following usage:
git clone [...] cd mc [make experimental modifications] ./autogen.sh ./configure --prefix=/tmp/MC make make install /tmp/MC/bin/mc [test the changes, figure out they're good to be deployed] ./configure [with implicit --prefix=/usr/local] make sudo make install
I end up with a /usr/local/libexec/mc/mc.sh that contains
alias mc='. /tmp/MC/libexec/mc/mc-wrapper.sh'
So starting a new shell and just typing mc launches the one under /tmp/MC, clearly not what I'd expect.
- Summary changed from mc.sh should depend on config.h to mc.sh should depend on config.status
- Owner set to andrew_b
- Status changed from new to accepted
- Votes for changeset set to andrew_b
- Branch state changed from no branch to approved
- Milestone changed from Future Releases to 4.8.14
- Status changed from accepted to testing
- Votes for changeset changed from andrew_b to committed-master
- Resolution set to fixed
- Branch state changed from approved to merged