http://code.google.com/p/macfuse/wiki/FAQ

> Q: I'm having problem XYZ compiling a FUSE file system in the MacFUSE 
> environment. What to do?

On Oct 13, 8:28 am, Roberto Saccon <[EMAIL PROTECTED]> wrote:
> Similar topic has been discussed previously, now I have spotted a new
> fuse based Amazon S3 file system at googlecode:
>
> http://code.google.com/p/s3fs/
>
> Anybody got that working with MacFuse ?
>
> I tried to compile and get this errors (I have not troubleshooted yet,
> maybe the solution is already out thre anywhere):
>
> rsmac:~/code/s3fs rsaccon$ make
> Package fuse was not found in the pkg-config search path.
> Perhaps you should add the directory containing `fuse.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'fuse' found
> g++ -Wall  -lcurl -I/opt/local/include/libxml2 -I/opt/local/include -L/
> opt/local/lib -lxml2 -lz -lpthread -L/opt/local/lib -liconv -lm -ggdb
> s3fs.cpp -o s3fs
> In file included from /usr/local/include/fuse/fuse.h:23,
>                  from /usr/local/include/fuse.h:9,
>                  from s3fs.cpp:23:
> /usr/local/include/fuse/fuse_common.h:30:2: error: #error Please add -
> D_FILE_OFFSET_BITS=64 to your compile flags!
> s3fs.cpp: In function 'int s3fs_getattr(const char*, stat*)':
> s3fs.cpp:279: error: expected type-specifier before '__off_t'
> s3fs.cpp:279: error: expected `>' before '__off_t'
> s3fs.cpp:279: error: expected `(' before '__off_t'
> s3fs.cpp:279: error: '__off_t' was not declared in this scope
> s3fs.cpp:279: error: expected `)' before ';' token
> s3fs.cpp: In function 'int s3fs_read(const char*, char*, size_t,
> off_t, fuse_file_info*)':
> s3fs.cpp:495: warning: format '%u' expects type 'unsigned int', but
> argument 3 has type 'size_t'
> s3fs.cpp:495: warning: format '%u' expects type 'unsigned int', but
> argument 4 has type 'size_t'
> make: *** [all] Error 1


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"macfuse-devel" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/macfuse-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to