Can't Install Parallels Tools

MuecahidA

Member
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
 

Attachments

  • Ekran Resmi 2017-12-08 00.58.22.png
    Ekran Resmi 2017-12-08 00.58.22.png
    94.9 KB · Views: 16
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:
try:
ln -s /usr/src/linux-headers-4.14.0-kali1-common/include/linux /lib/modules/4.14.0-kali1-686-pae/build/include

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
 

Attachments

  • Ekran Resmi 2018-01-02 14.54.59.png
    Ekran Resmi 2018-01-02 14.54.59.png
    272.5 KB · Views: 7
Please send full install log file

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..
 
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
 
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
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:
Back
Top