Trying to install Parallel Tools on Linux From Scratch

JohnH1

Junior Member
What path requirements need to be fulfilled in the manual installation of gcc, linux headers, and make? I have everything install in executables installed in /usr/bin and the headers in /usr/include.
 
I have used those instructions and it always ends asking for me to install gcc, make, and the linux headers manually.

Also yes the headers are the correct version, my kernel is 3.16.2. Which should be adequate for the installation. I just need to know the location that these items are searched for so I can create a link from those locations to the actually items needed.
 
i was able to get past that step in the installation by
  1. linking /usr/src/linux-$(uname -r) to the source directory of my kernel source directory
  2. linking /lib/modules/$(uname -r)/{build,source} to my linux source directory
  3. linking /usr/src/linux-headers-$(uname -r)/include to (linux source directory)/dest/include after running make INSTALL_HDR_PATH=dest headers_install in the source directory
It still fails but now recognizes that the prerequisites are manually installed.
 
The output of ./install errors out at "An error occurred when installing Parallel Tools. Please go to /var/log/parallels-tools-install.log for more information."

uname -r is 3.16.2

/var/log/parallels.log
Unmounting shared Folders: failed
Shutting down parallels tools daemon: done

In /var/log/parallels-tools-install.log the errors listed are
QPy0TNK.png

zILKu9D.png

TKMnR9k.png

fn7Aqob.png

j6NFVno.png
 
please do the following:

dmesg > ~/Documents/dmesg.txt

then send the files over to your Mac side:

scp /var/log/parallels-tools-install.log Mac_username@MacIP:~/Desktop
scp ~/Documents/dmesg.txt Mac_username@MacIP:~/Desktop

Please attach the files here.

I would also recommend to uninstall Parallels Tools:

sudo /usr/lib/parallels-tools/install -r

reboot your VM and reinstall Parallels Tools.
 
Hello, Could you please reproduce the issue one more time and generate the Problem Report as soon as you see the error message on the screen (please do not remove the error message) per http://kb.parallels.com/en/9058
Copy the Problem Report ID and post it here.
 
I was able to install parallels tools by doing the instructions included above and doing the following
  1. Downgrading from X-Server 1.16 to 1.15.2
  2. mkdir /usr/lib/systemd/scripts && mkdir /usr/lib/systemd/system
  3. ln -sf /usr/lib/systemd/system /etc/init.d
  4. export def_sysconfdir=/etc/init.d as described in 'preparing dependencies' on https://wiki.archlinux.org/index.php/Parallels
  5. export kernel_source_dir=/lib/modules/3.16.2/build
  6. export kernelver=3.16.2
  7. mount /dev/cdrom /media/cdrom
  8. cd /media/cdrom
  9. ./install
  10. cp /usr/lib/parallels-tools/tools/prltools.x64/xorg.1.15/x-server/modules/{drivers/prlvideo_drv.so,input/prlmouse_drv.so} /opt/lib/xorg/modules/drivers this step was necessary because I built X with --prefix=/opt
  11. sudo vi /usr/lib/parallels-tools/installer/detect-xserver.h and edit line 15 to be PATH=${PATH:+$PATH:}/opt/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin while still editing detect-xserver.h edit line 35 to be XORG_MODULES_DIRS64="/opt/lib/xorg /opt/lib64/xorg/modules /opt/lib64/X11/modules /usr/lib64/modules"
  12. Now run /usr/lib/parallels-tools/tools/prltools.x64/sbin/prl-opengl-switcher.sh --on
  13. cp /usr/lib/parallels-tools/tools/prlmouse.conf /etc/X11/xorg.conf.d/
  14. cp /usr/lib/parallels-tools/tools/{prlcc.desktop,prl_wmouse_d.desktop,ptiagent.desktop} /usr/share/applications
  15. cp /usr/lib/parallels-tools/tools/{parallels-cpu-hotplug.rules,parallels-memory-hotplug.rules,xorg-prlmouse.rules} /etc/udev/rules.d
  16. cat > /usr/lib/systemd/system/parallels-tools.service << "EOF"
[Unit]
Description=Parallels Tools
[Service]
Type=oneshot
ExecStart=/usr/lib/systemd/scripts/prltoolsd start
ExecStop=/usr/lib/systemd/scripts/prltoolsd stop
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
EOF
then run systemctl enable parallels-tools.service
Repeat for prl-x11
cat > /usr/lib/systemd/system/prl-x11.service << "EOF"
[Unit]
Description=prl-x11 opengl swapper
[Service]
Type=oneshot
ExecStart=/usr/lib/parallels-tools/installer/prl-x11.sh start
ExecStop=/usr/lib/parallels-tools/installer/prl-x11.sh stop
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
EOF
run systemctl enable prl-x11.service
/usr/lib/parallels-tools/installer/xserver-config.py xorg 1.15 /etc/X11/xorg.conf /etc/X11/xorg.conf.new
then mv /etc/X11/xorg.conf{,.old}
mv /etc/X11/xorg.conf{.new,}
startx should boot right up after that
 
I am agree with you, It is working way that you have mentioned in your reply...User can try this at ay time if they are facing problem during installations....
 
Back
Top