opened
jdwilsonjr
username_0
Hello Cloudfuse ;-)

Seem unable to satisfy ./configure that libxml2 is present / available on centos 5.5.

Any suggestions ?

== copied from console ==

Installed:
  libxml2.i386 0:2.6.26-2.1.2.8.el5_5.1

Updated:
  libxml2.x86_64 0:2.6.26-2.1.2.8.el5_5.1

Complete!
[root@rackspace-01 redbo-cloudfuse-0c63cc1]# ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XML... no
configure: error: 'Unable to find libxml2. Please make sure library and header files are installed.'

== thanks ==
libxml2 requested during ./configure
issue
created
mpaineau
username_1
### Here is what I did to successfully install cloudfuse On debian 7 :
```
apt-get install fuse libfuse-dev
apt-get install gcc libxml2 libxml2-dev
apt-get install python-eventlet python-greenlet python-netifaces python-simplejson python-xattr
aptitude -y install pkg-config
aptitude -y install libcurl-dev libcurl-ssl-dev libcurl3 libcurl4-dev libcurl3-openssl-dev libcurl4-openssl-dev libcurl3-dev 
apt-get install make
```
then
```
./configure
make
make install
```

### Here is my /root/.cloudfuse  for Cloudwatt openstack  :
**note that "tenant" should be the tenant name, NOT the ID**
```
username=my@email.com
#WARNING : note that "tenant" should be the tenant name, NOT the ID:
tenant=COMPUTE-***********************************************
password=mysuperpassword
authurl=https://identity.fr1.cloudwatt.com/v2.0/tokens
verify_ssl=True
```

#### For working with apache/owncloud on my server :
add www-data to the 'fuse' group :
```
usermod -a -G fuse www-data
```
change permissions for /dev/fuse
```
chmod g+rw /dev/fuse
chgrp fuse /dev/fuse
```

Then mount :
```
sudo -u www-data /usr/local/bin/cloudfuse  /mnt/cw -o noauto_cache,sync_read
```
you can find your datas in /mnt/cw ...
comment
created
zeta0134
username_2
Confirming this issue on Ubuntu Server 16.04. Simply installing libxml-dev isn't enough to satisfy the requirement, the actual missing dependency seems to be pkg-config, which ./configure doesn't make obvious. Recommend adding pkg-config to the dependencies list in the README for ubuntu/debian systems, as it doesn't seem to be included in build-essential.

Once I installed that, I was able to make and install with no issues.
comment
created
Nikos2002228
username_3
I had the same Issue, but I downloaded libxml2-dev and it worked!
comment