WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Compiling VMware Player  (Read 10941 times)

Offline carrot

  • Newbie
  • *
  • Posts: 27
Compiling VMware Player
« on: July 16, 2020, 05:50:39 AM »
Hi, I have been trying for a while now to compile VMware player (v12.1.1, v12.5.9, v14.1.1) and so far have had no luck. I have been referencing a post from several years ago where player 2 on tinycore 3 (Or similar) was successful, but alas I can’t get it to work. I am really keen to get this to work as I really like the concept of tinycore vs the bigger dists like Debian or streamlined dists like Arch.

Has anyone got this working before? Or is anyone keen to try along with me to get it working?

I would also be open to using virtualbox as an alternate option, however would prefer VMware player as I already have multiple VMs setup in Fusion (VMware for Mac).

Thanks

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: Compiling VMware Player
« Reply #1 on: July 16, 2020, 06:30:40 AM »
Please give more details of what you've done and what error messages you got.

Offline carrot

  • Newbie
  • *
  • Posts: 27
Re: Compiling VMware Player
« Reply #2 on: July 16, 2020, 08:19:56 AM »
no problems, hopefully this will give a bit of detail:

the forum post I have used for reference is: http://forum.tinycorelinux.net/index.php/topic,7652.msg41221.html#msg41221

from these steps I have installed compiletc bash coreutils module-init-tools

for the linux headers I have used extension linux-kernel-sources-env and run the script that is installed. I do get a few errors in the (see image below) but it does seem to compile. file: linux-kernel-sources.png

from here I try to run the the VMWare Player bundle as root and get the following installer screen and errors on my terminal window:
file: player.png

as the player install screen cannot be read I cannot go any further.

I have also tried to run the player bundle using the --console option however this fails with the error: user interface initialization failed.   Exiting.
Checking the log for this attempt has a few config errors but then defaults to standard settings, and then fails with 'HostinfoOSData: Error: no distro file found' and an installer log file suggests the error is not being able to setup curses
« Last Edit: August 15, 2021, 11:22:41 AM by Rich »

Offline carrot

  • Newbie
  • *
  • Posts: 27
Re: Compiling VMware Player
« Reply #3 on: July 16, 2020, 08:25:57 AM »
I also get the following errors at the terminal window when I get the unreadable player install window in the previous post.
« Last Edit: August 15, 2021, 11:22:55 AM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: Compiling VMware Player
« Reply #4 on: July 16, 2020, 08:50:39 AM »
Hi carrot
Text is preferred over images for posting errors wherever possible. Try redirecting the commands results into file like this:
Code: [Select]
COMMAND > vmware_error.txt 2>&1Then you can either attach the text file or paste its contents between  code tags  in your next post.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: Compiling VMware Player
« Reply #5 on: July 16, 2020, 09:13:15 AM »
as the player install screen cannot be read I cannot go any further.

You could try a symlink /etc/fonts -> /usr/local/etc/fonts

Offline carrot

  • Newbie
  • *
  • Posts: 27
Re: Compiling VMware Player
« Reply #6 on: July 16, 2020, 09:28:52 AM »
thanks Juanito.

creating that symlink resulted in a new error on the terminal window:

symbol lookup error: /usr/local/lib/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var

this also did not bring up the player install window at all.

Offline carrot

  • Newbie
  • *
  • Posts: 27
Re: Compiling VMware Player
« Reply #7 on: July 16, 2020, 09:29:35 AM »
no problems Rich, will do for future posts.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: Compiling VMware Player
« Reply #8 on: July 16, 2020, 09:59:58 AM »
symbol lookup error: /usr/local/lib/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var

That means vmware is expecting a different version of fontconfig to that in tinycore - what version of tinycore are you using?
« Last Edit: July 16, 2020, 10:02:10 AM by Juanito »

Offline carrot

  • Newbie
  • *
  • Posts: 27
Re: Compiling VMware Player
« Reply #9 on: July 16, 2020, 10:13:00 AM »
corepure64 v10

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: Compiling VMware Player
« Reply #10 on: July 16, 2020, 10:40:32 AM »
The version of fontconfig is the same in CorePure-10.x and 11.x, so an update will not help.

Do you need to use the closed source pre-built vmware or could you use qemu?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: Compiling VMware Player
« Reply #11 on: July 16, 2020, 10:49:31 AM »
Hi Juanito
According to this:
https://bugzilla.redhat.com/show_bug.cgi?id=1645237
it says:
Quote
That symbol is provided by freetype-2.9.1 or later and fontconfig has proper dependency to it

TC10 and TC11 have  freetype-2.8.1  and  freetype-2.9.0  respectively.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: Compiling VMware Player
« Reply #12 on: July 16, 2020, 01:06:12 PM »
I was able to get VMware player 15.5 installed and running on TC 11.1 64-bit as root, but I hit a policy kit error when run as user tc:

Code: [Select]
Error getting authority: Error initializing authority: Could not connect: No such file or directory
If I try to strace it, then I get:

Code: [Select]
pkexec must be setuid root
pkexec wasn't setuid when I loaded polkit so I fixed it but I still get the error. (bug in polkit.tcz? :o )

I didn't try to create a VM, as it is already in a VM. I believe it's possible but my VM doesn't have enough disk space for Inception-like behavior.

Offline carrot

  • Newbie
  • *
  • Posts: 27
Re: Compiling VMware Player
« Reply #13 on: July 16, 2020, 07:04:39 PM »
hi andyj, can you share your steps to compile? If I could get the latesr version to work in 11.1, that would be great.

thanks

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: Compiling VMware Player
« Reply #14 on: July 16, 2020, 10:39:20 PM »
I didn't compile anything. VMplayer is distributed as a binary package. Are you trying to use TC as a host for VM's, or TC as a guest VM on some other host OS?