Closed GoogleCodeExporter closed 9 years ago
try yum install libxml2-devel ?
Original comment by rri...@gmail.com
on 18 Aug 2009 at 2:05
Perfect, it works! Thank you very much.
Original comment by greg.cli...@gmail.com
on 18 Aug 2009 at 2:16
I'm getting the same set of errors, using Ubuntu 10 I've installed fuse,
libcurl, and libxml2 development source, yet I get:
~/dev/s3fs$ sudo make s3fs
g++ s3fs.cpp -o s3fs
In file included from /usr/include/fuse/fuse.h:26,
from /usr/include/fuse.h:9,
from s3fs.cpp:23:
/usr/include/fuse/fuse_common.h:32:2: error: #error Please add
-D_FILE_OFFSET_BITS=64 to your compile flags!
s3fs.cpp:35:27: error: libxml/parser.h: No such file or directory
s3fs.cpp:36:25: error: libxml/tree.h: No such file or directory
s3fs.cpp: In function ‘int put_local_fd(const char*, headers_t, int)’:
s3fs.cpp:794: warning: format ‘%llu’ expects type ‘long long unsigned
int’, but argument 4 has type ‘__off_t’
s3fs.cpp: In function ‘int s3fs_readdir(const char*, void*, int (*)(void*,
const char*, const stat*, off_t), off_t, fuse_file_info*)’:
s3fs.cpp:1332: error: ‘xmlDocPtr’ was not declared in this scope
s3fs.cpp:1332: error: expected ‘;’ before ‘doc’
s3fs.cpp:1333: error: ‘doc’ was not declared in this scope
s3fs.cpp:1334: error: ‘xmlNodePtr’ was not declared in this scope
s3fs.cpp:1334: error: expected ‘;’ before ‘cur_node’
s3fs.cpp:1334: error: ‘cur_node’ was not declared in this scope
s3fs.cpp:1345: error: expected ‘;’ before ‘sub_node’
s3fs.cpp:1345: error: ‘sub_node’ was not declared in this scope
s3fs.cpp:1346: error: ‘XML_ELEMENT_NODE’ was not declared in this scope
s3fs.cpp:1349: error: ‘XML_TEXT_NODE’ was not declared in this scope
s3fs.cpp:1403: error: ‘doc’ was not declared in this scope
s3fs.cpp:1403: error: ‘xmlFreeDoc’ was not declared in this scope
make: *** [s3fs] Error 1
Original comment by chris.d....@gmail.com
on 23 Jun 2010 at 6:24
try sudo apt-get install build-essential libcurl4-openssl-dev libxml2-dev
libfuse-dev
Original comment by rri...@gmail.com
on 23 Jun 2010 at 1:42
Not a s3fs code issue, but related to missing packages on distros.
Installation Notes wiki page and autotools dependency checking should help
users resolve their build issues on common distributions.
Original comment by dmoore4...@gmail.com
on 3 Dec 2010 at 5:15
Original issue reported on code.google.com by
greg.cli...@gmail.com
on 18 Aug 2009 at 4:47