building/installing on FreeBSD

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

 



Hi,

I've been trying to build/install 3.7.6 from the source tarball onto
FreeBSD and have had some luck.

I basically needed to apply this little patch:
--- cli/src/Makefile.in.sav	2015-12-06 17:06:59.252807000 -0500
+++ cli/src/Makefile.in	2015-12-06 17:07:44.741783000 -0500
@@ -63,8 +63,8 @@ am__DEPENDENCIES_1 =
 gluster_DEPENDENCIES =  \
 	$(top_builddir)/libglusterfs/src/libglusterfs.la \
 	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
-	$(top_builddir)/rpc/xdr/src/libgfxdr.la \
 	$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \
+	$(top_builddir)/rpc/xdr/src/libgfxdr.la \
 	$(am__DEPENDENCIES_1)
 AM_V_lt = $(am__v_lt_$(V))
 am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
@@ -327,8 +327,9 @@ gluster_SOURCES = cli.c registry.c input
 	 cli-cmd-system.c cli-cmd-misc.c cli-xml-output.c cli-quotad-client.c cli-cmd-snapshot.c
 
 gluster_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(GF_LDADD) \
-		$(RLLIBS) $(top_builddir)/rpc/xdr/src/libgfxdr.la \
+		$(RLLIBS) \
 		$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \
+		$(top_builddir)/rpc/xdr/src/libgfxdr.la \
 		$(XML_LIBS)
 
 gluster_LDFLAGS = $(GF_LDFLAGS)

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.)

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?

Thanks in advance for any help, rick
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel



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

  Powered by Linux