redbo / cloudfuse

Filesystem (fuse) implemented on Mosso's Cloud Files
http://redbo.github.com/cloudfuse/
MIT License
392 stars 114 forks source link

Problem compiling (make) cloud fuse #78

Open koutsane opened 8 years ago

koutsane commented 8 years ago

Hi -

I have attempted to install cloudfuse on RHEL7.2 and Ubuntu 15.10 and have encountered the following error during the compile (make) stage:

./configure . .. checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strncasecmp... yes checking for strrchr... yes checking for strstr... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged

:~/cloudfuse$ make gcc -g -O2 -I/usr/include/libxml2 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse @JSONC_CFLAGS@ -o cloudfuse cloudfsapi.c cloudfuse.c -lxml2 -lcurl -lfuse -pthread -lssl -lcrypto @JSONC_LIBS@ gcc: error: @JSONC_CFLAGS@: No such file or directory gcc: error: @JSONC_LIBS@: No such file or directory Makefile:29: recipe for target 'cloudfuse' failed make: *\ [cloudfuse] Error 1

Please can you provide assistance?

Regards,

Evan

redbo commented 8 years ago

Sorry, I hadn't ran autoreconf after the json dependency was added. So I did that. Also, you'll need to install the json-c dev package now. I'm not sure what it's called on RHEL, maybe libjson-c-devel?

koutsane commented 8 years ago

Thank-you for the quick response. I'm still getting the same error. I have installed the json-c dev packages, Please see below:

koutsane@A1TPT550EK:~/cloudfuse$ make gcc -g -O2 -I/usr/include/libxml2 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse @JSONC_CFLAGS@ -o cloudfuse cloudfsapi.c cloudfuse.c -lxml2 -lcurl -lfuse -pthread -lssl -lcrypto @JSONC_LIBS@ gcc: error: @JSONC_CFLAGS@: No such file or directory gcc: error: @JSONC_LIBS@: No such file or directory Makefile:29: recipe for target 'cloudfuse' failed make: *\ [cloudfuse] Error 1 koutsane@A1TPT550EK:~/cloudfuse$ dpkg -l | grep libjson ii libjson-c-dev:amd64 0.11-4ubuntu2 amd64 JSON manipulation library - development files ii libjson-c-dev:i386 0.11-4ubuntu2 i386 JSON manipulation library - development files ii libjson-c2:amd64 0.11-4ubuntu2 amd64 JSON manipulation library - shared library ii libjson-c2:i386 0.11-4ubuntu2 i386 JSON manipulation library - shared library ii libjson-glib-1.0-0:amd64 1.0.4-2 amd64 GLib JSON manipulation library ii libjson-glib-1.0-common 1.0.4-2 all GLib JSON manipulation library (common files) ii libjson0:amd64 0.11-4ubuntu2 amd64 JSON manipulation library (transitional package)

koutsane commented 8 years ago

My bad, just downloaded latest version and all is working :)

Thank-you, much appreciated!!