From owner-freebsd-ports Tue Oct 23 23:30: 6 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3B4E337B406 for ; Tue, 23 Oct 2001 23:30:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9O6U3W00720; Tue, 23 Oct 2001 23:30:03 -0700 (PDT) (envelope-from gnats) Date: Tue, 23 Oct 2001 23:30:03 -0700 (PDT) Message-Id: <200110240630.f9O6U3W00720@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: ports/31443: mozilla-0.9.5 fails to build on -current Reply-To: Peter Pentchev Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/31443; it has been noted by GNATS. From: Peter Pentchev To: Maxim Sobolev Cc: p9711422@mmu.edu.my, freebsd-gnats-submit@FreeBSD.ORG, John Merryweather Cooper Subject: Re: ports/31443: mozilla-0.9.5 fails to build on -current Date: Wed, 24 Oct 2001 09:20:58 +0300 On Tue, Oct 23, 2001 at 03:05:48PM +0300, Maxim Sobolev wrote: > > > > On Tuesday 23 October 2001 3:10 pm, Maxim Sobolev wrote: > > > The following reply was made to PR ports/31443; it has been noted by GNATS. > > > > > > > nsLDAPConnectionCallbacks.c: At top level: > > > > nsLDAPConnectionCallbacks.c:52: storage size of `kLDAPThreadFuncs' isn't > > > > known nsLDAPConnectionCallbacks.c:53: storage size of > > > > `kLDAPExtraThreadFuncs' isn't known gmake[3]: *** > > > > [nsLDAPConnectionCallbacks.o] Error 1 > > > > gmake[3]: Leaving directory > > > > `/usr/ports/www/mozilla/work/mozilla/directory/xpcom/base/src' > > > > > > Weird. Here it builds just fine on 4.4-STABLE and 5-CURRENT. Could > > > you please provide me with a full log of running make in the > > > ports/www/mozilla directory? This should help to identify and fix > > > the problem. > > > > > > > Same here. I've built mozilla on four boxes running 4.4-STABLE and 1 box > > running -CURRENT without any problem. Weird. > > This is because Mozilla's brain-damaged build system when specifying > includes search path puts global include paths (i.e. /usr/local and > so on) prior to its local search paths, so that preprocessor picks > wrong header file (ldap.h) incompatible with one buindled with > Mozilla. I'm not sure is it worth fixing, or we could just tell users > that they have to deinstall openldap* from their systems before trying > to build Mozilla. Wouldn't the easiest solution be the following patch, submitted by Sumikawa-san in a separate thread, related to the same problem with the mozilla+ipv6 port? G'luck, Peter -- What would this sentence be like if pi were 3? Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/mozilla+ipv6/Makefile,v retrieving revision 1.68 diff -u -r1.68 Makefile --- Makefile 2001/10/22 14:12:04 1.68 +++ Makefile 2001/10/23 10:51:46 @@ -37,6 +37,7 @@ --disable-cpp-rtti \ --disable-debug \ --disable-idltool \ + --disable-ldap \ --disable-md \ --disable-pedantic \ --disable-xterm-updates \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message