[Gluster-devel] GlusterFS install problems
Anand Avati
avati at zresearch.com
Wed Apr 18 05:18:34 UTC 2007
Matt,
you seem to be missing the fuse-dev (or maybe libfuse-dev) or
similarly named package. install it and try compiling again.
avati
On Tue, Apr 17, 2007 at 05:01:49PM -0700, Matt Bennett wrote:
> Hello list,
>
> I'm afraid this might be a bit of a newbie issue...
>
> I'm having trouble installing GlusterFS server. I downloaded
> glusterfs-1.2.3.tar.gz, untar'd , and following the Getting Started
> guide at [1], issued:
>
> # CFLAGS="-O3" ./configure --prefix=/usr --sysconfdir=/etc
> --disable-fuse-client
>
> The output from configure is included below the rest of this email.
>
> It seemed to exit successfully, so I ran make:
>
> # make
> Making all in libglusterfs
> make[1]: Entering directory `/home/dev/glusterfs-1.2.3/libglusterfs'
> Making all in src
> make[2]: Entering directory `/home/dev/glusterfs-1.2.3/libglusterfs/src'
> gcc -DPACKAGE_NAME=\"glusterfs\" -DPACKAGE_TARNAME=\"glusterfs\"
> -DPACKAGE_VERSION=\"1.2.3\" -DPACKAGE_STRING=\"glusterfs\ 1.2.3\"
> -DPACKAGE_BUGREPORT=\"gluster-devel at nongnu.org\"
> -DPACKAGE=\"glusterfs\" -DVERSION=\"1.2.3\" -I. -fPIC
> -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -g -shared -nostartfiles
> -rdynamic -DXLATORDIR=\"/usr/lib/glusterfs/xlator\"
> -DSCHEDULERDIR=\"/usr/lib/glusterfs/scheduler\"
> -DTRANSPORTDIR=\"/usr/lib/glusterfs/transport\" -DYY_NO_UNPUT -O3 -MT
> dict.o -MD -MP -MF .deps/dict.Tpo -c -o dict.o dict.c
> In file included from xlator.h:36,
> from transport.h:30,
> from common-utils.h:26,
> from dict.c:26:
> glusterfs.h:23:18: error: fuse.h: No such file or directory
> make[2]: *** [dict.o] Error 1
> make[2]: Leaving directory `/home/dev/glusterfs-1.2.3/libglusterfs/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/dev/glusterfs-1.2.3/libglusterfs'
> make: *** [all-recursive] Error 1
>
> I'm running Ubuntu Edgy (kernel 2.6.17-11-generic) which ships with
> fuse 2.5.3 I believe. As an attempt to fix the problems, I installed
> 2.6.3 from sourceforge, then re-attempted the install.
>
> The configure output is exactly the same, but this time make gets a
> bit further. It eventually dies with:
>
> make[2]: Entering directory `/home/dev/glusterfs-1.2.3/glusterfsd/src'
> gcc -DPACKAGE_NAME=\"glusterfs\" -DPACKAGE_TARNAME=\"glusterfs\"
> -DPACKAGE_VERSION=\"1.2.3\" -DPACKAGE_STRING=\"glusterfs\ 1.2.3\"
> -DPACKAGE_BUGREPORT=\"gluster-devel at nongnu.org\"
> -DPACKAGE=\"glusterfs\" -DVERSION=\"1.2.3\" -I. -fPIC
> -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=25 -D_GNU_SOURCE -Wall
> -I../../libglusterfs/src -DDATADIR=\"/usr/var\"
> -DCONFDIR=\"/etc/glusterfs\" -O3 -MT glusterfsd.o -MD -MP -MF
> .deps/glusterfsd.Tpo -c -o glusterfsd.o glusterfsd.c
> mv -f .deps/glusterfsd.Tpo .deps/glusterfsd.Po
> gcc -fPIC -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=25 -D_GNU_SOURCE
> -Wall -I../../libglusterfs/src -DDATADIR=\"/usr/var\"
> -DCONFDIR=\"/etc/glusterfs\" -O3 -o glusterfsd glusterfsd.o
> -L../../libglusterfs/src -lglusterfs -ldl -lm
> ../../libglusterfs/src/libglusterfs.so: undefined reference to `yyin'
> ../../libglusterfs/src/libglusterfs.so: undefined reference to `yylex'
> collect2: ld returned 1 exit status
> make[2]: *** [glusterfsd] Error 1
> make[2]: Leaving directory `/home/dev/glusterfs-1.2.3/glusterfsd/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/dev/glusterfs-1.2.3/glusterfsd'
> make: *** [all-recursive] Error 1
>
> Does anyone have an idea what I'm missing?
>
> Many thanks,
> Matt.
>
>
>
> [1] http://www.gluster.org/docs/index.php/Getting_Started_with_GlusterFS
>
> Output from ./configure:
>
> # CFLAGS="-O3" ./configure --prefix=/usr --sysconfdir=/etc
> --disable-fuse-client
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> 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 style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for ranlib... ranlib
> checking for flex... no
> checking for lex... no
> checking for bison... bison -y
> checking for ld... ld
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating libglusterfs/Makefile
> config.status: creating libglusterfs/src/Makefile
> config.status: creating glusterfsd/Makefile
> config.status: creating glusterfsd/src/Makefile
> config.status: creating glusterfs-fuse/Makefile
> config.status: creating glusterfs-fuse/src/Makefile
> config.status: creating glusterfs-fuse/utils/mount.glusterfs
> config.status: creating glusterfs-fuse/utils/Makefile
> config.status: creating xlators/Makefile
> config.status: creating xlators/storage/Makefile
> config.status: creating xlators/storage/posix/Makefile
> config.status: creating xlators/storage/posix/src/Makefile
> config.status: creating xlators/cluster/Makefile
> config.status: creating xlators/cluster/unify/Makefile
> config.status: creating xlators/cluster/unify/src/Makefile
> config.status: creating xlators/performance/Makefile
> config.status: creating xlators/performance/write-back/Makefile
> config.status: creating xlators/performance/write-back/src/Makefile
> config.status: creating xlators/performance/read-ahead/Makefile
> config.status: creating xlators/performance/read-ahead/src/Makefile
> config.status: creating xlators/performance/stat-prefetch/Makefile
> config.status: creating xlators/performance/stat-prefetch/src/Makefile
> config.status: creating xlators/debug/Makefile
> config.status: creating xlators/debug/trace/Makefile
> config.status: creating xlators/debug/trace/src/Makefile
> config.status: creating xlators/protocol/Makefile
> config.status: creating xlators/protocol/client/Makefile
> config.status: creating xlators/protocol/client/src/Makefile
> config.status: creating xlators/protocol/server/Makefile
> config.status: creating xlators/protocol/server/src/Makefile
> config.status: creating xlators/features/Makefile
> config.status: creating xlators/features/filter/Makefile
> config.status: creating xlators/features/filter/src/Makefile
> config.status: creating scheduler/Makefile
> config.status: creating scheduler/alu/Makefile
> config.status: creating scheduler/alu/src/Makefile
> config.status: creating scheduler/random/Makefile
> config.status: creating scheduler/random/src/Makefile
> config.status: creating scheduler/nufa/Makefile
> config.status: creating scheduler/nufa/src/Makefile
> config.status: creating scheduler/rr/Makefile
> config.status: creating scheduler/rr/src/Makefile
> config.status: creating transport/Makefile
> config.status: creating transport/tcp/Makefile
> config.status: creating transport/tcp/server/Makefile
> config.status: creating transport/tcp/server/src/Makefile
> config.status: creating transport/tcp/client/Makefile
> config.status: creating transport/tcp/client/src/Makefile
> config.status: creating transport/ib-sdp/Makefile
> config.status: creating transport/ib-sdp/server/Makefile
> config.status: creating transport/ib-sdp/server/src/Makefile
> config.status: creating transport/ib-sdp/client/Makefile
> config.status: creating transport/ib-sdp/client/src/Makefile
> config.status: creating doc/Makefile
> config.status: creating doc/examples/Makefile
> config.status: executing depfiles commands
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>
--
ultimate_answer_t
deep_thought (void)
{
sleep (years2secs (7500000));
return 42;
}
More information about the Gluster-devel
mailing list