#2 Problem with make install

open
nobody
None
5
2001-09-25
2001-09-25
Anonymous
No

.Desc: When 'make install' he try to execute mkdir -pv but do not reconize the -v option (--verbose is correct)

.Plateform: Linux 2.4.10 - Slakware 8

.Trace:
root@efflam:/usr/src/cryptoapi-2.4.7.0# make install
Making install in api
gmake[1]: Entering directory `/usr/src/cryptoapi-2.4.7.0/api'
gmake[2]: Entering directory `/usr/src/cryptoapi-2.4.7.0/api'
gmake[2]: Nothing to be done for `install-exec-am'.
if [ ! -d /lib/modules/2.4.10/cryptoapi ];then rm -rfv /lib/modules/2.4.10/cryptoapi;mkdir -pv /lib/modules/2.4.10/cryptoapi;fi
mkdir: invalid option -- v
Try `mkdir --help' for more information.

Discussion

  • Ruben Garcia
    Ruben Garcia
    2001-10-15

    Logged In: YES
    user_id=338784

    I think it is just a typo.
    Patch:
    diff -u cryptoapi-2.4.7.0.old/Makefile.common.in
    cryptoapi-2.4.7.0/Makefile.common.in
    --- cryptoapi-2.4.7.0.old/Makefile.common.in Mon Oct 15
    14:50:13 2001
    +++ cryptoapi-2.4.7.0/Makefile.common.in Mon Oct 15
    14:49:06 2001
    @@ -21,5 +21,5 @@
    $(KCC) -g -I$(top_srcdir)/include -D__KERNEL__
    $(KCPPFLAGS) $(KCFLAGS) -include
    $(top_srcdir)/tests/testenv.h -o $@ -c $<

    install-data-local: $(KMODULES)
    - if [ ! -d $(MODLIB) ];then rm -rfv $(MODLIB);mkdir
    -pv $(MODLIB);fi
    + if [ ! -d $(MODLIB) ];then rm -rfv $(MODLIB);mkdir
    -p $(MODLIB);fi
    if [ -n "$(KMODULES)" ];then cp -v $(KMODULES)
    $(MODLIB);fi
    diff -u cryptoapi-2.4.7.0.old/Makefile.in
    cryptoapi-2.4.7.0/Makefile.in
    --- cryptoapi-2.4.7.0.old/Makefile.in Mon Oct 15 14:50:13
    2001
    +++ cryptoapi-2.4.7.0/Makefile.in Mon Oct 15 14:49:16
    2001
    @@ -350,7 +350,7 @@
    $(KCC) -g -I$(top_srcdir)/include -D__KERNEL__
    $(KCPPFLAGS) $(KCFLAGS) -include
    $(top_srcdir)/tests/testenv.h -o $@ -c $<

    install-data-local: $(KMODULES)
    - if [ ! -d $(MODLIB) ];then rm -rfv $(MODLIB);mkdir
    -pv $(MODLIB);fi
    + if [ ! -d $(MODLIB) ];then rm -rfv $(MODLIB);mkdir
    -p $(MODLIB);fi
    if [ -n "$(KMODULES)" ];then cp -v $(KMODULES)
    $(MODLIB);fi