From owner-freebsd-current Wed Sep 16 13:08:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA25321 for freebsd-current-outgoing; Wed, 16 Sep 1998 13:08:37 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from seera.nttlabs.com (seera.nttlabs.com [204.162.36.81]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA25311 for ; Wed, 16 Sep 1998 13:08:33 -0700 (PDT) (envelope-from gene@nttlabs.com) Received: from localhost (gene@localhost) by seera.nttlabs.com (8.8.8/8.8.7) with SMTP id NAA09081 for ; Wed, 16 Sep 1998 13:08:12 -0700 (PDT) X-Authentication-Warning: seera.nttlabs.com: gene owned process doing -bs Date: Wed, 16 Sep 1998 13:08:12 -0700 (PDT) From: "Eugene M. Kim" To: FreeBSD-current Mailing List Subject: XFree86-3.3.2/ELF port available Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, For those who want to try to build an XFree86/ELF, You can find the alpha-quality XFree86-3.3.2/ELF port at: http://seera.nttlabs.com/~gene/XFree86.tar.gz This is designed to be a backward-compatible port, but since now I have ELF systems only, those who have an a.out system are also encouraged to test it. :-) Known problems on an ELF platform: 1. Because the X11 shared library version is now 7 (according to the ELF port-porting rules) but USE_XLIB port feature expects libX11.so.6, all X11 ports which use USE_XLIB port feature are broken. This can be temporary fixed by editing /usr/share/mk/bsd.port.mk around line 530 so that X11.7 is added to LIB_DEPENDS instead of X11.6. 2. Some X11 shared objects depend on others, and this dependency does not get resolved properly when linking a dynamically-linked program unless the linker is given an -rpath-link option or an LD_RUN_PATH environment variable. Since there is no easy way to specify the -rpath-link option to the linker used in the port, you must use LD_RUN_PATH, like: LD_RUN_PATH=/usr/lib:/usr/X11R6/lib:/usr/local/lib make all in the port directory. I tried to find a way to record in a shared object the path to search for other shared objects that it requires, but both -rpath and -rpath-link didn't work. Any comments on this problem are appreciated. If you find some other bugs, please let me know. Enjoy! Regards, Eugene To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message