Steps in installing Gluster 3.7 and below

If you are planning to install GlusterFS from the website (not clone from git repo). Try to follow the steps from readthedocs. In the final step, which is

make install

If you face a problem such as:

Making install in examples
/bin/mkdir -p '/usr/local/lib/python2.7/dist-packages/gluster'
/usr/bin/install -c -m 644
../../py-compile: Missing argument to --destdir.
make[3]: *** [install-pygfapiPYTHON] Error 1
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

Add the destdir option by doing

make install DESTDIR=/

Thanks to anoopcs (IRC username).

I notice many people have the same problem and post it.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s