Results 1 to 3 of 3

Thread: Cannot compile dwm window manager

  1. #1
    Join Date
    May 2007
    Location
    Crete, Greece
    Beans
    582

    Question Cannot compile dwm window manager

    Hello all,

    I just downloaded the latest (5.9) version of the dwm window manager. When I am trying to compile it, though, I get the following:
    Code:
    jorge@Office-Desktop:~/Software/dwm-5.9$ sudo make clean install 
    cleaning
    dwm build options:
    CFLAGS   = -std=c99 -pedantic -Wall -Os -I. -I/usr/include -I/usr/X11R6/include -DVERSION="5.9" -DXINERAMA
    LDFLAGS  = -s -L/usr/lib -lc -L/usr/X11R6/lib -lX11 -L/usr/X11R6/lib -lXinerama
    CC       = cc
    CC dwm.c
    dwm.c:40:37: fatal error: X11/extensions/Xinerama.h: No such file or directory
    compilation terminated.
    make: *** [dwm.o] Error 1
    Does anybody have any idea why this happens? Any clue about what I should do?

    Many thanks in advance..

  2. #2
    Join Date
    May 2007
    Location
    Crete, Greece
    Beans
    582

    Re: Cannot compile dwm window manager

    Ah, I only had to comment out all the lines in config.mk
    which were related to xinerama.. Now it works..

  3. #3
    Join Date
    Jul 2008
    Location
    USA
    Beans
    11
    Distro
    Ubuntu 8.04 Hardy Heron

    Smile Re: Cannot compile dwm window manager

    Quote Originally Posted by geo909 View Post
    Ah, I only had to comment out all the lines in config.mk
    which were related to xinerama.. Now it works..
    Thanks this worked for me.

    But, I think a better way is to just install libx11-dev and libxinerama-dev.

    Code:
    sudo apt-get install libx11-dev libxinerama-dev

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •