The i3 FAQ has migrated to https://www.reddit.com/r/i3wm/. All content here is read-only.
Ask Your Question
1

build error on ubuntu 12.04

asked 2014-02-27 06:19:50 +0000

haobug gravatar image

i found the i3wm in Ubuntu 12.04 repo is old, tried to build it my self but failed.

me@myhost i3-4.7.2$ make
[i3] CC src/assignments.c
In file included from include/xcb.h:14,
                 from include/all.h:51,
                 from ../i3-4.7.2/src/assignments.c:12:
include/xcursor.h:13: fatal error: xcb/xcb_cursor.h: No such file or directory
compilation terminated.
make: *** [src/assignments.o] Error 1

i have installed libx11-xcb-dev. i even tried this

sudo apt-get install -y `sudo apt-cache search  xcb |grep xcb |awk '{print $1}' `"

that is installed all the packages contains xcb in its name.

  • i3 version: i3-4.7.2 ubuntu: 12.04.1
  • kernel: Linux myhost 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x8664 x8664 x86_64 GNU/Linux
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-02-27 09:08:01 +0000

cee gravatar image

Have you seen the thread about installing from sources?
Most probably you are missing a dependency. Perhaps libxcursor-dev?

edit flag offensive delete link more

Comments

yes, i have. 'libxcursor-dev' was installed.

haobug gravatar imagehaobug ( 2014-02-27 09:49:01 +0000 )edit

Question Tools

Stats

Asked: 2014-02-27 06:19:50 +0000

Seen: 656 times

Last updated: Feb 27 '14