[SOLVED] building Cinnamon (sid)

Archived topics about LMDE 1 and LMDE 2
Locked
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

Dan,
let's see:
open a second terminal and sudo apt-get install (now copy&paste all the missing deps in that output)
Unmet build dependencies: libgjs-dev (>= 1.29.18) gsettings-desktop-schemas-dev (>= 0.1.7) libcaribou-dev libcroco3-dev (>= 0.6.2) libdbus-glib-1-dev libgnome-bluetooth-dev (>= 3.1.0) libgnome-desktop-3-dev (>= 2.90.0) libgnome-keyring-dev libgnome-menu-3-dev libgstreamer0.10-dev (>= 0.10.16) libgudev-1.0-dev libnm-glib-dev (>= 0.8.999) librsvg2-dev libxss-dev libpulse-dev libecal1.2-dev (>= 2.32) libedataserver1.2-dev (>= 3.0.0) libedataserverui-3.0-dev (>= 3.0.0) libfolks-dev (>= 0.5.2) libtelepathy-glib-dev (>= 0.15.5) libtelepathy-logger-dev (>= 0.2.4) libpolkit-agent-1-dev (>= 0.100)
mockturtl

Re: building Cinnamon (sid)

Post by mockturtl »

zerozero wrote:mockturtl, maybe this
Oh, crap -- I didn't notice the timestamps the first time. That was just yesterday! The v9 libmozjs that I see a compile warning for just came in... that explains everything, I think.
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

mockturtl wrote:Oh, crap -- I didn't notice the timestamps the first time.
yeahh the topic is moving too fast :lol: yesterday was like 2 pages ago :shock:
dcihon

Re: building Cinnamon (sid)

Post by dcihon »

@ZeroZero
I did some removing and installing of some of the packages and was left with these to try to install.

dcihon@dcihon-linux-mint-debian:~/Cinnamon$ sudo apt-get install libcroco3-dev libdbus-glib-1-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 librsvg2-dev libxss-dev libpulse-dev libecal1.2-dev libedataserver1.2-dev libedataserverui-3.0-dev libfolks-dev libtelepathy-glib-dev libtelepathy-logger-dev libpolkit-agent-1-dev

Here is the result:
The following packages have unmet dependencies:
libcroco3-dev : Depends: libxml2-dev (>= 2.4.23) but it is not going to be installed
libedataserver1.2-dev : Depends: libxml2-dev but it is not going to be installed
Depends: libsoup2.4-dev but it is not going to be installed
libedataserverui-3.0-dev : Depends: libebook1.2-dev (= 3.2.2-1) but it is not going to be installed
libgnome-keyring-dev : Depends: libgnome-keyring0 (= 3.2.2-1) but 3.2.2-2 is to be installed
libgstreamer0.10-dev : Depends: libxml2-dev but it is not going to be installed
libnm-glib-dev : Depends: libnm-glib4 (= 0.9.2.0-1) but 0.9.2.0-2 is to be installed
Depends: gir1.2-networkmanager-1.0 (= 0.9.2.0-1) but 0.9.2.0-2 is to be installed
Depends: libnm-util-dev but it is not going to be installed
libpulse-dev : Depends: libpulse0 (= 1.0-4) but 1.1-2 is to be installed
Depends: libpulse-mainloop-glib0 (= 1.0-4) but 1.1-2 is to be installed
E: Broken packages

That libxml2-dev relies on libxml2 which I can't remove because it would remove too many needed packages.
Should I just wait or try something else?
Thanks for helping.
whirly

Re: building Cinnamon (sid)

Post by whirly »

@zerozero
those dependencies are for wheezy mostly aren't they?
whirly

Re: building Cinnamon (sid)

Post by whirly »

I've been trying too
some fun
no joy
from what i gather i need to compile from the tar
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

Dan, i can apt-get all those pkgs in testing (where i did the compiling) mockturtl and stz*j did it in sid, so you might refer to their posts as a guide, but i would start checking your etc/apt/preferences and make sure you have all the deb-src repos enabled; after that i believe it's a seek&hunt for the missing dep :shock:

@whirly, it depends: in my posts yes, in mockturtl's and stz*j's are for sid.
dcihon

Re: building Cinnamon (sid)

Post by dcihon »

Here is my 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

Here is my source list:
deb http://packages.linuxmint.com/ debian main import backport romeo upstream
deb-src http://packages.linuxmint.com/ debian main import backport romeo upstream #Added by software-properties
deb http://ftp.debian.org/debian testing main contrib non-free
deb-src http://ftp.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
deb http://tridex.net/repo/debian/ wheezy main

I thought I had it all set correctly for Cinnamon.
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

yes you do, and you are using testing repos :shock: i don't get it, you have discrepancies with some v. that i can't explain

Code: Select all

amadeu@amadeu:~$ apt-cache policy libgnome-keyring0
libgnome-keyring0:
  Installed: 3.2.2-1
  Candidate: 3.2.2-1
  Version table:
 *** 3.2.2-1 0
        700 http://ftp.debian.org/debian/ testing/main amd64 Packages
        100 /var/lib/dpkg/status
amadeu@amadeu:~$ apt-cache policy libnm-glib4
libnm-glib4:
  Installed: 0.9.2.0-1
  Candidate: 0.9.2.0-1
  Version table:
 *** 0.9.2.0-1 0
        700 http://ftp.debian.org/debian/ testing/main amd64 Packages
        100 /var/lib/dpkg/status
amadeu@amadeu:~$ 
where are your v. number come from?
User avatar
kmb42vt
Level 5
Level 5
Posts: 974
Joined: Sun Dec 06, 2009 11:15 am
Location: Vermont
Contact:

Re: building Cinnamon (sid)

Post by kmb42vt »

dcihon wrote:First problem:

dcihon@dcihon-linux-mint-debian:~/muffin$ sudo autogen.sh
[sudo] password for dcihon:
sudo: autogen.sh: command not found
That should be:

Code: Select all

sudo ./autogen.sh
I believe.
"Humph. Choice, it is the quintessential Linux delusion, simultaneously the source of it's greatest strength, and it's greatest weakness." (All apologies to The Architect)
dcihon

Re: building Cinnamon (sid)

Post by dcihon »

Here are mine for the same packages:

Code: Select all

dcihon@dcihon-linux-mint-debian:~/Cinnamon$ apt-cache policy libgnome-keyring0
libgnome-keyring0:
  Installed: 3.2.2-2
  Candidate: 3.2.2-2
  Version table:
 *** 3.2.2-2 0
        100 /var/lib/dpkg/status
     3.2.2-1 0
        700 http://ftp.debian.org/debian/ testing/main amd64 Packages
dcihon@dcihon-linux-mint-debian:~/Cinnamon$ apt-cache policy libnm-glib4
libnm-glib4:
  Installed: 0.9.2.0-2
  Candidate: 0.9.2.0-2
  Version table:
 *** 0.9.2.0-2 0
        100 /var/lib/dpkg/status
     0.9.2.0-1 0
        700 http://ftp.debian.org/debian/ testing/main amd64 Packages
whirly

Re: building Cinnamon (sid)

Post by whirly »

got the tar
made it behave like other people
more fun
still no joy
mockturtl

Re: building Cinnamon (sid)

Post by mockturtl »

I got my wheezy box upgraded to sid, and Cinnamon running (before, it would only SFOD). I did make sure to explicitly

Code: Select all

$ sudo aptitude remove libmozjs9d libmozjs-dev xulrunner-9.0 xulrunner-dev
$ sudo aptitude install libmozjs185-dev
Building the debs was totally straightforward.

Going back now to see whether Cinnamon breaks when compiled with the v9 packages present.

edit: Nope, doesn't break. According to my logs, libmozjs185 was used (and I couldn't remove it without breaking gnome-shell, etc.). Not quite sure what my problem was.

If all the necessary dependencies are installed, running these scripts should be all it takes -- note they'll output nice logfiles:

do-muffin.sh

Code: Select all

#!/bin/sh
# use 'tail -f' to view the log in a separate terminal
sudo apt build > ../build-muffin.log 2>&1
install-muffin.sh

Code: Select all

#!/bin/sh
sudo dpkg -i *.deb
do-cinnamon.sh

Code: Select all

#!/bin/sh
# use 'tail -f' to view the logs in a separate terminal
sudo ./autogen.sh > ../autogen-cinnamon.log 2>&1 && \
sudo make > ../make-cinnamon.log 2>&1 && \
sudo make install > ../install-cinnamon.log 2>&1 && \
sudo apt build > ../build-cinnamon.log 2>&1
mockturtl

Re: building Cinnamon (sid)

Post by mockturtl »

More secret sauce...

System monitor
Image

Code: Select all

$ git clone git://github.com/merlwiz79/cinnamon-extensions-system-monitor.git
Extended places menu
Image

Code: Select all

$ git clone git://github.com/merlwiz79/cinnamon-extensions-extended-places-menu.git
Instructions are in the README.
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

last night was funny :mrgreen:
i saw the news and thought let's give it a try :twisted:
better start by saying that i should be quiet after this
but,
- log in gnome-shell
- sudo apt-get remove cinnamon
- sudo apt-get remove libmozjs9d libmozjs-dev xulrunner-9.0 xulrunner-dev according to this ok i'm on testing but it shouldn't explode :lol:
- install from sid libmozjs185-dev and libmozjs185-1.0
- compile the 20110130 cinnamon
- segfault :lol: :mrgreen:
- remove the "new" cinnamon
- reinstall the old one and it's up and running

very productive night :twisted:
your, mockturtl was a lot better used, that looks very g00d

edit:
after going though my logs again i found out:
1- i compiled 1st time the new cinnamon without applying mockturtl's recipe,
2- it gave me a segfault,
3- tried to reinstall the "old" cinnamon > segfault :lol:
4- applying the recipy, the 20110130 segfaults, but the "old" one works,
5- i guess i'm missing something here (and should be obvious, but i couldn't see it last night)
mockturtl

Re: building Cinnamon (sid)

Post by mockturtl »

That's very kind of you to blow yourself up on my account :lol:
zerozero wrote:- sudo apt-get remove libmozjs9d libmozjs-dev xulrunner-9.0 xulrunner-dev according to this ok i'm on testing but it shouldn't explode :lol:
- install from sid libmozjs185-dev and libmozjs185-1.0
I think I found out I couldn't get rid of them without losing libgjs-dev (here). It's getting hard to remember. :lol:

From PTS -- #653051 "It seems that Gnome Shell 3.2 in Testing is waiting for this bug" :shock:

I still can't imagine how you got it working in the first place. Come to the dark side. It's nice here. :P

If you have build logs, maybe grep them for 'mozjs', or 'warn'?
zerozero

Re: building Cinnamon (sid)

Post by zerozero »

it's this you are talking about

Code: Select all

amadeu@amadeu:~$ apt-cache policy libgjs-dev
libgjs-dev:
  Installed: (none)
  Candidate: 1.30.0-2
  Version table:
     1.30.0-2 0
        700 http://ftp.debian.org/debian/ testing/main amd64 Packages
amadeu@amadeu:~$ sudo apt-get install libgjs-dev
[sudo] password for amadeu: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libmozjs-dev libmozjs9d xulrunner-9.0 xulrunner-dev
The following NEW packages will be installed:
  libgjs-dev libmozjs-dev libmozjs9d xulrunner-9.0 xulrunner-dev
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/19.8 MB of archives.
After this operation, 60.9 MB of additional disk space will be used.
Do you want to continue [Y/n]? 
if i say Y i blow cinnamon again, no? :lol:
mockturtl

Re: building Cinnamon (sid)

Post by mockturtl »

zerozero wrote:it's this you are talking about

Code: Select all

amadeu@amadeu:~$ apt-cache policy libgjs-dev
libgjs-dev:
  Installed: (none)
  Candidate: 1.30.0-2
  Version table:
     1.30.0-2 0
        700 http://ftp.debian.org/debian/ testing/main amd64 Packages
amadeu@amadeu:~$ sudo apt-get install libgjs-dev
[sudo] password for amadeu: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libmozjs-dev libmozjs9d xulrunner-9.0 xulrunner-dev
The following NEW packages will be installed:
  libgjs-dev libmozjs-dev libmozjs9d xulrunner-9.0 xulrunner-dev
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/19.8 MB of archives.
After this operation, 60.9 MB of additional disk space will be used.
Do you want to continue [Y/n]? 
if i say Y i blow cinnamon again, no? :lol:
Hm. It looks like maybe you can get away with just libgjs0b, instead, and avoid the others?
whirly

Re: building Cinnamon (sid)

Post by whirly »

you two @zerozero and @mockturtl are raising more questions as you answer others
those scripts look interesting...if i paste into terminal it (she or he?) doesn't seem to know where to look
so apparently nothing happens
but i've pasted other stuff in to terminal and am sure if i tell it do it does---what did it do?
after the previous compile experiments i have a muffin folder--i expect i'll need to remove it before trying again
but with these scripts.. does it assume my machine has a tray of muffins? or still only flour eggs butter sugar milk?
i also found a new clutter folder which i think is a result of this experimenting
lastly... the final compile experiment after i managed configure and autogen .sh told me i'll have a gstreamer dependency issue
Nobody has mentioned this issue yet so i can only assume it's my frankenstall
to summarize
1-- terminal is a he or she?
2--how do those scripts actually work?
3--Did terminal do something if i pasted it in? even if it looked like fail
4--will autoremove remove these newly compiled folders IFF they belong to the cinnamon compile experiment? is there a better way?
5-- If i've commanded my terminal to do something incorrectly with these scripts do i need to rescind the command? how
everything seems normal
one more thing-- i have cinnamon on my lisa, and i don't see your windows wobbling
whirly

Re: building Cinnamon (sid)

Post by whirly »

oops
i need xuls for firefox and tor
i can't remove them
Locked

Return to “LMDE Archive”