2016年7月18日 星期一

[Gentoo][Cinnamon] how to compile cinnamon

  1. Download muffin package and compile it.
    git clone git://github.com/linuxmint/muffin.git
  2. Download Cinnamon package and compile it.
    git clone git://github.com/linuxmint/Cinnamon.git
  3. Download cinnamon-session package and compile it.
    git clone git://github.com/linuxmint/cinnamon-session.git
  4. Download cinnamon-control-center package and compile it.
    git clone git://github.com/linuxmint/cinnamon-control-center.git
  5. Download cinnamon-desktop package and compile it.
    git clone git://github.com/linuxmint/cinnamon-desktop.git
  6. Download cinnamon-menus package and compile it.
    git clone git://github.com/linuxmint/cinnamon-menus.git
  7. Download cinnamon-settings-daemon package and compile it.
    git clone git://github.com/linuxmint/cinnamon-settings-daemon.git
  8. Download cinnamon-screensaver package and compile it.
    git clone git://github.com/linuxmint/cinnamon-screensaver.git
  9. Download cjs package and compile it.
    git clone git://github.com/linuxmint/cjs.git
  10. Download cinnamon-translations package and compile it.
    git clone git://github.com/linuxmint/cinnamon-translations.git


Q:
gcc: error: /usr/lib64/:/usr/local/lib64/:/lib: No such file or directory
A:
./configure --libdir=/usr/local/lib64


Q:
configure: error: Package requirements (gio-2.0 >= 2.35.0
                               gio-unix-2.0 dbus-glib-1 libxml-2.0
                               gtk+-3.0 >= 3.9.12
                               libmuffin >= 3.0.0
                               cjs-internals-1.0 >= 2.3.1
                   libcinnamon-menu-3.0 gstreamer-1.0 gstreamer-base-1.0 x11 gconf-2.0
                               gdk-x11-3.0 libsoup-2.4 gl
                   clutter-x11-1.0 >= 1.10.0
                               libstartup-notification-1.0 >= 0.11
                               gobject-introspection-1.0 >= 0.9.2
                               polkit-agent-1 >= 0.100 xfixes
                               libnm-glib libnm-util gnome-keyring-1 atk-bridge-2.0) were not met:

Requested 'libmuffin >= 3.0.0' but version of libmuffin is 2.8.4

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables CINNAMON_CFLAGS
and CINNAMON_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
A:
$ pkg-config --exists --print-errors libmuffin 3.0.5
Package 3.0.5 was not found in the pkg-config search path.
Perhaps you should add the directory containing `3.0.5.pc'
to the PKG_CONFIG_PATH environment variable
No package '3.0.5' found
$ pkg-config  --print-errors --exists  "libmuffin >= 3.0.5"
Requested 'libmuffin >= 3.0.5' but version of libmuffin is 2.8.4

$ export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig
$ pkg-config  --print-errors --exists  "libmuffin >= 3.0.5"

Reference:

0 意見:

張貼留言