WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: open-vm-tools for VMware  (Read 42014 times)

Offline ido

  • Newbie
  • *
  • Posts: 9
Re: open-vm-tools for VMware
« Reply #15 on: February 24, 2012, 11:31:42 AM »
Could you maybe post just how you did it ? I tried to download the sources and compile myself, but was unsuccessful.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: open-vm-tools for VMware
« Reply #16 on: February 24, 2012, 11:52:41 AM »
Hi ido
Saying you were unsuccessful is not the same as telling what steps you took and what error messages you received.
If you share that information, it is more likely that someone will offer some suggestions. If have not already done so,
install the  compiletc  extension.

Offline ido

  • Newbie
  • *
  • Posts: 9
Re: open-vm-tools for VMware
« Reply #17 on: February 25, 2012, 03:02:21 AM »
I installed compiletc, and downloaded the open-vm-tools latest sources. I'm not exactly sure at which point I got stuck, since it was about a month ago when I opened the thread.

I just hoped the original package creator would update his release by now, that's all :)

Offline ido

  • Newbie
  • *
  • Posts: 9
Re: open-vm-tools for VMware
« Reply #18 on: February 29, 2012, 12:18:02 PM »
Tried again. Installed all the requires libs.
configure went FINE with no errors:
 ./configure  --disable-unity --without-gtk2 --without-gtkmm --without-procps

Make error:
tc@box:~/open-vm-tools-8.4.2-261024$ make
Making all in lib
make[1]: Entering directory `/home/tc/open-vm-tools-8.4.2-261024/lib'
Making all in guestRpc
make[2]: Entering directory `/home/tc/open-vm-tools-8.4.2-261024/lib/guestRpc'
if [ ../.. != ../.. ]; then                           \
   cp -f ../../lib/guestRpc/cpFileContents.x .; \
fi
h -o cpFileContents.h ./cpFileContents.x
/bin/bash: h: command not found
make[2]: [cpFileContents.h] Error 127 (ignored)
/usr/local/bin/sed 's,rpc/rpc\.h,vmxrpc.h,' cpFileContents.h > cpFileContents.h.tmp
/usr/local/bin/sed: can't read cpFileContents.h: No such file or directory
make[2]: *** [cpFileContents.h] Error 2
make[2]: Leaving directory `/home/tc/open-vm-tools-8.4.2-261024/lib/guestRpc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tc/open-vm-tools-8.4.2-261024/lib'
make: *** [all-recursive] Error 1
tc@box:~/open-vm-tools-8.4.2-261024$


Tried to go through makefiles and find out whats it is trying to do, but thats too complicated for me.

Offline ido

  • Newbie
  • *
  • Posts: 9
Re: open-vm-tools for VMware
« Reply #19 on: March 01, 2012, 10:29:14 AM »
Seems the h: command not found is coming from rpcgen.

haven't figured out how to solve it.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: open-vm-tools for VMware
« Reply #20 on: March 01, 2012, 11:19:27 AM »
Hi ido
I did a little digging and I think I found something useful. It looks like the actual command should look like:
Code: [Select]
rpcgen -h -o cpFileContents.h ./cpFileContents.xYou'll still have to track down where and why part of the line is missing.

Offline ido

  • Newbie
  • *
  • Posts: 9
Re: open-vm-tools for VMware
« Reply #21 on: March 06, 2012, 08:59:59 AM »
Progress has been made, but still a no-go. I really with the maintainer would share his build commands or make us a package.

I installed rpcgen (which was missing, and hence the error) (in glibc_apps package)
I can configure, and then:
Make RPCGEN="rpcgen -Y /usr/local/bin"

Which failed because its missing generated Makeflie.normal in the module directories.
I then installed xmkmf (in the imake package), which I assumed is missing, but it did not fix it.

Offline sebus

  • Jr. Member
  • **
  • Posts: 96
Re: open-vm-tools for VMware
« Reply #22 on: January 12, 2013, 10:11:04 AM »
Anybody has an idea how to solve it?

Have identical error -h: file not found coming from rpcgen

while trying to build Open VM Tools 9.2.2 on Pure64

sebus

edit:
There seems to be a bug with rpcgen

Code: [Select]
https://mailman.archlinux.org/pipermail/arch-general/2012-July/028107.html

There is either a bug in Arch's packaging of glibc/rpcgen or it is upstream.
rpcgen was removed from glibc a while back and then was put back in when
libtirpc wasn't ready for use. Given this failure, after much investigation, it
was discovered that the rpcgen in glibc on arch searches for cpp in:

(1) /lib/cpp
(2) /usr/ccs/lib/cp  (really...?)

  Neither of which are present on Arch any longer leading to the tdebase build
failure. To fix the problem all I did was create a symlink in the archroot for
/lib/cpp->/usr/bin/cpp.

Even with link make does not work, but I can generate nicinfo.h & nicinfo_xdr.c by hand with rpcgen
The make carries on a bit further, but chokes on unknown type name 'Bool' (as per attachment)
« Last Edit: January 12, 2013, 11:10:00 AM by sebus »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: open-vm-tools for VMware
« Reply #23 on: January 12, 2013, 10:31:47 AM »
Hi sebus
Did you install  eglibc_apps.tcz ?

Also, rather than posting screen shots, you can copy from the terminal by holding down the left mouse button
and dragging the mouse. Then paste by clicking the middle mouse button.

Offline sebus

  • Jr. Member
  • **
  • Posts: 96
Re: open-vm-tools for VMware
« Reply #24 on: January 12, 2013, 11:11:49 AM »
Well, without working tools I can not really copy between VM & host (from which I am posting), also on laptop there is no middle button, but both buttons click works fine

Ofcourse I installed eglibc_apps.tcz which has rpcgen executable - see my previous message edit

sebus
« Last Edit: January 12, 2013, 11:15:14 AM by sebus »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: open-vm-tools for VMware
« Reply #25 on: January 12, 2013, 11:44:55 AM »
Hi sebus
I think you may be missing some includes in your  nicinfo.h  or  nicinfo_xdr.c  file
A little Googling turns up the following:
bool  is defined in  stdbool.h  or you can use  _Bool
I don't know about  uint32  but  uint32_t  is defined in  stdint.h

Offline sebus

  • Jr. Member
  • **
  • Posts: 96
Re: open-vm-tools for VMware
« Reply #26 on: January 12, 2013, 12:04:33 PM »
I know, I can also Google the same.
The .h & .c get generated from .x not something that I write myself

I have few stdbool.h in filesystem

Ofcourse I can #include stdbool.h and/or stdint.h, but it makes no difference to this error

sebus

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: open-vm-tools for VMware
« Reply #27 on: January 12, 2013, 08:42:59 PM »
Well, without working tools I can not really copy between VM & host (from which I am posting), also on laptop there is no middle button, but both buttons click works fine
Shift+Insert ;)
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline lapawa

  • Newbie
  • *
  • Posts: 7
Re: open-vm-tools for VMware
« Reply #28 on: March 28, 2013, 06:37:19 AM »
Hi altogether,

I've saved some building instruction and scripts for the open-vm-tools an tinycore4 on github.com.
/lapawa/tc4-open-vm-tools
The resulting package do not reach the quality of danielibarnes ones but I'm working on that  ;)
The impatient might give it a try and build the extension on their own.

Best regards
Build your own VMware tools for TinyCoreLinux
https://github.com/lapawa/tc5-open-vm-tools

Offline limeblack

  • Jr. Member
  • **
  • Posts: 69
Re: open-vm-tools for VMware
« Reply #29 on: November 12, 2015, 04:27:27 PM »
Could this be updated to TC 6

I'm trying to used VMWare shared folders

new post
http://forum.tinycorelinux.net/index.php/topic,19149.0.html
« Last Edit: November 12, 2015, 04:29:08 PM by limeblack »