Skip to content

Can not build CRAXplusplus in ubuntu20.04 #11

@LJP-TW

Description

@LJP-TW

I tried to build this project following the documentation but got the following error (This is just part of the log):

...

make -C libs2e
make[3]: Entering directory '/home/pt/s2e/build/libs2e-release/i386-softmmu/libs2e'                                                                         make[3]: *** No targets specified and no makefile found.  Stop.
make[3]: Leaving directory '/home/pt/s2e/build/libs2e-release/i386-softmmu/libs2e'                                                                          make[2]: *** [Makefile:59: libs2e/src/libs2e.so] Error 2
make[2]: Leaving directory '/home/pt/s2e/build/libs2e-release/i386-softmmu'
make[1]: *** [Makefile:27: i386-softmmu] Error 2

...

make -C libs2e
make[3]: Entering directory '/home/pt/s2e/build/libs2e-release/x86_64-softmmu/libs2e'
make[3]: *** No targets specified and no makefile found.  Stop.
make[3]: Leaving directory '/home/pt/s2e/build/libs2e-release/x86_64-softmmu/libs2e'
make[2]: *** [Makefile:59: libs2e/src/libs2e.so] Error 2
make[2]: Leaving directory '/home/pt/s2e/build/libs2e-release/x86_64-softmmu' make[1]: *** [Makefile:27: x86_64-softmmu] Error 2

...

make -C libs2eplugins
make[3]: Entering directory '/home/pt/s2e/build/libs2e-release/x86_64-s2e-softmmu/libs2eplugins'                                                            make[3]: *** No targets specified and no makefile found.  Stop.
make[3]: Leaving directory '/home/pt/s2e/build/libs2e-release/x86_64-s2e-softmmu/libs2eplugins'
make[2]: *** [Makefile:51: libs2eplugins/src/libs2eplugins.a] Error 2
make[2]: Leaving directory '/home/pt/s2e/build/libs2e-release/x86_64-s2e-softmmu'
make[1]: *** [Makefile:27: x86_64-s2e-softmmu] Error 2

...

make -C libs2eplugins
make[3]: Entering directory '/home/pt/s2e/build/libs2e-release/i386-s2e_sp-softmmu/libs2eplugins'
make[3]: *** No targets specified and no makefile found.  Stop.
make[3]: Leaving directory '/home/pt/s2e/build/libs2e-release/i386-s2e_sp-softmmu/libs2eplugins'                                                            make[2]: *** [Makefile:51: libs2eplugins/src/libs2eplugins.a] Error 2
make[2]: Leaving directory '/home/pt/s2e/build/libs2e-release/i386-s2e_sp-softmmu'
make[1]: *** [Makefile:27: i386-s2e_sp-softmmu] Error 2

...

make -C libs2eplugins
make[3]: Entering directory '/home/pt/s2e/build/libs2e-release/x86_64-s2e_sp-softmmu/libs2eplugins'
make[3]: *** No targets specified and no makefile found.  Stop.
make[3]: Leaving directory '/home/pt/s2e/build/libs2e-release/x86_64-s2e_sp-softmmu/libs2eplugins'
make[2]: *** [Makefile:51: libs2eplugins/src/libs2eplugins.a] Error 2
make[2]: Leaving directory '/home/pt/s2e/build/libs2e-release/x86_64-s2e_sp-softmmu'
make[1]: *** [Makefile:27: x86_64-s2e_sp-softmmu] Error 2
make[1]: Leaving directory '/home/pt/s2e/build/libs2e-release'
make: *** [/home/pt/s2e/source/scripts//..//s2e/Makefile:210: stamps/libs2e-release-make] Error 2
make: Leaving directory '/home/pt/s2e/build'
ERROR: [build]

  RAN: /usr/bin/make --directory=/home/pt/s2e/build --file=/home/pt/s2e/source/Makefile install

  STDOUT:


  STDERR:

I think the problem is that cmake is not working properly. The following log appears before the above error log:

CMake Error at CMakeLists.txt:92 (find_package):
  By not providing "Findpybind11.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "pybind11",
  but CMake did not find one.

  Could not find a package configuration file provided by "pybind11" with any
  of the following names:                                                     
    pybind11Config.cmake
    pybind11-config.cmake

  Add the installation prefix of "pybind11" to CMAKE_PREFIX_PATH or set
  "pybind11_DIR" to a directory containing one of the above files.  If
  "pybind11" provides a separate development package or SDK, be sure it has
  been installed.


Failed to configure libs2e
CMake Error at CMakeLists.txt:92 (find_package):
  By not providing "Findpybind11.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "pybind11",
  but CMake did not find one.

  Could not find a package configuration file provided by "pybind11" with any
  of the following names:

    pybind11Config.cmake
    pybind11-config.cmake

  Add the installation prefix of "pybind11" to CMAKE_PREFIX_PATH or set
  "pybind11_DIR" to a directory containing one of the above files.  If
  "pybind11" provides a separate development package or SDK, be sure it has
  been installed.


Failed to configure libs2e
CMake Error at CMakeLists.txt:106 (find_package):
  By not providing "Findpybind11.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "pybind11",
  but CMake did not find one.

  Could not find a package configuration file provided by "pybind11" with any
  of the following names:

    pybind11Config.cmake
    pybind11-config.cmake

  Add the installation prefix of "pybind11" to CMAKE_PREFIX_PATH or set
  "pybind11_DIR" to a directory containing one of the above files.  If
  "pybind11" provides a separate development package or SDK, be sure it has
  been installed.


Failed to configure libs2eplugins
CMake Error at CMakeLists.txt:106 (find_package):
  By not providing "Findpybind11.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "pybind11",
  but CMake did not find one.

  Could not find a package configuration file provided by "pybind11" with any
  of the following names:

    pybind11Config.cmake
    pybind11-config.cmake

  Add the installation prefix of "pybind11" to CMAKE_PREFIX_PATH or set
  "pybind11_DIR" to a directory containing one of the above files.  If
  "pybind11" provides a separate development package or SDK, be sure it has
  been installed.


Failed to configure libs2eplugins
CMake Error at CMakeLists.txt:106 (find_package):
  By not providing "Findpybind11.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "pybind11",
  but CMake did not find one.

  Could not find a package configuration file provided by "pybind11" with any
  of the following names:

    pybind11Config.cmake
    pybind11-config.cmake

  Add the installation prefix of "pybind11" to CMAKE_PREFIX_PATH or set
  "pybind11_DIR" to a directory containing one of the above files.  If
  "pybind11" provides a separate development package or SDK, be sure it has
  been installed.


Failed to configure libs2eplugins
CMake Error at CMakeLists.txt:106 (find_package):
  By not providing "Findpybind11.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "pybind11",
  but CMake did not find one.

  Could not find a package configuration file provided by "pybind11" with any
  of the following names:

    pybind11Config.cmake
    pybind11-config.cmake

  Add the installation prefix of "pybind11" to CMAKE_PREFIX_PATH or set
  "pybind11_DIR" to a directory containing one of the above files.  If
  "pybind11" provides a separate development package or SDK, be sure it has
  been installed.


Failed to configure libs2eplugins

The first time I build this project isn't in home directory. But this time I build this in home directory and the error message is the same as before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions