Can't Install Parallels Tools

Discussion in 'Linux Virtual Machine' started by MuecahidA, Dec 7, 2017.

  1. MuecahidA

    MuecahidA Member

    Messages:
    30
    After the ./install command, I got the message in the attached image. And here is the .log file : (Contents of CD is on the Desktop in /pt/pt file)

    What should I do?


    Hit:1 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease
    Reading package lists...
    Return code from apt-get update is 0
    2017-12-08T00:58:25+0300: execCmd: ./installer/pm.sh --install gtools --logfile /var/log/parallels-tools-install.log [0]
    Started installation of Parallels Guest Tools version '12.2.1.41615'

    Fri 8 Dec 00:58:25 +03 2017
    Start installation or upgrade of Guest Tools
    new version of parallels tools
    Installed Guest Tools were not found
    Perform installation into the /usr/lib/parallels-tools directory
    cat: /usr/lib/parallels-tools/kmods/../version: No such file or directory
    Start installation of prl_eth kernel module
    make: Entering directory '/usr/lib/parallels-tools/kmods'
    cd prl_eth/pvmnet && make
    make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
    make -C /lib/modules/4.14.0-kali1-686-pae/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet
    make[2]: Entering directory '/usr/src/linux-headers-4.14.0-kali1-686-pae'
    AR /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/built-in.o
    CC [M] /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.o
    LD [M] /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.o
    Building modules, stage 2.
    MODPOST 1 modules
    CC /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.mod.o
    LD [M] /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.ko
    make[2]: Leaving directory '/usr/src/linux-headers-4.14.0-kali1-686-pae'
    make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
    cd prl_tg/Toolgate/Guest/Linux/prl_tg && make
    make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
    make -C /lib/modules/4.14.0-kali1-686-pae/build SUBDIRS=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg SRCROOT=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg modules
    make[2]: Entering directory '/usr/src/linux-headers-4.14.0-kali1-686-pae'
    grep: /lib/modules/4.14.0-kali1-686-pae/build/include/linux/completion.h: No such file or directory
    CC [M] /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o
    In file included from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:38:0:
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_compat.h: In function 'wait_for_completion_interruptible':
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_compat.h:135:3: error: implicit declaration of function '_add_wait_queue_tail'; did you mean '_add_wait_queue'? [-Werror=implicit-function-declaration]
    __add_wait_queue_tail(&c->wait, &w);
    ^~~~~~~~~
    __add_wait_queue
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_compat.h:137:8: error: implicit declaration of function 'signal_pending'; did you mean 'timer_pending'? [-Werror=implicit-function-declaration]
    if (signal_pending(current)) {
    ^~~~~~
    timer_pending
    cc1: some warnings being treated as errors
    /usr/src/linux-headers-4.14.0-kali1-common/scripts/Makefile.build:319: recipe for target '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o' failed
    make[5]: * [/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o] Error 1
    /usr/src/linux-headers-4.14.0-kali1-common/Makefile:1520: recipe for target 'module/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg' failed
    make[4]: * [module/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error 2
    Makefile:146: recipe for target 'sub-make' failed
    make[3]: * [sub-make] Error 2
    Makefile:8: recipe for target 'all' failed
    make[2]: * [all] Error 2
    make[2]: Leaving directory '/usr/src/linux-headers-4.14.0-kali1-686-pae'
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/Makefile.v26:23: recipe for target 'prl_tg' failed
    make[1]: * [prl_tg] Error 2
    make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
    Makefile.kmods:34: recipe for target 'installme' failed
    make: * [installme] Error 2
    make: Leaving directory '/usr/lib/parallels-tools/kmods'
    Error: could not build kernel modules
    Error: failed to install kernel modules
    2017-12-08T00:58:28+0300: execCmd: ./install --install [143]
    2017-12-08T00:58:28+0300: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
    2017-12-08T00:58:31+0300: Exiting with code 1
     

    Attached Files:

  2. MuecahidA

    MuecahidA Member

    Messages:
    30
    Please help me!
     
  3. Arun@Parallels

    Arun@Parallels Parallels Support

    Messages:
    1,356
    Hi @MuecahidA , please follow the steps suggested in the article and let us know if that helps.
     
  4. MuecahidA

    MuecahidA Member

    Messages:
    30
    I was uploading according to the link you already gave.....Please..
     
  5. MuecahidA

    MuecahidA Member

    Messages:
    30
    Any solution? Versions are Parallels 12 and Kali 2017.3
     
  6. BennyG1

    BennyG1 Bit poster

    Messages:
    7
    Same issue here, Parallels 13 and Kali 2017.3

    Edit:
    Fixed using the below modified from another thread:

    ln -s /usr/src/linux-headers-4.14.0-kali1-common/include/linux /lib/modules/4.14.0-kali-amd64/build/include
     
    Last edited: Dec 28, 2017
  7. MuecahidA

    MuecahidA Member

    Messages:
    30
    we include header to the kali and try steps? to where we apply modified code? did you fix issue? can you tell me how did you do?
     
  8. BennyG1

    BennyG1 Bit poster

    Messages:
    7
    Just copy and paste the above into terminal, press enter then try install parallels tools again as per instructions from post above
     
  9. MuecahidA

    MuecahidA Member

    Messages:
    30
    bro, I got the error:
    ln:failed to create symbolic link '/lib/modules/4.14.0-kali-amd64/build/include': No such file or directory
     
  10. BennyG1

    BennyG1 Bit poster

    Messages:
    7
    are you using 64bit 32bit etc?
     
  11. MuecahidA

    MuecahidA Member

    Messages:
    30
    I remember, I use 32 bit so I change code which is

    " ln -s /usr/src/linux-headers-4.14.0-kali1-common/include/linux /lib/modules/4.14.0-kali-amd86/build/include "

    but even so I got error..(same error)
     
  12. BennyG1

    BennyG1 Bit poster

    Messages:
    7
    I dont think you have the correct path for your distro (amd86 is not valid). Please can you send me an LS output for /usr/src/ and /lib/modules/
     
  13. MuecahidA

    MuecahidA Member

    Messages:
    30
    here is the outputs
     

    Attached Files:

  14. BennyG1

    BennyG1 Bit poster

    Messages:
    7
    try:
    ln -s /usr/src/linux-headers-4.14.0-kali1-common/include/linux /lib/modules/4.14.0-kali1-686-pae/build/include
     
  15. MuecahidA

    MuecahidA Member

    Messages:
    30
    no bro.. I did ln -s.....code but I got error which is top of the thread..

    maybe problem is that; (in picture, after 4th code I got error, maybe that error is the problem but despite this problem documents mounted in desktop/pt/pt)

    documents mounted read-only, maybe problem is that or other?

    idk what should I
     

    Attached Files:

  16. BennyG1

    BennyG1 Bit poster

    Messages:
    7
    Please send full install log file
     
  17. MuecahidA

    MuecahidA Member

    Messages:
    30
    Get:1 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease [30.5 kB]
    Get:2 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main i386 Packages [15.6 MB]
    Get:3 http://kali.mirror.garr.it/mirrors/kali kali-rolling/non-free i386 Packages [148 kB]
    Get:4 http://kali.mirror.garr.it/mirrors/kali kali-rolling/contrib i386 Packages [108 kB]
    Fetched 15.9 MB in 14s (1,080 kB/s)
    Reading package lists...
    Return code from apt-get update is 0
    2018-01-02T06:54:45-0500: execCmd: ./installer/pm.sh --install gtools --logfile /var/log/parallels-tools-install.log [0]
    Started installation of Parallels Guest Tools version '12.2.1.41615'

    Tue Jan 2 06:54:45 EST 2018
    Start installation or upgrade of Guest Tools
    new version of parallels tools
    Installed Guest Tools were not found
    Perform installation into the /usr/lib/parallels-tools directory
    cat: /usr/lib/parallels-tools/kmods/../version: No such file or directory
    Start installation of prl_eth kernel module
    make: Entering directory '/usr/lib/parallels-tools/kmods'
    cd prl_eth/pvmnet && make
    make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
    make -C /lib/modules/4.14.0-kali1-686-pae/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet
    make[2]: Entering directory '/usr/src/linux-headers-4.14.0-kali1-686-pae'
    AR /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/built-in.o
    CC [M] /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.o
    LD [M] /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.o
    Building modules, stage 2.
    MODPOST 1 modules
    CC /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.mod.o
    LD [M] /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.ko
    make[2]: Leaving directory '/usr/src/linux-headers-4.14.0-kali1-686-pae'
    make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
    cd prl_tg/Toolgate/Guest/Linux/prl_tg && make
    make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
    make -C /lib/modules/4.14.0-kali1-686-pae/build SUBDIRS=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg SRCROOT=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg modules
    make[2]: Entering directory '/usr/src/linux-headers-4.14.0-kali1-686-pae'
    grep: /lib/modules/4.14.0-kali1-686-pae/build/include/linux/completion.h: No such file or directory
    CC [M] /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o
    In file included from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:38:0:
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_compat.h: In function 'wait_for_completion_interruptible':
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_compat.h:135:3: error: implicit declaration of function '__add_wait_queue_tail'; did you mean '__add_wait_queue'? [-Werror=implicit-function-declaration]
    __add_wait_queue_tail(&c->wait, &w);
    ^~~~~~~~~~~~~~~~~~~~~
    __add_wait_queue
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_compat.h:137:8: error: implicit declaration of function 'signal_pending'; did you mean 'timer_pending'? [-Werror=implicit-function-declaration]
    if (signal_pending(current)) {
    ^~~~~~~~~~~~~~
    timer_pending
    cc1: some warnings being treated as errors
    /usr/src/linux-headers-4.14.0-kali1-common/scripts/Makefile.build:319: recipe for target '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o' failed
    make[5]: *** [/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o] Error 1
    /usr/src/linux-headers-4.14.0-kali1-common/Makefile:1520: recipe for target '_module_/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg' failed
    make[4]: *** [_module_/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error 2
    Makefile:146: recipe for target 'sub-make' failed
    make[3]: *** [sub-make] Error 2
    Makefile:8: recipe for target 'all' failed
    make[2]: *** [all] Error 2
    make[2]: Leaving directory '/usr/src/linux-headers-4.14.0-kali1-686-pae'
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/Makefile.v26:23: recipe for target 'prl_tg' failed
    make[1]: *** [prl_tg] Error 2
    make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
    Makefile.kmods:34: recipe for target 'installme' failed
    make: *** [installme] Error 2
    make: Leaving directory '/usr/lib/parallels-tools/kmods'
    Error: could not build kernel modules
    Error: failed to install kernel modules
    2018-01-02T06:54:48-0500: execCmd: ./install --install [143]
    2018-01-02T06:54:48-0500: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
    2018-01-02T06:54:52-0500: Exiting with code 1



    when finish install operation, i shut down kali so idk if .log document changes..
     
  18. BennyG1

    BennyG1 Bit poster

    Messages:
    7
    This is your error here:

    grep: /lib/modules/4.14.0-kali1-686-pae/build/include/linux/completion.h: No such file or directory

    I would suggest you change to the x64 release. The script above works 100% on x64
     
  19. MuecahidA

    MuecahidA Member

    Messages:
    30

    ok, i will try then if have problem I will post there, thank you :)
     
  20. MuecahidA

    MuecahidA Member

    Messages:
    30
    I tried with 64bit and I solved it but different method (I guess it will in 32bit)
    when we cd root/Desktop/pt/pt we should give authorize to the folder( chmod -R 777 foldername ), then I try to install, I did! Thank you so much for your helps...

    edit : in 32bit I wrote "ln -s.....". code then I give authorize to the folder then install..yes! both methods are together..
     
    Last edited: Jan 2, 2018

Share This Page