[GH-ISSUE #296] build instructions for osx? #153

Closed
opened 2026-03-04 01:42:39 +03:00 by kerem · 4 comments
Owner

Originally created by @rmoriz on GitHub (Nov 18, 2015).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/296

I'm getting the following error:


➜  s3fs-fuse git:(macosx) ✗ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in src
g++ -DHAVE_CONFIG_H -I. -I..  -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE -I/usr/local/include/osxfuse/fuse -I/usr/include/libxml2    -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT s3fs.o -MD -MP -MF .deps/s3fs.Tpo -c -o s3fs.o s3fs.cpp
s3fs.cpp:30:10: fatal error: 'libxml/xpath.h' file not found
#include <libxml/xpath.h>
         ^
1 error generated.
make[2]: *** [s3fs.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

It would be awesome if you provide binary releases for homebrew-cask (like osxfuse, sshfs).

Originally created by @rmoriz on GitHub (Nov 18, 2015). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/296 I'm getting the following error: ``` shell ➜ s3fs-fuse git:(macosx) ✗ make /Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive Making all in src g++ -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE -I/usr/local/include/osxfuse/fuse -I/usr/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT s3fs.o -MD -MP -MF .deps/s3fs.Tpo -c -o s3fs.o s3fs.cpp s3fs.cpp:30:10: fatal error: 'libxml/xpath.h' file not found #include <libxml/xpath.h> ^ 1 error generated. make[2]: *** [s3fs.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 ``` It would be awesome if you provide binary releases for homebrew-cask (like osxfuse, sshfs).
kerem closed this issue 2026-03-04 01:42:40 +03:00
Author
Owner

@MBuffenoir commented on GitHub (Apr 14, 2016):

Got the same error here, tried to brew install libxml2 without success ...

<!-- gh-comment-id:209946552 --> @MBuffenoir commented on GitHub (Apr 14, 2016): Got the same error here, tried to brew install libxml2 without success ...
Author
Owner

@ggtakec commented on GitHub (Apr 17, 2016):

@MBuffenoir @rmoriz I'm sorry for late reply.
It is not clear because it does not reproduce, but maybe you should update xcode.
For example, "xcode-select --install".

Please check your system and try it if you can.
Regards,

<!-- gh-comment-id:211013551 --> @ggtakec commented on GitHub (Apr 17, 2016): @MBuffenoir @rmoriz I'm sorry for late reply. It is not clear because it does not reproduce, but maybe you should update xcode. For example, "xcode-select --install". Please check your system and try it if you can. Regards,
Author
Owner

@pakshi commented on GitHub (Jul 12, 2016):

Running this "xcode-select --install", got me past the "libxml/xpath.h" error.
Thanks ggt

<!-- gh-comment-id:232175736 --> @pakshi commented on GitHub (Jul 12, 2016): Running this "xcode-select --install", got me past the "libxml/xpath.h" error. Thanks ggt
Author
Owner

@ggtakec commented on GitHub (Jul 24, 2016):

@pakshi Thanks for your reply.
It seems that this problem is resolved, so I'm closing this issue.
But if you continue to have this isue, please reopen this.
Thanks for your help.

<!-- gh-comment-id:234763078 --> @ggtakec commented on GitHub (Jul 24, 2016): @pakshi Thanks for your reply. It seems that this problem is resolved, so I'm closing this issue. But if you continue to have this isue, please reopen this. Thanks for your help.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#153
No description provided.