This link: How to Install VMware Tools on Ubuntu Hardy 8.04 under VMware Fusion is a good start, but is out of date. Latest version is open-vm-tools-2008.09.03-114782.tar.gz . To compile it we need a newer version of uriparser than Ubuntu supplies. I downloaded uriparser-0.7.2 from sourceforge and installed it locally (NOT in /usr/bin!). Unfortunately, the configure script of open-vm-tools is screwed up such that making it see the locally installed uriparser using CUSTOM_URIPARSER_CPPFLAGS and CUSTOM_URIPARSER_LIBS did not work. When looking for the lib, it needed the -I which was not passed. Got some errors about uriFreeQueryListA. However, setting the environmental variables CFLAGS CPPFLAGS and LDFLAGS with the -I and -L paths did work.
Also, the command line you need for git is git clone git://git.opensource.vmware.com/opensource/open-vm-tools
5 comments :
I installed uriparser with apt-get. And I found ruiparser folder under /usr/include.
Could you please tell me how to write the ./configure command with specific search directories.
I installed uriparser with apt-get. And I found ruiparser folder under /usr/include.
So I tried:
./configure CFLAGS="-I /usr/include/uriparser" CPPFLAGS="-I /usr/include/uriparser" LDFLAGS="-L /usr/include/uriparser"
But it doesn't work.
Could you please tell me how to write the ./configure command with specific search directories?
My shell is "bash" (not tcsh, see 'echo $SHELL'). Under bash, you put the environment variables in front of the command name, for example,
CFLAGS="-I /usr/include/uriparser/include" CPPFLAGS="-I /usr/include/uriparser/nclude" LDFLAGS="-L /usr/include/uriparser/lib" ./configure
I tried according to your advice, but it doesn't work yet...
I googled a lot but no answer...
I searched uriFreeQueryListA in uriparser source, it doesn't exist.
Is this compatible problem?
Post a Comment