cannot compile unity-2d

Asked by Yuriy Smirnoff on 2011-12-28

Here is "cmake ." output:

smirnoff@smirnoff-laptop:~/unity-2d$ cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - 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
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt4: /usr/bin/qmake (found version "4.7.4")
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- checking for module 'glib-2.0'
-- found glib-2.0, version 2.30.0
-- checking for module 'gdk-3.0'
-- found gdk-3.0, version 3.2.0
-- checking for module 'gtk+-3.0'
-- found gtk+-3.0, version 3.2.0
-- checking for module 'gio-2.0'
-- found gio-2.0, version 2.30.0
-- checking for module 'libwnck-3.0'
-- found libwnck-3.0, version 3.2.0
-- checking for module 'libqtgconf'
-- found libqtgconf, version 0.0
-- checking for module 'nux-core-2.0'
-- package 'nux-core-2.0' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  CMakeLists.txt:44 (pkg_check_modules)

-- checking for module 'pango'
-- found pango, version 1.29.3
-- checking for module 'dconf-qt'
-- found dconf-qt, version
-- GSettings schemas will be installed into /usr/local/share/glib-2.0/schemas/
-- checking for module 'libqtbamf'
-- found libqtbamf, version 0.0
-- checking for module 'libqtdee'
-- found libqtdee, version 0.2
-- checking for module 'dbusmenu-qt'
-- found dbusmenu-qt, version 0.9.0
-- checking for module 'libstartup-notification-1.0'
-- found libstartup-notification-1.0, version 0.12
-- checking for module 'indicator3-0.4'
-- found indicator3-0.4, version 0.4.1
-- checking for module 'unity-core-5.0'
-- package 'unity-core-5.0' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  libunity-2d-private/CMakeLists.txt:10 (pkg_check_modules)

-- checking for module 'dee-1.0'
-- found dee-1.0, version 0.5.22
-- checking for module 'xi'
-- found xi, version 1.4.3.99.1
-- checking for module 'libutouch-geis'
-- found libutouch-geis, version 2.1.2
-- checking for module 'unity-core-5.0'
-- package 'unity-core-5.0' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  panel/CMakeLists.txt:4 (pkg_check_modules)

-- Configuring incomplete, errors occurred!

It seems there isn't libunity-core-5.0 on my computer. Where can I get it? (in reps it is absent too)

Question information

Language:
English Edit question
Status:
Solved
For:
unity-2d Edit question
Assignee:
No assignee Edit question
Solved by:
Michał Sawicz
Solved:
2011-12-29
Last query:
2011-12-29
Last reply:
2011-12-29
Best Michał Sawicz (saviq) said : #1

5.0 is the latest unity, packages are built here https://launchpad.net/~unity-team/+archive/staging.

Remember that's unstable code, so YMMV.

Yuriy Smirnoff (y-m-smirnoff) said : #2

Thanks Michał Sawicz, that solved my question.