Prof. Dr. Christian Baun
2014-Jun-22 18:51 UTC
[Gluster-users] Unable to compile GlusterFS 3.5 on Raspbian (RaspberryPi)
Hi, I want to build up a Cluster of RaspberryPis and realize a distributed and replicated storage with GlusterFS. Raspbian contains GlusterFS 3.2.7 which is quite old. For this reason I want to compile GlusterFS 3.5 on Raspbian but at the end of "make install" I get an error message "py-compile: Missing argument to --destdir.". I carried out these steps: $ sudo apt-get update $ sudo apt-get install -y make gcc flex bison libssl-dev liblvm2-dev libglib2.0-dev libxml2-dev python2.7 python2.7-dev autoconf libtool $ wget http://download.gluster.org/pub/gluster/glusterfs/3.5/3.5.0/glusterfs-3.5.0.tar.gz $ tar -xvzf glusterfs-3.5.0.tar.gz $ cd glusterfs-3.5.0/ $ ./autogen.sh ... GlusterFS autogen ... Generate gf-error-codes.h ... `gf-error-codes.h' -> `libglusterfs/src/gf-error-codes.h' Running aclocal... Running autoheader... Running libtoolize... Running autoconf... Running automake... Please proceed with configuring, compiling, and installing. $ ./configure GlusterFS configure summary ==========================FUSE client : yes Infiniband verbs : no epoll IO multiplex : yes argp-standalone : no fusermount : yes readline : no georeplication : yes Linux-AIO : no Enable Debug : no systemtap : no Block Device xlator : yes glupy : yes Use syslog : yes XML output : yes QEMU Block formats : yes Encryption xlator : yes $ make $ sudo make install Making install in argp-standalone Making install in . Making install in libglusterfs Making install in src /bin/mkdir -p '/usr/local/lib' /bin/bash ../../libtool --quiet --mode=install /usr/bin/install -c libglusterfs.la '/usr/local/lib' Making install in rpc Making install in rpc-lib Making install in src /bin/mkdir -p '/usr/local/lib' /bin/bash ../../../libtool --quiet --mode=install /usr/bin/install -c libgfrpc.la '/usr/local/lib' libtool: install: warning: relinking `libgfrpc.la' Making install in rpc-transport Making install in socket Making install in src /bin/mkdir -p '/usr/local/lib/glusterfs/3.5.0/rpc-transport' /bin/bash ../../../../libtool --quiet --mode=install /usr/bin/install -c socket.la '/usr/local/lib/glusterfs/3.5.0/rpc-transport' libtool: install: warning: relinking `socket.la' Making install in xdr Making install in src /bin/mkdir -p '/usr/local/lib' /bin/bash ../../../libtool --quiet --mode=install /usr/bin/install -c libgfxdr.la '/usr/local/lib' libtool: install: warning: relinking `libgfxdr.la' Making install in api Making install in src /bin/mkdir -p '/usr/local/lib' /bin/bash ../../libtool --quiet --mode=install /usr/bin/install -c libgfapi.la '/usr/local/lib' libtool: install: warning: relinking `libgfapi.la' /bin/mkdir -p '/usr/local/include/glusterfs/api' /usr/bin/install -c -m 644 glfs.h glfs-handles.h '/usr/local/include/glusterfs/api' /bin/mkdir -p '/usr/local/lib/glusterfs/3.5.0/xlator/mount' /bin/bash ../../libtool --quiet --mode=install /usr/bin/install -c api.la '/usr/local/lib/glusterfs/3.5.0/xlator/mount' libtool: install: warning: relinking `api.la' Making install in examples /bin/mkdir -p '/usr/local/lib/python2.7/dist-packages/gluster' /usr/bin/install -c -m 644 __init__.py gfapi.py '/usr/local/lib/python2.7/dist-packages/gluster' ../../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 Other people did also run into this problem. One example is here: http://bighippo999.blogspot.de/2014/05/raspberry-pi-glusterfs-part-2.html Does anybody here know how to fix this problem? Thanks for any help. Best Regards Christian Baun
Harshavardhana
2014-Jun-22 19:29 UTC
[Gluster-users] Unable to compile GlusterFS 3.5 on Raspbian (RaspberryPi)
Looks like some sort of a automake issue, argument to ./py-compile --destdir is missing. On Sun, Jun 22, 2014 at 11:51 AM, Prof. Dr. Christian Baun <christianbaun at gmail.com> wrote:> Hi, > > I want to build up a Cluster of RaspberryPis and realize a distributed > and replicated storage with GlusterFS. > > Raspbian contains GlusterFS 3.2.7 which is quite old. For this reason > I want to compile GlusterFS 3.5 on Raspbian but at the end of "make > install" I get an error message "py-compile: Missing argument to > --destdir.". > > I carried out these steps: > > $ sudo apt-get update > $ sudo apt-get install -y make gcc flex bison libssl-dev liblvm2-dev > libglib2.0-dev libxml2-dev python2.7 python2.7-dev autoconf libtool > $ wget http://download.gluster.org/pub/gluster/glusterfs/3.5/3.5.0/glusterfs-3.5.0.tar.gz > $ tar -xvzf glusterfs-3.5.0.tar.gz > $ cd glusterfs-3.5.0/ > $ ./autogen.sh > > ... GlusterFS autogen ... > > Generate gf-error-codes.h ... > `gf-error-codes.h' -> `libglusterfs/src/gf-error-codes.h' > Running aclocal... > Running autoheader... > Running libtoolize... > Running autoconf... > Running automake... > > Please proceed with configuring, compiling, and installing. > > $ ./configure > GlusterFS configure summary > ==========================> FUSE client : yes > Infiniband verbs : no > epoll IO multiplex : yes > argp-standalone : no > fusermount : yes > readline : no > georeplication : yes > Linux-AIO : no > Enable Debug : no > systemtap : no > Block Device xlator : yes > glupy : yes > Use syslog : yes > XML output : yes > QEMU Block formats : yes > Encryption xlator : yes > > $ make > > $ sudo make install > Making install in argp-standalone > Making install in . > Making install in libglusterfs > Making install in src > /bin/mkdir -p '/usr/local/lib' > /bin/bash ../../libtool --quiet --mode=install /usr/bin/install -c > libglusterfs.la '/usr/local/lib' > Making install in rpc > Making install in rpc-lib > Making install in src > /bin/mkdir -p '/usr/local/lib' > /bin/bash ../../../libtool --quiet --mode=install /usr/bin/install -c > libgfrpc.la '/usr/local/lib' > libtool: install: warning: relinking `libgfrpc.la' > Making install in rpc-transport > Making install in socket > Making install in src > /bin/mkdir -p '/usr/local/lib/glusterfs/3.5.0/rpc-transport' > /bin/bash ../../../../libtool --quiet --mode=install /usr/bin/install > -c socket.la '/usr/local/lib/glusterfs/3.5.0/rpc-transport' > libtool: install: warning: relinking `socket.la' > Making install in xdr > Making install in src > /bin/mkdir -p '/usr/local/lib' > /bin/bash ../../../libtool --quiet --mode=install /usr/bin/install -c > libgfxdr.la '/usr/local/lib' > libtool: install: warning: relinking `libgfxdr.la' > Making install in api > Making install in src > /bin/mkdir -p '/usr/local/lib' > /bin/bash ../../libtool --quiet --mode=install /usr/bin/install -c > libgfapi.la '/usr/local/lib' > libtool: install: warning: relinking `libgfapi.la' > /bin/mkdir -p '/usr/local/include/glusterfs/api' > /usr/bin/install -c -m 644 glfs.h glfs-handles.h > '/usr/local/include/glusterfs/api' > /bin/mkdir -p '/usr/local/lib/glusterfs/3.5.0/xlator/mount' > /bin/bash ../../libtool --quiet --mode=install /usr/bin/install -c > api.la '/usr/local/lib/glusterfs/3.5.0/xlator/mount' > libtool: install: warning: relinking `api.la' > Making install in examples > /bin/mkdir -p '/usr/local/lib/python2.7/dist-packages/gluster' > /usr/bin/install -c -m 644 __init__.py gfapi.py > '/usr/local/lib/python2.7/dist-packages/gluster' > ../../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 > > Other people did also run into this problem. One example is here: > http://bighippo999.blogspot.de/2014/05/raspberry-pi-glusterfs-part-2.html > > Does anybody here know how to fix this problem? > > Thanks for any help. > > Best Regards > Christian Baun > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users-- Religious confuse piety with mere ritual, the virtuous confuse regulation with outcomes