Compile error on archlinux

45 views
Skip to first unread message

Thorsten Grothe

unread,
Oct 8, 2017, 2:10:26 PM10/8/17
to mu-discuss
When I try to compile mu4e on arch I got this error

/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libwebkitgtk-3.0.so: undefined reference to `cairo_gl_surface_get_width'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libwebkitgtk-3.0.so: undefined reference to `
cairo_egl_device_create'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libwebkitgtk-3.0.so: undefined reference to `cairo_glx_device_create'

/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libwebkitgtk-3.0.so: undefined reference to `cairo_gl_surface_get_height'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libwebkitgtk-3.0.so: undefined reference to `
cairo_gl_device_set_thread_aware'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libwebkitgtk-3.0.so: undefined reference to `cairo_gl_surface_create_for_texture'

collect2
: error: ld returned 1 exit status
make
[5]: *** [Makefile:527: mug] Fehler 1
make
[5]: Verzeichnis „/home/manjothor/.emacs.d/elisp/mu/toys/mug wird verlassen
make
[4]: *** [Makefile:602: all-recursive] Fehler 1
make
[4]: Verzeichnis „/home/manjothor/.emacs.d/elisp/mu/toys/mug wird verlassen
make
[3]: *** [Makefile:467: all] Fehler 2
make
[3]: Verzeichnis „/home/manjothor/.emacs.d/elisp/mu/toys/mug wird verlassen
make
[2]: *** [Makefile:388: all-recursive] Fehler 1
make
[2]: Verzeichnis „/home/manjothor/.emacs.d/elisp/mu/toys wird verlassen
make
[1]: *** [Makefile:507: all-recursive] Fehler 1
make
[1]: Verzeichnis „/home/manjothor/.emacs.d/elisp/mu wird verlassen
make
: *** [Makefile:417: all] Fehler 2
Code hier eingeben...


webkitgtk, webkit2gtk and webkitgtk2 are installed, what's wrong?

Regards
Thorsten

Mekeor Melire

unread,
Oct 8, 2017, 9:48:17 PM10/8/17
to mu-di...@googlegroups.com

Thorsten Grothe <bucketh...@gmail.com> writes:

> When I try to compile mu4e on arch I got this error

Could you be more precise which command you are running and which source
code you are using? Are you using a released tarball? Or are you
compiling from the git repository? Which command?
It would also be nice to prepend “LANG='en_US.utf-8'” to the command you
are running so that the error messages are in English instead of German.
;)


> webkitgtk, webkit2gtk and webkitgtk2 are installed, what's wrong?

I think webkit and gtk are only needed for MUG, the toy-GUI for mu. Do
you really need MUG? If not, you could try to not build MUG.

If you want MUG, I'd guess that you're missing some cairo libraries?

--
mekeor ~ EDD3 DFFA 76F6 11C0 145F 9A99 AC85 BAD8 A2F8 C868

Thorsten Grothe

unread,
Oct 10, 2017, 2:11:20 PM10/10/17
to mu-di...@googlegroups.com

* Mekeor Melire: 09.10.2017 (01:48):

> Could you be more precise which command you are running and which source
> code you are using? Are you using a released tarball? Or are you
> compiling from the git repository? Which command?
>

[...]

> It would also be nice to prepend “LANG='en_US.utf-8'” to the command you
> are running so that the error messages are in English instead of German.
> ;)
> If you want MUG, I'd guess that you're missing some cairo libraries?

sorry for the german language, I forgot that, you were right, it has
something to do with cairo and webkit. The newest update to cairo 1.15
breaks webkit on arch/manjaro. The solution is to downgrade cairo to
1.14, see here:

https://aur.archlinux.org/packages/gnome-web-photo/

I did that and got no more errors, problem solved :-)

Regards

Thorsten Grothe



Reply all
Reply to author
Forward
0 new messages