Skip to content

Arch Linux theora compilation CMake error 'Could not find a configuration file for package "Ogg" that is compatible with requested version ' #118

@gioan777

Description

@gioan777

Trying to build the repo fails on my machine. I'm not sure what causes it
From a little investigating it fails when it tries to build 'theora' which it does from the build-cmakelibs.sh file
BTW manually cloning the theora repo with the pull request and running cmake without any options builds normally.
Here's the log.

[100%] Linking CXX static library ../../lib/libjsoncpp.a
[100%] Built target jsoncpp_static
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /home/george/.local/share/ps2dev/ps2sdk/ports/lib/pkgconfig/jsoncpp.pc
-- Installing: /home/george/.local/share/ps2dev/ps2sdk/ports/lib/cmake/jsoncpp/jsoncpp-targets.cmake
-- Installing: /home/george/.local/share/ps2dev/ps2sdk/ports/lib/cmake/jsoncpp/jsoncpp-targets-relwithdebinfo.cmake
-- Installing: /home/george/.local/share/ps2dev/ps2sdk/ports/lib/cmake/jsoncpp/jsoncppConfigVersion.cmake
-- Installing: /home/george/.local/share/ps2dev/ps2sdk/ports/lib/cmake/jsoncpp/jsoncppConfig.cmake
-- Installing: /home/george/.local/share/ps2dev/ps2sdk/ports/lib/cmake/jsoncpp/jsoncpp-namespaced-targets.cmake
-- Installing: /home/george/.local/share/ps2dev/ps2sdk/ports/lib/libjsoncpp.a
-- Installing: /home/george/.local/share/ps2dev/ps2sdk/ports/include/json/allocator.h
-- Installing: /home/george/.local/share/ps2dev/ps2sdk/ports/include/json/assertions.h
-- Installing: /home/george/.local/share/ps2dev/ps2sdk/ports/include/json/config.h
-- Installing: /home/george/.local/share/ps2dev/ps2sdk/ports/include/json/forwards.h
-- Installing: /home/george/.local/share/ps2dev/ps2sdk/ports/include/json/json.h
-- Installing: /home/george/.local/share/ps2dev/ps2sdk/ports/include/json/json_features.h
-- Installing: /home/george/.local/share/ps2dev/ps2sdk/ports/include/json/reader.h
-- Installing: /home/george/.local/share/ps2dev/ps2sdk/ports/include/json/value.h
-- Installing: /home/george/.local/share/ps2dev/ps2sdk/ports/include/json/version.h
-- Installing: /home/george/.local/share/ps2dev/ps2sdk/ports/include/json/writer.h
CMake Warning:
  Ignoring extra path from command line:

   "/home/george/Repos/emu_repos/ps2dev/build/ps2sdk-ports/build/theora/build"


CMake Warning:
  Ignoring extra path from command line:

   "."


-- The C compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/george/.local/share/ps2dev/ee/bin/mips64r5900el-ps2-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:7 (FIND_PACKAGE):
  Could not find a configuration file for package "Ogg" that is compatible
  with requested version "".

  The following configuration files were considered but not accepted:

    /usr/lib/cmake/Ogg/OggConfig.cmake, version: 1.3.5 (64bit)



-- Configuring incomplete, errors occurred!

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