[cairo] libcairo2-dev

Anwar Moukaddem anwar.moukaddem at gmail.com
Wed Apr 8 17:21:34 UTC 2020

Hello Bryce & List,

I compiled steps to reproduce:

GTK3+ recommends the following packages :


We're only building/installing those, with their dependencies, on a
fresh Ubuntu.   Nothing else.   So I'm sure other people are touched
by this inconvenience, so your help is needed.

Here are the steps :

- installing fresh ubuntu ubuntu-18.04.4-desktop-amd64.iso

- installing video card

- package : python3.8-minimal

- sudo ln -s /usr/bin/python3.8 /usr/bin/python

- package: python-pip

- sudo rm /usr/bin/python

- sudo ln -s /usr/bin/python3.8 /usr/bin/python

- package python3-pip

- Install meson (meson-0.54.0 ) 

- sudo ln -s /opt/install/meson-0.54.0/meson.py /usr/bin/meson

- package ninja-build

- package git

- package pkg-config

- python -m pip install python-config

- package python-setuptools

- python -m pip install setuptools

- package libmount-dev

- extracting glib (glib-2.60.7) source code then running

sudo meson _build
sudo ninja -C _build
sudo ninja -C _build install

- package gtk-doc-tools, fontconfig, autoconf, dh-autoreconf, flex,
bison, autoconf-archive

- installing object is done by extracting
gobject-introspection-1.60.2.tar.x and then running :
*	meson _build			   *
*	ninja -C _build			   *
*	sudo ninja -C _build install	   *


- Now try install libcairo2-dev then reboot, the display doesn't work.

You are still able to SSH into the machine, so I can definitely help
you here.


-----Original Message-----
From: Anwar Moukaddem [mailto:anwar.moukaddem at gmail.com] 
Sent: Wednesday, April 8, 2020 12:15 PM
To: 'Bryce Harrington' <bryce at bryceharrington.org>
Cc: 'cairo at cairographics.org' <cairo at cairographics.org>
Subject: RE: [cairo] libcairo2-dev

Hello Bryce,

I have repeated the installation of Ubuntu 18.04 more than 5 times and
every time this happens right after I add libcairo2-dev.
I've worked on linux installs all my career and believe me this
happens after libcairo2 is installed.

I can give you the exact steps and you're able to reproduce if you
want.   Are you a developer yourself?


-----Original Message-----
From: Bryce Harrington [mailto:bryce at bryceharrington.org] 
Sent: Wednesday, April 8, 2020 12:12 PM
To: Anwar Moukaddem <anwar.moukaddem at gmail.com
<mailto:anwar.moukaddem at gmail.com> >
Cc: cairo at cairographics.org <mailto:cairo at cairographics.org> 
Subject: Re: [cairo] libcairo2-dev

On Wed, Apr 08, 2020 at 12:03:00PM -0400, Anwar Moukaddem wrote:
> Hello,
> I'm now subscribed !  Welcome me.  Here is my original email :
> Once I install libcairo2-dev on Ubuntu, the whole graphics is broken
> and I can only get to the system through SSH.
> What could be wrong ?  Anyone can help ?
> Anwar

Have you gone through https://wiki.ubuntu.com/X/Troubleshooting ?

Beyond that I'd recommend starting from the regular Ubuntu support
channels.  Not knowing details in your case, best guess is it's not
Cairo but rather some other misconfiguration in your system.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20200408/2b27b854/attachment.htm>

More information about the cairo mailing list