Glusterfs 3.0.0pre1 on FreeBSD 7.2 amd64

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

 



Hello,

i was able to build a glusterfs server  on a FreeBSD 7.2-RELEASE-p3
amd64 machine with following procedure:

SHELL# export LDFLAGS="-L/usr/local/lib -liconv"
SHELL# export CFLAGS="-O0 -g -DDEBUG -I/usr/local/include/"
SHELL# ./configure -disable-fuse-client
SHELL# make install clean

But could you please make the configure script apply following patches,
when started on freebsd?

MfG
	Christoph


###glusterfsd/src/glusterfsd.c
--- glusterfs-3.0.0pre1.orig/glusterfsd/src/glusterfsd.c
2009-11-02 07:24:44.000000000 +0100
+++ glusterfs-3.0.0pre1.freebsd/glusterfsd/src/glusterfsd.c
2009-11-21 21:20:36.000000000 +0100
@@ -1197,9 +1197,9 @@
                 fprintf (stderr, "ignoring %s\n",
                          strerror (errno));
         }
-#ifdef DEBUG
+/*#ifdef DEBUG
         mtrace ();
-#endif
+#endif*/
         signal (SIGUSR1, (sighandler_t) gf_proc_dump_info);
         signal (SIGSEGV, gf_print_trace);
         signal (SIGABRT, gf_print_trace);


###xlators/cluster/afr/src/afr-transaction.c
--- glusterfs-3.0.0pre1.orig/xlators/cluster/afr/src/afr-transaction.c
2009-11-02 07:24:44.000000000 +0100
+++
glusterfs-3.0.0pre1.freebsd/xlators/cluster/afr/src/afr-transaction.c
    2009-11-21 21:15:15.000000000 +0100
@@ -24,7 +24,7 @@
 #include "afr-transaction.h"

 #include <signal.h>
-#include <alloca.h>
+#include <stdlib.h>


 static void


###libglusterfs/src/xlator.h
--- glusterfs-3.0.0pre1.orig/libglusterfs/src/xlator.h  2009-11-02
07:24:44.000000000 +0100
+++ glusterfs-3.0.0pre1.freebsd/libglusterfs/src/xlator.h
2009-11-21 21:11:45.000000000 +0100
@@ -19,6 +19,7 @@

 #ifndef _XLATOR_H
 #define _XLATOR_H
+#define FUSE_USE_VERSION 26

 #ifndef _CONFIG_H
 #define _CONFIG_H


###libglusterfs/src/statedump.c
--- glusterfs-3.0.0pre1.orig/libglusterfs/src/statedump.c
2009-11-02 07:24:44.000000000 +0100
+++ glusterfs-3.0.0pre1.freebsd/libglusterfs/src/statedump.c
2009-11-21 21:13:11.000000000 +0100
@@ -18,7 +18,7 @@
 */

 #include <stdarg.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include "glusterfs.h"
 #include "logging.h"
 #include "iobuf.h"

Attachment: signature.asc
Description: OpenPGP digital signature


[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