panel/CMakeLists.txt:4 (pkg_check_modules) -- Configuring incomplete, errors occurred!

Bug #1008692 reported by marcos tiago fernandes sa trindade de oliveira
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu Television
Won't Fix
Undecided
Unassigned

Bug Description

-- 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.8.1")
-- 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
-- Found Gettext: /usr/bin/msgmerge
-- checking for module 'glib-2.0'
-- found glib-2.0, version 2.32.1
-- checking for module 'gdk-3.0'
-- found gdk-3.0, version 3.4.2
-- checking for module 'gtk+-3.0'
-- found gtk+-3.0, version 3.4.2
-- checking for module 'gio-2.0'
-- found gio-2.0, version 2.32.1
-- checking for module 'libwnck-3.0'
-- found libwnck-3.0, version 3.4.0
-- checking for module 'libqtgconf'
-- found libqtgconf, version 0.0
-- checking for module 'nux-core-1.0'
-- package 'nux-core-1.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.30.0
-- 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.2
-- 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.5.0
-- checking for module 'unity-core-4.0'
-- package 'unity-core-4.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 1.0.10
-- checking for module 'xi'
-- found xi, version 1.6.0
-- checking for module 'libutouch-geis'
-- found libutouch-geis, version 2.2.9
-- checking for module 'unity-core-4.0'
-- package 'unity-core-4.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!

Revision history for this message
devxdev (devxdev) wrote :

Assuming you are following the wiki install instructions, If you are running from a 12.04 Core install then you need to do the following:
(Again assuming from wiki that your ubuntu-tv is in ~/ubutu-tv)

cd ~/ubuntu-tv
nano CMakeLists.txt
press ctrl+w and find "unity-core-4.0" replace with "unity-core-5.0"
ctrl+x, y, enter
cmake .

You may/will also run into issues with nux-core-1.0 + a few other while building nux-core-2.0;

cd ~
bzr branch lp:~unity-team/nux/trunk nux
cd ~/nux
apt-get install libpci-dev libibus-1.0-dev
./autogen.sh
make
cd ~/ubuntu-tv
nano CMakeLists.txt
ctrl+w find "nux-core-1.0" replace with "nux-core-2.0"
ctrl+x, y, enter
cmake .
make

Revision history for this message
micahcraig (micah-micahcraig) wrote :

The references to 'unity-core-4.0' are actually in 'libunity-2d-private/CMakeLists.txt' and 'panel/CMakeLists.txt', but changing those to look for 'unity-core-5.0' instead just leads to the following on 'make':

[ 0%] Building CXX object libunity-2d-private/src/CMakeFiles/unity-2d-private.dir/lenses.cpp.o
/home/micah/src/ubuntu-tv/libunity-2d-private/src/lenses.cpp: In constructor ‘Lenses::Lenses(QObject*)’:
/home/micah/src/ubuntu-tv/libunity-2d-private/src/lenses.cpp:39:80: error: no matching function for call to ‘unity::dash::FilesystemLenses::FilesystemLenses(const char [24])’
/home/micah/src/ubuntu-tv/libunity-2d-private/src/lenses.cpp:39:80: note: candidates are:
/usr/include/Unity-5.0/UnityCore/FilesystemLenses.h:81:3: note: unity::dash::FilesystemLenses::FilesystemLenses(const Ptr&)
/usr/include/Unity-5.0/UnityCore/FilesystemLenses.h:81:3: note: no known conversion for argument 1 from ‘const char [24]’ to ‘const Ptr& {aka const std::shared_ptr<unity::dash::LensDirectoryReader>&}
/usr/include/Unity-5.0/UnityCore/FilesystemLenses.h:80:3: note: unity::dash::FilesystemLenses::FilesystemLenses()
/usr/include/Unity-5.0/UnityCore/FilesystemLenses.h:80:3: note: candidate expects 0 arguments, 1 provided
make[2]: *** [libunity-2d-private/src/CMakeFiles/unity-2d-private.dir/lenses.cpp.o] Error 1
make[1]: *** [libunity-2d-private/src/CMakeFiles/unity-2d-private.dir/all] Error 2
make: *** [all] Error 2

Revision history for this message
devxdev (devxdev) wrote :

I'am aware of this issue, as well but I have no launchpad exp. so I'll have to figure out how to do patching/packaging etc before I can post a legitimate fix for this; I was just posting one way to get around that error on a 12.04 release.

Revision history for this message
Joseph Mills (josephjamesmills) wrote :

Due to the fact that we are moving to unity 3d this bug is now been marked as Wont fix

Changed in ubuntutv:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.