You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by jb...@apache.org on 2017/03/08 00:57:49 UTC

geode-native git commit: GEODE-2509: Build failed at openSUSE LEAP 42.2 [Forced Update!]

Repository: geode-native
Updated Branches:
  refs/heads/develop aff706be2 -> 06e8f39a0 (forced update)


GEODE-2509: Build failed at openSUSE LEAP 42.2

This issue is when you use configure but does not specify lib
folder name on openSUSE, the default is "lib64" at 64bit
environment (not lib). Use --libdir option to specify the path.

This closes #47.


Project: http://git-wip-us.apache.org/repos/asf/geode-native/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode-native/commit/06e8f39a
Tree: http://git-wip-us.apache.org/repos/asf/geode-native/tree/06e8f39a
Diff: http://git-wip-us.apache.org/repos/asf/geode-native/diff/06e8f39a

Branch: refs/heads/develop
Commit: 06e8f39a036a0cbbda0898bb87673ed57a5dfa46
Parents: 7da9d90
Author: Danilo Chang <ra...@gmail.com>
Authored: Tue Mar 7 19:34:37 2017 +0800
Committer: Jacob Barrett <jb...@pivotal.io>
Committed: Tue Mar 7 16:57:30 2017 -0800

----------------------------------------------------------------------
 src/dependencies/libxml2/CMakeLists.txt  | 2 +-
 src/dependencies/xerces-c/CMakeLists.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode-native/blob/06e8f39a/src/dependencies/libxml2/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/src/dependencies/libxml2/CMakeLists.txt b/src/dependencies/libxml2/CMakeLists.txt
index b0c740d..3165058 100644
--- a/src/dependencies/libxml2/CMakeLists.txt
+++ b/src/dependencies/libxml2/CMakeLists.txt
@@ -41,7 +41,7 @@ if (${WIN32})
   set ( _BUILD_COMMAND ${CMAKE_COMMAND} -E chdir win32 nmake -f Makefile.msvc all ${_MAKE_FLAGS} )
   set ( _INSTALL_COMMAND ${CMAKE_COMMAND} -E chdir win32 nmake -f Makefile.msvc install ${_MAKE_FLAGS} )
 else()
-  set ( _CONFIGURE_COMMAND ${CONFIGURE} $<$<CONFIG:Debug>:--with-debug> --with-pic --enable-static --without-iconv --without-python --without-lzma CFLAGS=${${PROJECT_NAME}_CFLAGS} "MAKE=$(MAKE)")
+  set ( _CONFIGURE_COMMAND ${CONFIGURE} $<$<CONFIG:Debug>:--with-debug> --libdir=<INSTALL_DIR>/lib --with-pic --enable-static --without-iconv --without-python --without-lzma CFLAGS=${${PROJECT_NAME}_CFLAGS} "MAKE=$(MAKE)")
   set ( _BUILD_COMMAND $(MAKE) all )
   set ( _INSTALL_COMMAND $(MAKE) install )
 endif()

http://git-wip-us.apache.org/repos/asf/geode-native/blob/06e8f39a/src/dependencies/xerces-c/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/src/dependencies/xerces-c/CMakeLists.txt b/src/dependencies/xerces-c/CMakeLists.txt
index b1ee30b..a64f954 100644
--- a/src/dependencies/xerces-c/CMakeLists.txt
+++ b/src/dependencies/xerces-c/CMakeLists.txt
@@ -45,7 +45,7 @@ if (WIN32)
                  #TODO cleanup includes?
                  COMMAND ${CMAKE_COMMAND} -E copy_directory src <INSTALL_DIR>/include )
 else()
-  set ( _CONFIGURE_COMMAND ${CONFIGURE} $<$<CONFIG:Debug>:--with-debug> --with-pic "CFLAGS=${${PROJECT_NAME}_CFLAGS}" "CXXFLAGS=${${PROJECT_NAME}_CXXFLAGS}" "MAKE=$(MAKE)" )
+  set ( _CONFIGURE_COMMAND ${CONFIGURE} $<$<CONFIG:Debug>:--with-debug> --libdir=<INSTALL_DIR>/lib --with-pic "CFLAGS=${${PROJECT_NAME}_CFLAGS}" "CXXFLAGS=${${PROJECT_NAME}_CXXFLAGS}" "MAKE=$(MAKE)" )
   set ( _BUILD_COMMAND $(MAKE) all )
   set ( _INSTALL_COMMAND $(MAKE) install )
 endif()