[SOLVED] building Cinnamon (sid)

Archived topics about LMDE 1 and LMDE 2
Locked
dcihon

Re: building Cinnamon (sid)

Post by dcihon »

Looks like everything was fine except for libmuffin-dev

Code: Select all

danc@danc-linux-mint:~/Downloads/cinnamuffin-1.3.1-amd64-wheezy$ sudo dpkg -i *deb
[sudo] password for danc: 
(Reading database ... 303412 files and directories currently installed.)
Preparing to replace cinnamon 1.2.0 (using cinnamon_1.3.1_amd64.deb) ...
Unpacking replacement cinnamon ...
Preparing to replace gir1.2-muffin-3.0 1.0.0 (using gir1.2-muffin-3.0_1.0.1_amd64.deb) ...
Unpacking replacement gir1.2-muffin-3.0 ...
Preparing to replace libmuffin0 1.0.0 (using libmuffin0_1.0.1_amd64.deb) ...
Unpacking replacement libmuffin0 ...
Selecting previously unselected package libmuffin-dev.
Unpacking libmuffin-dev (from libmuffin-dev_1.0.1_amd64.deb) ...
Preparing to replace muffin 1.0.0 (using muffin_1.0.1_amd64.deb) ...
Unpacking replacement muffin ...
Preparing to replace muffin-common 1.0.0 (using muffin-common_1.0.1_all.deb) ...
Unpacking replacement muffin-common ...
dpkg: dependency problems prevent configuration of libmuffin-dev:
 libmuffin-dev depends on libclutter-1.0-dev (>= 1.0.0); however:
  Package libclutter-1.0-dev is not installed.
 libmuffin-dev depends on libgtk-3-dev (>= 3.0.0); however:
  Package libgtk-3-dev is not installed.
dpkg: error processing libmuffin-dev (--install):
 dependency problems - leaving unconfigured
Setting up muffin-common (1.0.1) ...
Processing triggers for man-db ...
Processing triggers for gconf2 ...
Setting up libmuffin0 (1.0.1) ...
Setting up muffin (1.0.1) ...
Setting up gir1.2-muffin-3.0 (1.0.1) ...
Setting up cinnamon (1.3.1) ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for libglib2.0-0 ...
Errors were encountered while processing:
 libmuffin-dev
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

Dan,

Code: Select all

apt install libclutter-1.0-dev libgtk-3-dev
shouts what back to you :lol:
dcihon

Re: building Cinnamon (sid)

Post by dcihon »

Code: Select all

root@danc-linux-mint:~# apt install libclutter-1.0-dev libgtk-3-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libclutter-1.0-dev : Depends: libgdk-pixbuf2.0-dev but it is not going to be installed
                      Depends: libcairo2-dev (>= 1.10) but it is not going to be installed
                      Depends: libatk1.0-dev (>= 1.7) but it is not going to be installed
                      Depends: libpango1.0-dev (>= 1.20) but it is not going to be installed
                      Depends: libcogl-dev (>= 1.8.0) but it is not going to be installed
                      Depends: libcogl-pango-dev (>= 1.8.0) but it is not going to be installed
                      Depends: libdrm-dev but it is not going to be installed
                      Depends: libxfixes-dev but it is not going to be installed
                      Depends: libxdamage-dev but it is not going to be installed
                      Depends: libxcomposite-dev but it is not going to be installed
                      Depends: libxi-dev but it is not going to be installed
                      Depends: libjson-glib-dev (>= 0.12) but it is not going to be installed
 libgtk-3-dev : Depends: libgdk-pixbuf2.0-dev (>= 2.22.1) but it is not going to be installed
                Depends: libpango1.0-dev (>= 1.24) but it is not going to be installed
                Depends: libatk1.0-dev (>= 1.32.0) but it is not going to be installed
                Depends: libcairo2-dev (>= 1.9.10) but it is not going to be installed
                Depends: libxinerama-dev (>= 1:1.0.1-4.1) but it is not going to be installed
                Depends: libxi-dev (>= 1:1.0.1-4) but it is not going to be installed
                Depends: libxrandr-dev (>= 1:1.2.99) but it is not going to be installed
                Depends: libxcursor-dev but it is not going to be installed
                Depends: libxfixes-dev (>= 1:3.0.0-3) but it is not going to be installed
                Depends: libxcomposite-dev (>= 1:0.2.0-3) but it is not going to be installed
                Depends: libxdamage-dev (>= 1:1.0.1-3) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

1- your pin priority is all set to 700?

Code: Select all

amadeu@amadeu:~$ cat /etc/apt/preferences
Package: *
Pin: release o=linuxmint
Pin-Priority: 700

Package: *
Pin: origin packages.linuxmint.com
Pin-Priority: 700

Package: *
Pin: release o=Debian
Pin-Priority: 700
2- try

Code: Select all

apt install libcairo2-dev
dcihon

Re: building Cinnamon (sid)

Post by dcihon »

debian was at 500.
Changed it. Didn't make a difference.

Code: Select all

root@danc-linux-mint:~# apt install libcairo2-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libcairo2-dev : Depends: libcairo-script-interpreter2 (= 1.10.2-6.2) but it is not going to be installed
                 Depends: libfontconfig1-dev (>= 2.2.95) but it is not going to be installed
                 Depends: libfreetype6-dev (>= 2.1.10) but it is not going to be installed
                 Depends: libxrender-dev (>= 0.6) but it is not going to be installed
                 Depends: libpng12-dev but it is not going to be installed
                 Depends: libsm-dev but it is not going to be installed
                 Depends: libpixman-1-dev (>= 0.18.4) but it is not going to be installed
                 Depends: libxcb-render0-dev (>= 0.9.92) but it is not going to be installed
                 Depends: libxcb-shm0-dev but it is not going to be installed
 libmuffin-dev : Depends: libclutter-1.0-dev (>= 1.0.0) but it is not going to be installed
                 Depends: libgtk-3-dev (>= 3.0.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

ok, open synaptic, search for libcairo2-dev, highlight it, in the menu > package > force version and choose the testing v. from the dropdown menu > install that one and go back to the terminal to

Code: Select all

apt install libclutter-1.0-dev libgtk-3-dev
Image
marathon

Re: building Cinnamon (sid)

Post by marathon »

zerozero wrote:sorry about the forum, it has its days and today is not one of those :evil:


as for the problem, here is my history.log http://pastebin.com/1uRngbgs
bare in mind that this was a vanilla install, so a lot of basic pkgs were missing;
it starts with me removing cinnamon and libmuffin-dev from mock's build because they were broken and ends installing the gtop libs for the cpu monitor and net speed applets.
tl:dr libecal1.2-dev should satisfy the deps
Nope 8)

thinkpad stephen # aptitude search libecal
i A libecal-1.2-10 - Client library for evolution calendars
i libecal1.2-7 - Client library for evolution calendars
i libecal1.2-8 - Client library for evolution calendars
p libecal1.2-dev - Client library for evolution calendars (development

thinkpad stephen # aptitude install libecal1.2-dev
The following NEW packages will be installed:
gir1.2-ecalendar-1.2{a} gir1.2-edataserver-1.2{a} libdbus-1-dev{a} libecal1.2-dev
libedataserver1.2-dev{a} libgconf2-dev{a} libical-dev{a} libidl-dev{a} liborbit2-dev{a}
libsoup2.4-dev{a} libxml2-dev{a} orbit2{a}
0 packages upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,296 kB of archives. After unpacking 14.3 MB will be used.
Do you want to continue? [Y/n/?] y
########################

And afterwards Cinnamon 1.3.1 failed to install. I should note that I have 1.3.0 installed, so I can't see an incremental increase in version numbers creating so much havoc. <shrug>
marathon

Re: building Cinnamon (sid)

Post by marathon »

Damn just hit myself with a clue stick -- that libcal-dev binary is for Wheezy! I should have used testing as it's a newer version. I'll be back to report failure or success. :roll:
marathon

Re: building Cinnamon (sid)

Post by marathon »

Nah no dice: Still can't fathom a .01 incremental release causing so much difference. Should probably be a .1 release!

It's even worse with apt-get as opposed to aptitude from terminal here's what it spews out;


The following packages have unmet dependencies:
cinnamon : Depends: libecal1.2-10 (>= 3.2.2) but it is not installable
Depends: libedataserver1.2-15 (>= 3.2.2) but it is not installable
Depends: libgjs0c (>= 1.29.18) but it is not installable
Depends: libpulse-mainloop-glib0 (>= 1:0.99.1) but 1.0-4 is installed
Depends: libpulse0 (>= 1:0.99.1) but 1.0-4 is installed

This is if I *enable* Sid repository. So it doesn't seem to matter whether one is using Wheezy or Sid. :o
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

marathon,
with this, you should be good to go (but anyway first force the libcairo2-dev from testing :wink: )

Code: Select all

amadeu@amadeu:~$ cat /etc/apt/preferences
Package: *
Pin: release o=linuxmint
Pin-Priority: 700

Package: *
Pin: origin packages.linuxmint.com
Pin-Priority: 700

Package: *
Pin: release o=Debian
Pin-Priority: 700

amadeu@amadeu:~$ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://packages.linuxmint.com/ debian main upstream import backport romeo
           deb-src http://packages.linuxmint.com/ debian main upstream import backport romeo
           deb http://ftp.debian.org/debian testing main contrib non-free
           deb-src http://ftp.de.debian.org/debian testing main contrib non-free
           deb http://security.debian.org/ testing/updates main contrib non-free
           deb-src http://security.debian.org/ testing/updates main contrib non-free
           deb http://www.debian-multimedia.org testing main non-free
           deb-src http://www.debian-multimedia.org testing main non-free
amadeu@amadeu:~$ 
marathon

Re: building Cinnamon (sid)

Post by marathon »

Yeah I'm not using any Mint repositories just Debian. Sticking to a vanilla Debian install -- just wanted the .01 release.
mockturtl

Re: building Cinnamon (sid)

Post by mockturtl »

marathon wrote:Well I'm sorry to refute you but they aren't, and I'm a very experienced Linux user. An unsatisfied dependency when attempting to install Cinnamon 1.3.1 on vanilla Debian Wheezy is libecal1.2-10 (>= 3.2.2) which isn't available in any official Debian repository as of last night. :)
http://packages.debian.org/search?keywords=libecal
http://packages.ubuntu.com/search?keywords=libecal
marathon wrote:The following packages have unmet dependencies:
cinnamon : Depends: libecal1.2-10 (>= 3.2.2) but it is not installable
Notice the absence of a hyphen -- that's an ubuntu package.

My debs will not have any ubuntu dependencies.
dcihon

Re: building Cinnamon (sid)

Post by dcihon »

@zero
I had to add the testing repo to get the testing version in the dropdown.
It says it is version 1.10.2-6.2 (testing). Is that correct?

When I click on it to install I get this message:

libcairo2-dev:
Depends: libpng12-dev but it is not going to be installed

Just so you know everything I did.
I did an apt-get upgrade -f install and forced it to install a bunch of packages.
I went to install the .deb packages and they said they were already installed. Including the 1.3.1 cinnamon.

I think I am good but I am not sure.
How do I know 1.3.1 is installed?
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

sudo dpkg -i *deb #first try, to discover that i didn't have the src enabled :)
gksu gedit /etc/apt/sources.list #this ^
apt install caribou libclutter-1.0-dev libgtk-3-dev #fails because of libcairo2-dev
apt install libcairo2-dev #done!!
apt install caribou libclutter-1.0-dev libgtk-3-dev #now yes
git clone git://github.com/linuxmint/Cinnamon #let's begin
cd Cinnamon
sudo ./autogen.sh #fails
sudo ./autogen.sh #again
sudo ./autogen.sh #hey, what's up? something is wrong here :shock:
apt install gnome-common #this?
apt install autoconf2.13 #or this?
apt install cdbs gnome-pkg-tools libgjs-dev gobject-introspection gsettings-desktop-schemas-dev libcaribou-dev libcroco3-dev libdbus-glib-1-dev libgconf2-dev libgirepository1.0-dev libgnome-bluetooth-dev libgnome-desktop-3-dev libgnome-keyring-dev libgnome-menu-3-dev libgstreamer0.10-dev libgudev-1.0-dev libnm-glib-dev libstartup-notification0-dev librsvg2-dev libwnck-dev libxss-dev libpulse-dev libcanberra-dev libecal1.2-dev libedataserver1.2-dev libedataserverui-3.0-dev libfolks-dev libtelepathy-glib-dev libtelepathy-logger-dev libpolkit-agent-1-dev #nahh! is this!! mockturtl was right 8)
cd Cinnamon #ok, is it now?
sudo ./autogen.sh # holly libcairo2-dev not you again?!
cd #let's start afresh
git clone git://github.com/linuxmint/Cinnamon #yeahh
cd Cinnamon
sudo ./autogen.sh #this one went ok
apt build #i see the deb :D
make
sudo make install #ohh, it wasn't that hard :mrgreen:
mockturtl

Re: building Cinnamon (sid)

Post by mockturtl »

dcihon wrote:How do I know 1.3.1 is installed?
Type this in a terminal:

Code: Select all

cinnamon --version
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

and it should return something like this

Code: Select all

amadeu@amadeu:~$ cinnamon --version
Cinnamon 1.3.1
amadeu@amadeu:~$ 
cheers mockturtl 8)
dcihon

Re: building Cinnamon (sid)

Post by dcihon »

Thanks everyone:

danc@danc-linux-mint:~$ cinnamon --version
Cinnamon 1.3.1
GeneC

Re: building Cinnamon (sid)

Post by GeneC »

Cinnamon 1.3.1 and Muffin 1.0.1 are now available through normal Mint downloads from the Mint repo.

Code: Select all

Commit Log for Thu Feb 23 10:26:19 2012

Removed the following packages:
python-pyatspi

Installed the following packages:
caribou (0.4.1-2)
cinnamon (1.3.1-lmde1)
gir1.2-muffin-3.0 (1.0.1-lmde1)
libmuffin0 (1.0.1-lmde1)
mint-z-theme (1.1.4)
muffin (1.0.1-lmde1)
muffin-common (1.0.1-lmde1)
python-pyatspi2 (2.0.2+dfsg-1.1)
Last edited by GeneC on Thu Feb 23, 2012 1:06 pm, edited 1 time in total.
dcihon

Re: building Cinnamon (sid)

Post by dcihon »

Cinnamon update just came through the update manager.
No problems to report.
marathon

Re: building Cinnamon (sid)

Post by marathon »

marathon wrote:The following packages have unmet dependencies:
cinnamon : Depends: libecal1.2-10 (>= 3.2.2) but it is not installable
Notice the absence of a hyphen -- that's an ubuntu package.

My debs will not have any ubuntu dependencies.[/quote]
Hi, thanks for the response.

OK. I'm pretty sure it was an official .deb -- Where would I grab yours?
Locked

Return to “LMDE Archive”