From owner-freebsd-bugs Mon Sep 24 11:21: 1 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from gw.nectar.com (gw.nectar.com [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id 02A4137B50E for ; Mon, 24 Sep 2001 11:20:50 -0700 (PDT) Received: from madman.nectar.com (madman.nectar.com [10.0.1.111]) by gw.nectar.com (Postfix) with ESMTP id 3ACD2D6D for ; Mon, 24 Sep 2001 13:20:49 -0500 (CDT) Received: (from nectar@localhost) by madman.nectar.com (8.11.3/8.11.3) id f8OIKnk66459 for freebsd-bugs@FreeBSD.org; Mon, 24 Sep 2001 13:20:49 -0500 (CDT) (envelope-from nectar) Date: Mon, 24 Sep 2001 13:20:49 -0500 From: "Jacques A. Vidrine" To: freebsd-bugs@FreeBSD.org Subject: Re: ports/30225: mozilla 0.93 build problem Message-ID: <20010924132048.A66411@madman.nectar.com> Mail-Followup-To: "Jacques A. Vidrine" , freebsd-bugs@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Url: http://www.nectar.com/ Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Actually, the Mozilla build is broken as I described to sobomax back in June. The include path is set incorrectly, IMHO -- local directories should come first. Possible workarounds: = Remove or rename ${PREFIX}/include/base64.h = Deinstall Heimdal and build/install with HEIMDAL_HOME set to something besides ${PREFIX} Meanwhile I'll consider not installing the libroken header files (in the port), or perhaps renaming them (in Heimdal itself). ----- Forwarded message from "Jacques A. Vidrine" ----- Date: Wed, 13 Jun 2001 19:20:28 -0500 From: "Jacques A. Vidrine" To: sobomax@freebsd.org Subject: ports/www/mozilla 0.9.1 Hi Maxim, Building mozilla-0.9.1 failed for me. c++ -o nsKeygenHandler.o -c -DOSTYPE=\"FreeBSD4\" -DOSARCH=\"FreeBSD\" -DOJI -I../../../../dist/include -I../../../../dist/include -I/.PORTS/usr/ports/www/mozilla/work/mozilla/dist/include/nspr -I/usr/local/include -I../../../../dist/public/security -I../../../../dist/private/security -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wno-long-long -O -pipe -pipe -O -DNDEBUG -DTRIMMED -I/usr/X11R6/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../../config-defs.h nsKeygenHandler.cpp nsKeygenHandler.cpp: In function `struct PQGParams * decode_pqg_params(char *)': nsKeygenHandler.cpp:100: implicit declaration of function `int ATOB_AsciiToData(...)' Notice that `-I/usr/local/include' comes before `-I../../../../dist/public/security'. This caused the build to pick up base64.h from Heimdal (installed on my system) rather than from the Mozilla build tree itself. I think that the `-I${LOCALBASE}/include' and `-I${X11BASE}/include' flags should really come after all of the -I flags with relative paths. I haven't dug in to see how hard it would be to change these flags -- I just moved /usr/local/include/base64.h out of the way so I could get on with my life :-) I don't believe this problem existed previous to the upgrade to 0.9.1. Just thought you might want to know! Cheers, -- Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org ----- End forwarded message ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message