unity-dev team mailing list archive
-
unity-dev team
-
Mailing list archive
-
Message #00202
Re: [Ayatana-dev] Compiling Unity on Natty
On Wed, 22 Jun 2011 19:38:21 Neil Jagdish Patel wrote:
> Hey,
>
> As of yesterday, Unity's trunk is more geared toward Oneiric releases,
> which means that it's become a bit of a pain to compile it on Natty.
> However, you can still compile and develop Unity on natty if you follow
> these instructions:
>
> # Install needed deps (assuming you already have needed deps for
> # nux/unity)
> $ sudo apt-get build-dep libunity-misc0 libbamf0
>
> # NOTE: This will want to get rid of bamf and wnck-2.0 -dev packages,
> that's
> # fine
> $ sudo apt-get install libwnck-3-dev libgtk-3-dev libindicator3-dev
>
> # Install latest libunity-misc
> $ bzr branch lp:libunity-misc
> $ cd libunity-misc
> $ ./autogen.sh --prefix=$your_usual_local_prefix_for_nux_and_unity
> $ make install
>
> # Install latest libbamf
> # NOTE: It's fine if it can't install the D-Bus .service file into /usr,
> # bamfdaemon hasn't changed, we just need a gtk3 libbamf
> $ bzr branch lp:bamf
> $ cd bamf
> $ ./autogen.sh ---prefix=$your_usual_local_prefix_for_nux_and_unity
> -disable-gtk-doc --disable-introspection
> $ make install
>
> Now you should be able to grab latest lp:nux and lp:unity and it should
> all magically work!
Unfortunately not.
I followed these instructions, but unity failed. Any ideas?
tim@elwood:~/src/unity/trunk$ cd build
tim@elwood:~/src/unity/trunk/build$ cmake .. -
DCMAKE_INSTALL_PREFIX=/home/tim/staging -DCMAKE_BUILD_TYPE=Debug -
DCOMPIZ_PLUGIN_INSTALL_TYPE=local -DGSETTINGS_LOCALINSTALL=ON
CMake Error at /usr/share/compiz/cmake/CompizBcop.cmake:10 (file):
file Internal CMake error when trying to open file:
/home/tim/src/unity/trunk/dialog/unitydialog/unitydialog.xml.in for
reading.
Call Stack (most recent call first):
/usr/share/compiz/cmake/CompizPlugin.cmake:285 (compiz_plugin_needs_bcop)
/usr/share/compiz/cmake/CompizPlugin.cmake:438 (_build_compiz_plugin)
plugins/unitydialog/CMakeLists.txt:5 (compiz_plugin)
CMake Error at /usr/share/compiz/cmake/CompizBcop.cmake:10 (file):
file Internal CMake error when trying to open file:
/home/tim/src/unity/trunk/utouch/unity-mt-grab-
handles/unitymtgrabhandles.xml.in
for reading.
Call Stack (most recent call first):
/usr/share/compiz/cmake/CompizPlugin.cmake:285 (compiz_plugin_needs_bcop)
/usr/share/compiz/cmake/CompizPlugin.cmake:438 (_build_compiz_plugin)
plugins/unity-mt-grab-handles/CMakeLists.txt:5 (compiz_plugin)
-- checking for module 'compiz'
-- found compiz, version 0.9.4.0
-- checking for module 'nux-1.0'
-- found nux-1.0, version 1.0.2
-- checking for module 'libbamf3'
-- found libbamf3, version 0.2.92
-- checking for module 'indicator3'
-- found indicator3, version 0.3.22
-- checking for module 'unity-misc >= 0.4.0'
-- found unity-misc , version 4.0.2
-- checking for module 'sigc++-2.0'
-- found sigc++-2.0, version 2.2.4.2
CMake Error at /usr/share/compiz/cmake/CompizBcop.cmake:10 (file):
file Internal CMake error when trying to open file:
/home/tim/src/unity/trunk/unityshell.xml.in for reading.
Call Stack (most recent call first):
/usr/share/compiz/cmake/CompizPlugin.cmake:285 (compiz_plugin_needs_bcop)
/usr/share/compiz/cmake/CompizPlugin.cmake:438 (_build_compiz_plugin)
plugins/unityshell/CMakeLists.txt:5 (compiz_plugin)
-- GSettings schemas will be installed into
/home/tim/staging/share/glib-2.0/schemas/
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) (found version
"3.8.8")
Doxygen not found. Documentation will not be built
-- checking for modules 'glib-2.0;gio-2.0;sigc++-2.0;nux-core-1.0;gdk-
pixbuf-2.0'
-- found glib-2.0, version 2.28.6
-- found gio-2.0, version 2.28.6
-- found sigc++-2.0, version 2.2.4.2
-- found nux-core-1.0, version 1.0.2
-- found gdk-pixbuf-2.0, version 2.23.3
-- Configuring incomplete, errors occurred!
Follow ups
References