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

Problem compiling (make) cloud fuse #78

Open
koutsane opened this issue Mar 11, 2016 · 3 comments
Open

Problem compiling (make) cloud fuse #78

koutsane opened this issue Mar 11, 2016 · 3 comments

Comments

@koutsane
Copy link

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
Copy link
Owner

redbo commented Mar 11, 2016

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
Copy link
Author

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
Copy link
Author

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

Thank-you, much appreciated!!

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

2 participants