From owner-freebsd-libh Mon Oct 21 21:53:36 2002 Delivered-To: freebsd-libh@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87F6137B401 for ; Mon, 21 Oct 2002 21:53:34 -0700 (PDT) Received: from aeimail.aei.ca (aeimail.aei.ca [206.123.6.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFD3943E65 for ; Mon, 21 Oct 2002 21:53:33 -0700 (PDT) (envelope-from anarcat@anarcat.ath.cx) Received: from shall.anarcat.ath.cx (q9l6q7dwd0r7s23r@dsl-59-145.aei.ca [216.221.59.145]) by aeimail.aei.ca (8.11.6/8.10.1) with ESMTP id g9M4rWS12221 for ; Tue, 22 Oct 2002 00:53:33 -0400 (EDT) Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 4BBD64CD for ; Tue, 22 Oct 2002 00:53:30 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Tue, 22 Oct 2002 00:52:57 -0400 Date: Tue, 22 Oct 2002 00:52:57 -0400 From: The Anarcat To: Libh Subject: rhtvision links against X11 Message-ID: <20021022045257.GH3283@lenny.anarcat.ath.cx> Mail-Followup-To: The Anarcat , Libh Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KscVNZbUup0vZz0f" Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --KscVNZbUup0vZz0f Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable What a mess. We use rhtvision to provide a X-less installer and routines. I just discovered the unimaginable: /usr/local/lib/librhtv.so.2: libX11.so.6 =3D> /usr/X11R6/lib/libX11.so.6 (0x281a3000) libXmu.so.6 =3D> /usr/X11R6/lib/libXmu.so.6 (0x2825f000) libncurses.so.5 =3D> /usr/lib/libncurses.so.5 (0x28274000) libstdc++.so.3 =3D> /usr/lib/libstdc++.so.3 (0x282b5000) libm.so.2 =3D> /usr/lib/libm.so.2 (0x282fa000) libc.so.4 =3D> /usr/lib/libc.so.4 (0x28069000) libXThrStub.so.6 =3D> /usr/X11R6/lib/libXThrStub.so.6 (0x28315000) libXt.so.6 =3D> /usr/X11R6/lib/libXt.so.6 (0x28317000) libSM.so.6 =3D> /usr/X11R6/lib/libSM.so.6 (0x28361000) libICE.so.6 =3D> /usr/X11R6/lib/libICE.so.6 (0x2836a000) libXext.so.6 =3D> /usr/X11R6/lib/libXext.so.6 (0x28380000) rhtvision seems to require X. Yay. That sucks. I've explored rhtvision's example programs a bit, and they have a X11 driver *by default*. That means they popup a X-window and don't display in the terminal you called them in if DISPLAY is set. These demos, by the way, work pretty well *except* in TTY mode. In a tty, they just *ignore* any input, apparently, so rhtvision is just plain borked, in FreeBSD, at least. And to make things even worse, this doesn't even fix the compilation issue. Liking against X and all those libs when linking the text build doesn't help much. I'm still trying to figure out if it's possible to build a X-less rhtvision under FreeBSD and have it work. If not, we'll have to port tvision to GCC 3.x, or scrap the tvision approach altogether and turn to another text mode backend. DlDialog, maybe? A. --=20 Computer science is no more about computers than astronomy is about telescopes - E. Dijkstra --KscVNZbUup0vZz0f Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE9tNmottcWHAnWiGcRAtBmAJ9kN+lhcURpG8+gnhlIVxFt4aI22wCfQW+8 4DT5q1gB1uIIMqZGTnRANpo= =OfQi -----END PGP SIGNATURE----- --KscVNZbUup0vZz0f-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message