You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Pierre de Freminville (JIRA)" <ji...@apache.org> on 2016/11/25 17:59:58 UTC

[jira] [Updated] (HAWQ-1172) FindLibUUID.cmake doesn't include the headers

     [ https://issues.apache.org/jira/browse/HAWQ-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre de Freminville updated HAWQ-1172:
----------------------------------------
    Description: 
Hello I found a bug in FindLibUUID.cmake

The incorrect line is the following:
FIND_PATH(LIBUUID_INCLUDE_DIR uuid/uuid.h)

It should be replaced with the following:
FIND_PATH(LIBUUID_INCLUDE_DIRS uuid/uuid.h)

Otherwise the libuuid include directory is not included in the src/CMakeLists.txt:
IF(OS_LINUX)
    TARGET_LINK_LIBRARIES(libhdfs3-static ${LIBUUID_LIBRARIES})
    TARGET_LINK_LIBRARIES(libhdfs3-shared ${LIBUUID_LIBRARIES})
    INCLUDE_DIRECTORIES(${LIBUUID_INCLUDE_DIRS})
ENDIF(OS_LINUX)

  was:
Hello I found a bug in FindLibUUID.cmake

The incorrect line is the following:
FIND_PATH(LIBUUID_INCLUDE_DIR uuid/uuid.h)

It should be replaced with the following:
FIND_PATH(LIBUUID_INCLUDE_DIR uuid/uuid.h)

Otherwise the libuuid include directory is not included in the src/CMakeLists.txt:
IF(OS_LINUX)
    TARGET_LINK_LIBRARIES(libhdfs3-static ${LIBUUID_LIBRARIES})
    TARGET_LINK_LIBRARIES(libhdfs3-shared ${LIBUUID_LIBRARIES})
    INCLUDE_DIRECTORIES(${LIBUUID_INCLUDE_DIRS})
ENDIF(OS_LINUX)


> FindLibUUID.cmake doesn't include the headers
> ---------------------------------------------
>
>                 Key: HAWQ-1172
>                 URL: https://issues.apache.org/jira/browse/HAWQ-1172
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: libhdfs
>            Reporter: Pierre de Freminville
>            Assignee: Lei Chang
>
> Hello I found a bug in FindLibUUID.cmake
> The incorrect line is the following:
> FIND_PATH(LIBUUID_INCLUDE_DIR uuid/uuid.h)
> It should be replaced with the following:
> FIND_PATH(LIBUUID_INCLUDE_DIRS uuid/uuid.h)
> Otherwise the libuuid include directory is not included in the src/CMakeLists.txt:
> IF(OS_LINUX)
>     TARGET_LINK_LIBRARIES(libhdfs3-static ${LIBUUID_LIBRARIES})
>     TARGET_LINK_LIBRARIES(libhdfs3-shared ${LIBUUID_LIBRARIES})
>     INCLUDE_DIRECTORIES(${LIBUUID_INCLUDE_DIRS})
> ENDIF(OS_LINUX)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)