Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

autoconf changes to build on a debian/testing machine

  • Loading branch information...
commit 1a6924367db7648d2e3065a1476f3806b70c553c 1 parent 4699935
@liewegas liewegas authored
View
8 INSTALL
@@ -3,7 +3,7 @@ Installation Instructions
If pulling from git, you first need to build the configure script with
-$ ./reconf
+$ ./autogen.sh
Then,
@@ -13,3 +13,9 @@ $ make
Note that if the FUSE library is not found, the user-space fuse client
will not be built.
+If you are doing development, you may want to do
+
+$ CXXFLAGS="-g -pg" ./configure
+
+or similar to avoid the default (-g -O2), which includes optimizations
+(-O2).
View
2  README
@@ -2,3 +2,5 @@ Ceph - a scalable distributed file system
-----------------------------------------
Please see http://ceph.sourceforge.net/ for current info.
+
+INSTALL for basic build instructions.
View
4 configure.ac
@@ -50,7 +50,7 @@ AS_IF([test "x$with_ccgnu" != xno],
[AC_SUBST([LIBCCGNU2], ["-lccgnu2"])
AC_DEFINE([WITH_CCGNU], [1],
[Define if you have ccgnu])
- LIBS="-lccgnu2 $LIBS"
+ LIBS="-lccgnu2 -ldl $LIBS"
],
[if test "x$with_ccgnu" != xcheck; then
AC_MSG_FAILURE(
@@ -103,7 +103,7 @@ AC_FUNC_FORK
AC_PROG_GCC_TRADITIONAL
AC_FUNC_LSTAT
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK
-AC_FUNC_MALLOC
+#AC_FUNC_MALLOC # this causes annoying rpl_malloc error on some machines; skip it
AC_FUNC_MEMCMP
AC_FUNC_MMAP
AC_FUNC_REALLOC
View
1  src/config.cc
@@ -16,6 +16,7 @@
#include "config.h"
#include "include/types.h"
#include <fstream>
+#include <stdlib.h>
//#define MDS_CACHE_SIZE 4*10000 -> <20mb
//#define MDS_CACHE_SIZE 80000 62mb
View
1  src/crush/CrushWrapper.h
@@ -11,6 +11,7 @@
#include "include/encodable.h"
+#include <stdlib.h>
#include <map>
#include <set>
Please sign in to comment.
Something went wrong with that request. Please try again.