Skip to content

CMake Error during docker compose up #7

Open
@eoan-ermine

Description

@eoan-ermine
❯ docker compose up
[+] Building 1.2s (11/12)                                                                                                                                   
 => [service internal] load build definition from Dockerfile                                                                                           0.0s
 => => transferring dockerfile: 281B                                                                                                                   0.0s
 => [service internal] load .dockerignore                                                                                                              0.0s
 => => transferring context: 46B                                                                                                                       0.0s
 => [service internal] load metadata for docker.io/lganzzzo/alpine-cmake:latest                                                                        0.5s
 => [service 1/8] FROM docker.io/lganzzzo/alpine-cmake:latest@sha256:8558b04111c2796787268961f362d03ef257a92db6312b43abb3a1430de9a144                  0.0s
 => [service internal] load build context                                                                                                              0.0s
 => => transferring context: 7.03kB                                                                                                                    0.0s
 => CACHED [service 2/8] RUN apk add postgresql-dev                                                                                                    0.0s
 => CACHED [service 3/8] ADD . /service                                                                                                                0.0s
 => CACHED [service 4/8] WORKDIR /service/utility                                                                                                      0.0s
 => CACHED [service 5/8] RUN ./install-oatpp-modules.sh                                                                                                0.0s
 => CACHED [service 6/8] WORKDIR /service/build                                                                                                        0.0s
 => ERROR [service 7/8] RUN cmake ..                                                                                                                   0.7s
------                                                                                                                                                      
 > [service 7/8] RUN cmake ..:                                                                                                                              
0.154 -- The C compiler identification is GNU 6.4.0                                                                                                         
0.180 -- The CXX compiler identification is GNU 6.4.0                                                                                                       
0.183 -- Check for working C compiler: /usr/bin/cc                                                                                                          
0.213 -- Check for working C compiler: /usr/bin/cc -- works                                                                                                 
0.214 -- Detecting C compiler ABI info
0.244 -- Detecting C compiler ABI info - done
0.249 -- Detecting C compile features
0.342 -- Detecting C compile features - done
0.344 -- Check for working CXX compiler: /usr/bin/c++
0.377 -- Check for working CXX compiler: /usr/bin/c++ -- works
0.377 -- Detecting CXX compiler ABI info
0.410 -- Detecting CXX compiler ABI info - done
0.415 -- Detecting CXX compile features
0.563 -- Detecting CXX compile features - done
0.564 CMake Error at CMakeLists.txt:30 (find_package):
0.564   By not providing "Findoatpp.cmake" in CMAKE_MODULE_PATH this project has
0.564   asked CMake to find a package configuration file provided by "oatpp", but
0.564   CMake did not find one.
0.564 
0.564   Could not find a package configuration file provided by "oatpp" (requested
0.564   version 1.3.0) with any of the following names:
0.564 
0.564     oatppConfig.cmake
0.564     oatpp-config.cmake
0.564 
0.564   Add the installation prefix of "oatpp" to CMAKE_PREFIX_PATH or set
0.564   "oatpp_DIR" to a directory containing one of the above files.  If "oatpp"
0.564   provides a separate development package or SDK, be sure it has been
0.564   installed.
0.564 
0.564 
0.565 -- Configuring incomplete, errors occurred!
0.565 See also "/service/build/CMakeFiles/CMakeOutput.log".
------
failed to solve: process "/bin/sh -c cmake .." did not complete successfully: exit code: 1

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