Re: installing glusterfs-coreutils on ubuntu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



yes, I checked that:

$ glusterfs --version

glusterfs 3.7.6 built on Nov  9 2015 15:17:05

$ pkg-config --list-all | grep gluster

glusterfs-api                    glusterfs-api - GlusterFS API


On Wed, Dec 23, 2015 at 6:31 PM, Niels de Vos <ndevos@xxxxxxxxxx> wrote:
On Wed, Dec 23, 2015 at 02:55:15PM +0800, Marc Eisenbarth wrote:
> The documentation requires installing "glusterfs-api-devel", which isn't
> available in the Ubuntu PPA. However, I do have the header files that I
> believe ./configure is looking for installed but can't seem to point
> ./configure to them using CFLAGS, CXXFLAGS, etc. I also tried to use the
> --with-glusterfs ./configure option as well. What's the proper way to do
> this?
>
> output of ./configure where it halts:
>
> checking for GLFS... no
> configure: error: cannot find glusterfs api headers
>
> existing header location:
> $:~/glusterfs-coreutils$ sudo find /usr -name "glfs.h" -print
> /usr/include/glusterfs/api/glfs.h

glusterfs-coreutils uses pkg-config to get the location from the headers
and the additional compile/link options. You will need a
glusterfs-api.pc file under /usr/lib64/pkgconfig/ (or similar). This
command should list glusterfs-api when all is right:

  $ pkg-config --list-all

I do not know how Ubuntu packages are providing development files, so I
can not really give you more details than this.

HTH,
Niels

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux