[Gluster-devel] building/installing on FreeBSD

Kaleb S. KEITHLEY kkeithle at redhat.com
Mon Dec 7 18:20:09 UTC 2015


On 12/07/2015 08:42 AM, Rick Macklem wrote:

> to avoid an undefined reference for xdr_auth_glusterfs_parms_v2.
> (I also found that building without libxml2 doesn't work, because fields
>  #if HAVE_LIB_XML are used in the code. Maybe it would be nicer if configure
>  failed when libxml2 isn't installed, like it does for Bison, etc.)

File a bug[1], and/or submit a patch[2]

> 
> Now, I can build/install it, but it isn't building any shared *.so files.
> As such, the binaries basically fail.
> 
> I have zero experience with libtool. So, does someone happen to know what
> it takes to get it to build the shared libraries?
> I didn't do autogen.sh. I just used configure. Do I need to run autogen.sh?
> 

I pretty much always run autogen.sh. On FreeBSD 10, my builds produce
shared libs and binaries. Your patch looked a little suspect.

I was able to build both 3.7.6 built from the tarball, and the head of
release-3.7 branches in git b with `./autogen.sh && ./configure
--disable-tiering && make`

[1]https://bugzilla.redhat.com/enter_bug.cgi?product=GlusterFS
[2]http://www.gluster.org/community/documentation/index.php/Simplified_dev_workflow

-- 

Kaleb


More information about the Gluster-devel mailing list