Re: [dev] [2wm] Error during install

From: Julien Steinhauser <Julien.Steinhauser_AT_orange.fr>
Date: Thu, 3 Dec 2009 18:01:42 +0100

On Thu, Dec 03, 2009 at 05:25:45PM +0100, Frederik Caulier wrote:
>
> Hello dev@
>
> I want to try out 2wm but it doesn build, Xlib header files are installed.
>
> Here is what I get:
>
> ~$ hg clone http://hg.suckless.org/2wm && cd ./2wm && sudo make clean install
> destination directory: 2wm
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> added 16 changesets with 64 changes to 17 files
> updating working directory
> 14 files updated, 0 files merged, 0 files removed, 0 files unresolved
> cleaning
> 2wm build options:
> CFLAGS = -Os -I. -I/usr/include -I/usr/X11R6/include -DVERSION="0.2"
> LDFLAGS = -L/usr/lib -lc -L/usr/X11R6/lib -lX11
> CC = cc
> CC client.c
> CC event.c
> event.c:18: error: ‘tag’ undeclared here (not in a function)
> event.c:18: error: ‘toggletag’ undeclared here (not in a function)
> event.c:18: error: ‘togglemode’ undeclared here (not in a function)
> event.c:18: error: initializer element is not constant
> event.c:18: error: (near initialization for ‘key[31].func’)
> event.c:18: error: initializer element is not constant
> event.c:18: error: (near initialization for ‘key[32].func’)
> event.c:18: error: initializer element is not constant
> event.c:18: error: (near initialization for ‘key[33].func’)
> event.c:18: error: initializer element is not constant
> event.c:18: error: (near initialization for ‘key[34].func’)
> event.c:18: error: initializer element is not constant
> event.c:18: error: (near initialization for ‘key[35].func’)
> event.c:18: error: initializer element is not constant
> event.c:18: error: (near initialization for ‘key[36].func’)
> event.c:18: error: initializer element is not constant
> event.c:18: error: (near initialization for ‘key[37].func’)
> event.c:18: error: initializer element is not constant
> event.c:18: error: (near initialization for ‘key[38].func’)
> event.c:18: error: initializer element is not constant
> event.c:18: error: (near initialization for ‘key[39].func’)
> event.c:18: error: initializer element is not constant
> event.c:18: error: (near initialization for ‘key[40].func’)
> make: *** [event.o] Error 1
>
> How can I fix this?
>

Hello,
I'm sorry being unhelpful but
it is surely not 2wm fault, it builds here like the following :

x_AT_eol:~/sources/2wm-a4cf6d6679d1$ make clean install
cleaning
2wm build options:
CFLAGS = -Os -I. -I/usr/include -I/usr/X11R6/include -DVERSION="0.2"
LDFLAGS = -L/usr/lib -lc -L/usr/X11R6/lib -lX11
CC = cc
CC client.c
CC event.c
CC main.c
CC util.c
CC view.c
CC -o 2wm
installing executable file to /home/x/bin
installing manual page to /home/x/share/man/man1
 
Received on Thu Dec 03 2009 - 17:01:42 UTC

This archive was generated by hypermail 2.2.0 : Thu Dec 03 2009 - 17:12:02 UTC