From owner-freebsd-ports@FreeBSD.ORG Mon May 14 00:34:35 2007 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6516C16A402 for ; Mon, 14 May 2007 00:34:35 +0000 (UTC) (envelope-from tdb@carrick.bishnet.net) Received: from carrick.bishnet.net (carrick.bishnet.net [84.234.17.56]) by mx1.freebsd.org (Postfix) with ESMTP id 2CF7113C448 for ; Mon, 14 May 2007 00:34:35 +0000 (UTC) (envelope-from tdb@carrick.bishnet.net) Received: from tdb by carrick.bishnet.net with local (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HnOWH-000BM2-5d; Mon, 14 May 2007 01:34:33 +0100 Date: Mon, 14 May 2007 01:34:33 +0100 From: Tim Bishop To: freebsd-ports@FreeBSD.org Message-ID: <20070514003433.GD16073@carrick.bishnet.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Key: 0x5AE7D984, http://www.bishnet.net/tim/tim-bishnet-net.asc X-PGP-Fingerprint: 1453 086E 9376 1A50 ECF6 AE05 7DCE D659 5AE7 D984 User-Agent: Mutt/1.5.13 (2006-08-11) X-Bishnet-MailScanner-Information: Contact postmaster@bishnet.net X-Bishnet-MailScanner-VirusCheck: Found to be clean X-Bishnet-MailScanner-SpamCheck: not spam, SpamAssassin (cached, score=-2.6, required 5, autolearn=not spam, BAYES_00 -2.60, NO_RELAYS -0.00) X-Bishnet-MailScanner-From: tdb@carrick.bishnet.net Cc: Howard Goldstein Subject: Thunderbird & OpenLDAP (Was: Re: HEADS UP: xorg 7.2 ready for testing) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 May 2007 00:34:35 -0000 On Sun, May 13, 2007 at 07:05:05PM -0400, Howard Goldstein wrote: > Tim Bishop wrote: > > The problem is identical with all three. I have openldap installed: > > > > openldap-client-2.3.35 > > > > And it's the owner of /usr/local/include/lber.h. > > > > I can't see why this problem has emerged now - these apps were already > > sharing /usr/local. Maybe it's unrelated to the xorg upgrade? > > It seems to be unrelated. There's a PR for this. A workaround is this Ah, well spotted! I hadn't noticed that PR. On closer inspection it's fairly obvious where the problem is. The included lber-int.h includes "lber.h". This isn't in the current directory and looking at the compiler options we can see how it finds the system installed version rather than the local version first: cc ... -I/usr/local/include ... -I../../../ldap/include ... But I'm not sure where to start looking in this build system to fix it ;-) Tim. -- Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x5AE7D984