LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   BLFS - mc , what should make check result be (https://www.linuxquestions.org/questions/linux-from-scratch-13/blfs-mc-what-should-make-check-result-be-4175500821/)

stefan1959 04-07-2014 02:45 AM

BLFS - mc , what should make check result be
 
I install MC ok and it works ok, but missing a /usr/share/mc/bin/ directory with the mc-wrapper.sh script.
I want to use that to make mc remember the current directory when it exist and that script does it.

When I ran "make check", it didn't seem to do any checks, to my untrained eye it seems to be looking for the distro to do the test on like

Making check in redhat
make[3]: Entering directory '/sources/mc-4.8.11/contrib/dist/redhat'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/sources/mc-4.8.11/contrib/dist/redhat'
make[3]: Entering directory '/sources/mc-4.8.11/contrib/dist'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/sources/mc-4.8.11/contrib/dist'
make[2]: Leaving directory '/sources/mc-4.8.11/contrib/dist'
make[2]: Entering directory '/sources/mc-4.8.11/contrib'
make[2]: Nothing to be done for 'check-am'.
make[2]: Leaving directory '/sources/mc-4.8.11/contrib'
make[1]: Leaving directory '/sources/mc-4.8.11/contrib'

Any thoughts what I might be doing wrong.

Steve

stefan1959 04-07-2014 03:34 AM

Quote:

Originally Posted by stefan1959 (Post 5147975)
I install MC ok and it works ok, but missing a /usr/share/mc/bin/ directory with the mc-wrapper.sh script.
I want to use that to make mc remember the current directory when it exist and that script does it.

Found the script, /usr/libexec/mc/mc-wrapper.sh

I would still like to know what the "make check" output should be.

Steve

stefan1959 04-07-2014 04:52 AM

Quote:

Originally Posted by stefan1959 (Post 5147997)
Found the script, /usr/libexec/mc/mc-wrapper.sh

I would still like to know what the "make check" output should be.

If you want MC to remember it current directory location, use this command.

grep -l bash\.bashrc /etc/profile || (echo
echo 'test "$PS1" && test "$BASH" && . /etc/bash.bashrc') |
tee -a /etc/profile
echo 'type -p -a mc >/dev/null &&
alias mc=". /usr/libexec/mc/mc-wrapper.sh"' | tee -a /etc/bash.bashrc

Steve


All times are GMT -5. The time now is 09:07 PM.