Can't install WindowMaker

Roland Smith rsmith at
Sun Mar 11 16:54:38 UTC 2012

On Sun, Mar 11, 2012 at 09:17:50AM +0100, Sabine Baer wrote:
> Sorry if I'm totally wrong here but I don't know where to ask.

Posting this to questions is fine, IMO. freebsd-ports would also be

> I'm using WindowMaker as my window manager for some years. I do not
> remember why, but some days ago, I deinstalled ist. Now, I can't
> install it.
> $uname -rp
>  |7.4-STABLE amd64

It compiles fine here (9.0-RELEASE amd64). 

> #portmaster /x11-wm/windomaker
>  |[...]
>  |handlers.c:542: warning: implicit declaration of function 'FD_ISSET'
>  |*** Error code 1

FD_ISSET is a macro in /usr/include/sys/select.h, at least on 9.0. Check if
that file exists and is readable.

Check if the file config.h[1] in the windowmaker source tree (generated by
configure) contains the line '#define HAVE_SELECT 1'.
[1: /usr/ports/x11-wm/windowmaker/work/WindowMaker-0.95.2/config.h]
If this is not defined, and the file exists, it is a bug in the configure

As a workaround, try removing the '#ifdef' and '#endif' lines around the '#
include <sys/select.h>' line in the file handlers.c[2], then re-start the
compilation process (by running 'make' from the port's directory). Don't
re-start the portmaster command, as that will undo your changes. If the build
goes OK, issue the command 'make install clean' from the port's directory.
[2: /usr/ports/x11-wm/windowmaker/work/WindowMaker-0.95.2/WINGs/handlers.c]

[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list