3

I'm trying to build secondlife viewer but fail on:

Building 'Second Life Test' Version 3.8.5.34241
-- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "0.29") 
-- checking for module 'ogg'
--   package 'ogg' not found

full build log shows that I'm using USESYSTEMLIBS flag, that means that pkg_check_modules(OGG REQUIRED ogg) just doesn't find /usr/lib64/pkgconfig/ogg.pc with some reason...

What could cause such mysterious bug?

(here is CMakeOut log : https://bpaste.net/show/a2fc804afc73)

pkg-config --exists ogg --print-errors returns nothing

cnd
  • 32,616
  • 62
  • 183
  • 313
  • 1
    In the build log `Using PKG_CONFIG_LIBDIR=...` means that someone redefines default search path for pkg-config. And this variable doesn't contain `/usr/lib64/pkgconfig`. That's why `ogg` is not found at configuration stage. – Tsyvarev Oct 01 '15 at 13:59
  • @Tsyvarev thank you! – cnd Oct 01 '15 at 14:16

1 Answers1

2

seems like just CMake doesn't work right -__-' https://github.com/Techwolf/techwolf-overlay/issues/2#issuecomment-144851500

This bug is in cmake 3.3.x, downgrade to 3.2.3-r1 will fix it

everything works with 3.2.3

-- checking for module 'ogg'
--   found ogg, version 1.3.2
cnd
  • 32,616
  • 62
  • 183
  • 313
  • Would be nice to get the CMake mantis bug tracker number. If the bug is not known upstream, please do so. Otherwise there is no chance to get it fixed. – usr1234567 Oct 02 '15 at 06:53