From owner-freebsd-alpha Fri Oct 4 14:11: 7 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B80437B401; Fri, 4 Oct 2002 14:11:05 -0700 (PDT) Received: from gatekeeper.oremut01.us.wh.verio.net (gatekeeper.oremut01.us.wh.verio.net [198.65.168.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0362943E6A; Fri, 4 Oct 2002 14:11:04 -0700 (PDT) (envelope-from fclift@verio.net) Received: from mx.dmz.orem.verio.net (mx.dmz.orem.verio.net [10.1.1.10]) by gatekeeper.oremut01.us.wh.verio.net (Postfix) with ESMTP id 9DA2A3BF1C2; Fri, 4 Oct 2002 15:11:03 -0600 (MDT) Received: from vespa.dmz.orem.verio.net (vespa.dmz.orem.verio.net [10.1.1.59]) by mx.dmz.orem.verio.net (8.11.6/8.11.6) with ESMTP id g94LB2338542; Fri, 4 Oct 2002 15:11:02 -0600 (MDT) Date: Fri, 4 Oct 2002 15:15:38 -0600 (MDT) From: Fred Clift X-X-Sender: To: Andrew Gallatin Cc: Fred Clift , , , Subject: Re: alpha port of XFree86-4-clients (xdm build fail) In-Reply-To: <15773.63409.99648.553187@grasshopper.cs.duke.edu> Message-ID: <20021004145316.D90214-100000@vespa.dmz.orem.verio.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thanks for the advice -- Upon your advice, I did some checking and this one is bootstrapped in the port itself -- it basically makes it's own imake since imake is one of the X clients, kind of. I've now found that a post unpack, pre-configure/build patch to /usr/ports/x11/XFree86-4-clients/work/xc/config/cf/Imake.tmpl will do the trick and get the link right. Patch as follows: ---------------------------------------------------------------------- 1645c1645 < SHLIBLDFLAGS = SharedLibraryLoadFlags --- > SHLIBLDFLAGS = SharedLibraryLoadFlags -L$(USRLIBDIR) ---------------------------------------------------------------------- I've just made a unified diff, making a patch-00 to put in the files directory, and I'm figuring out how/where to get the ports build system to apply the patch -- check the pr in a while for my 'official' patch :) I'm still not 100% sure this is the right thing to do -- I'm not sure why a .so worries or cares aobut resolved dependencies -- I've tried building it without the dependencies and it fails. When xdm dynamically loads libXdmGreet.so it also has to dynamically load other X libs right? So why aren't the dependencies resolved at run time? This also might theoretically be a problem with the creation of the shared lib... shrug. I'll have to go and look and see how it works on my x86 box... Fred On Fri, 4 Oct 2002, Andrew Gallatin wrote: > > Fred Clift writes: > > > > I've got a patch that lets me fix this, but it isn't suitable for > > inclusion in ports because it is a patch to the makefile which is > > generated automatically from the Imakefile... > > What imake is being used? Make certain you have the most up-to-date > imake installed. > > I got screwed by what sounds like something similar in the early days > of the many little xfree86-4 days. It found an existing imake in my > path, and eventually puked all over itself. > > Drew > -- Fred Clift - fclift@verio.net -- Remember: If brute force doesn't work, you're just not using enough. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message