Date: Tue, 23 Oct 2001 23:30:03 -0700 (PDT) From: Peter Pentchev <roam@ringlet.net> To: freebsd-ports@FreeBSD.org Subject: Re: ports/31443: mozilla-0.9.5 fails to build on -current Message-ID: <200110240630.f9O6U3W00720@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/31443; it has been noted by GNATS. From: Peter Pentchev <roam@ringlet.net> To: Maxim Sobolev <sobomax@FreeBSD.ORG> Cc: p9711422@mmu.edu.my, freebsd-gnats-submit@FreeBSD.ORG, John Merryweather Cooper <john_m_cooper@yahoo.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110240630.f9O6U3W00720>