Filipe Maia
2009-Jan-14 13:44 UTC
[Gluster-users] Problems with prefix when building glusterfs-1.4.0rc7
Hi, I tried installing 1.4.0rc7 using: ./configure --prefix=/ --disable-bdb --disable-mod_glusterfs The prefix=/ was to make sure that the default paths for configuration and log files are /etc/glusterfs and /var/log/glusterfs. When i try to run make install I get the following error: test -z "//lib" || mkdir -p -- "//lib" /bin/sh ../../libtool --mode=install /usr/bin/install -c 'libglusterfsclient.la' '//lib/libglusterfsclient.la' libtool: install: error: cannot install `libglusterfsclient.la' to a directory not ending in /usr/lib make[3]: *** [install-libLTLIBRARIES] Error 1 make[3]: Leaving directory `/root/admin/glusterfs/build/glusterfs-1.4.0rc7/libglusterfsclient/src' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/root/admin/glusterfs/build/glusterfs-1.4.0rc7/libglusterfsclient/src' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/root/admin/glusterfs/build/glusterfs-1.4.0rc7/libglusterfsclient' make: *** [install-recursive] Error 1 So i'm guessing there's a usr/ missing on the installation path of libglusterfsclient. Filipe
Anand Avati
2009-Jan-14 19:17 UTC
[Gluster-users] Problems with prefix when building glusterfs-1.4.0rc7
> I tried installing 1.4.0rc7 using: > ./configure --prefix=/ --disable-bdb --disable-mod_glusterfs > > The prefix=/ was to make sure that the default paths for configuration > and log files are /etc/glusterfs and /var/log/glusterfs.For that you do --prefix=/usr --sysconfdir=/etc --datadir=/var.> test -z "//lib" || mkdir -p -- "//lib" > /bin/sh ../../libtool --mode=install /usr/bin/install -c > 'libglusterfsclient.la' '//lib/libglusterfsclient.la' > libtool: install: error: cannot install `libglusterfsclient.la' to a > directory not ending in /usr/lib > make[3]: *** [install-libLTLIBRARIES] Error 1 > make[3]: Leaving directory > `/root/admin/glusterfs/build/glusterfs-1.4.0rc7/libglusterfsclient/src' > make[2]: *** [install-am] Error 2 > make[2]: Leaving directory > `/root/admin/glusterfs/build/glusterfs-1.4.0rc7/libglusterfsclient/src' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory > `/root/admin/glusterfs/build/glusterfs-1.4.0rc7/libglusterfsclient' > make: *** [install-recursive] Error 1 > > > So i'm guessing there's a usr/ missing on the installation path of > libglusterfsclient.It seems to be a libtool requirement and not specific to glusterfs