singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "thao p nguyen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SINGA-442) can not compile and run Singa on Ubuntu 18
Date Thu, 11 Apr 2019 13:49:00 GMT
thao p nguyen created SINGA-442:
-----------------------------------

             Summary: can not compile and run Singa on Ubuntu 18
                 Key: SINGA-442
                 URL: https://issues.apache.org/jira/browse/SINGA-442
             Project: Singa
          Issue Type: Bug
          Components: Documentation
         Environment: - Ubuntu 18.10
- Python 3.6 & 2.7
            Reporter: thao p nguyen
         Attachments: dependencies.txt

After successfully installed dependencies from dockerfile (attached file: "dependencies.txt"),
I can not run cmake. Below are messages:

thao@thao-OptiPlex-5060:~/Documents/Singa/incubator-singa/build$ cmake -DUSE_PYTHON=ON ..

-- The C compiler identification is GNU 8.2.0

-- The CXX compiler identification is GNU 8.2.0

-- Check for working C compiler: /usr/bin/cc

-- Check for working C compiler: /usr/bin/cc -- works

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Detecting C compile features

-- Detecting C compile features - done

-- Check for working CXX compiler: /usr/bin/c++

-- Check for working CXX compiler: /usr/bin/c++ -- works

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Detecting CXX compile features

-- Detecting CXX compile features - done

-- Looking for pthread.h

-- Looking for pthread.h - found

-- Looking for pthread_create

-- Looking for pthread_create - not found

-- Looking for pthread_create in pthreads

-- Looking for pthread_create in pthreads - not found

-- Looking for pthread_create in pthread

-- Looking for pthread_create in pthread - found

-- Found Threads: TRUE 

-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread (found suitable version
"3.0.0", minimum required is "3.0")

-- Found CBLAS: /usr/include/x86_64-linux-gnu 

-- Found GLOG: /usr/include 

-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.15", minimum required
is "2.7")

CMake Error at /usr/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):

  Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)

  (Required is at least version "2.7")

Call Stack (most recent call first):

  /usr/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)

  /usr/share/cmake-3.12/Modules/FindPythonLibs.cmake:265 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)

  cmake/Dependencies.cmake:134 (FIND_PACKAGE)

  CMakeLists.txt:75 (INCLUDE)  

-- Configuring incomplete, errors occurred!

See also "/home/thao/Documents/Singa/incubator-singa/build/CMakeFiles/CMakeOutput.log".

See also "/home/thao/Documents/Singa/incubator-singa/build/CMakeFiles/CMakeError.log".

 

thao@thao-OptiPlex-5060:~/Documents/Singa/incubator-singa/build$ cmake -DUSE_MODULES=ON ..

-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread (found version "3.0.0")

CMake Error at /usr/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):

  Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)

  (Required is at least version "2.7")

Call Stack (most recent call first):

  /usr/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)

  /usr/share/cmake-3.12/Modules/FindPythonLibs.cmake:265 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)

  cmake/Dependencies.cmake:134 (FIND_PACKAGE)

  CMakeLists.txt:75 (INCLUDE)

-- Configuring incomplete, errors occurred!

See also "/home/thao/Documents/Singa/incubator-singa/build/CMakeFiles/CMakeOutput.log".

See also "/home/thao/Documents/Singa/incubator-singa/build/CMakeFiles/CMakeError.log".

 

thao@thao-OptiPlex-5060:~/Documents/Singa/incubator-singa/build$ cmake -DPACKAGE=ON

CMake Error: The source directory "/home/thao/Documents/Singa/incubator-singa/build" does
not appear to contain CMakeLists.txt.

Specify --help for usage, or press the help button on the CMake GUI.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message