Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Mar 2012 17:41:41 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        freebsd-questions@freebsd.org
Cc:        Sabine Baer <baerks@t-online.de>
Subject:   Re: Can't install WindowMaker
Message-ID:  <20120311164141.GA17890@slackbox.erewhon.net>
In-Reply-To: <20120311081750.GR9223@amd.catfish.ddns.org>
References:  <20120311081750.GR9223@amd.catfish.ddns.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
appropriate.

> 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.
>=20
> $uname -rp
>  |7.4-STABLE amd64

It compiles fine here (9.0-RELEASE amd64).=20

> #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
script.

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 bui=
ld
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]

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--qMm9M+Fa2AknHoGS
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk9c1cUACgkQEnfvsMMhpyXubACfS21zlZnP59fjh5EoVm0RnbsZ
/bsAnRHPqViBj838A02NpX4rgVs4b4xy
=ajxe
-----END PGP SIGNATURE-----

--qMm9M+Fa2AknHoGS--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120311164141.GA17890>