Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win7-64 support #19

Open
mattcelt opened this issue Aug 24, 2016 · 1 comment
Open

win7-64 support #19

mattcelt opened this issue Aug 24, 2016 · 1 comment

Comments

@mattcelt
Copy link

I've been trying to compile vmfs-tools on Win7-x64 to no avail. The issue appears to be centred around uuid.h, which is missing. I've installed mingw-w64 and have tried to compile in cmd and cygwin. I've installed libuuid1 and configure says that uuid is installed (see below), but it cannot find the uuid.h refererenced in libvmfs/utils.h.

I tried renaming the uuids.h in the mingw folder, but it didn't work. (It spat out loads of errors.) I also tried commenting out the #include in utils.h, and changing the reference, but then it lost all the pointers to the 'uuid' objects later on.

Any ideas? Has anyone successfully compiled the latest vmfs-tools on Windows 7? (And if they have, I would _LOVE_ to have an already working, compiled binary...

Configure output:
$ ./configure
Checking for pkg-config...no
Checking for uuid...yes
Checking for fuse...no
Checking for asciidoc...no
Checking for xsltproc...no
Checking for docbook.xsl...no
Checking for strndup...no
Checking for dlopen in -ldl...no
Checking for dlopen...no
Checking for posix_memalign...no
make: 'config.cache' is up to date.

Make output:
$ make install
echo "#if 1" > version
echo "#define VERSION "v0.2.5-patched"" >> version
echo "#else" >> version
echo VERSION := v0.2.5-patched >> version
echo "#endif" >> version
install -d -m 0755 /usr/local/sbin
gcc -Wall -O2 -g -D_FILE_OFFSET_BITS=64 -DNO_STRNDUP=1 -Idebugvmfs -Ilibvmfs -I/usr/include/uuid -Ilibreadcmd -c -o debugvmfs/variables.o debugvmfs/variables.c
In file included from libvmfs/vmfs.h:53:0,
from debugvmfs/variables.c:20:
libvmfs/utils.h:23:18: fatal error: uuid.h: No such file or directory
#include <uuid.h>
^
compilation terminated.
: recipe for target 'debugvmfs/variables.o' failed
make: *** [debugvmfs/variables.o] Error 1

@mattcelt
Copy link
Author

No one yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant