Date: Mon, 24 Sep 2001 13:20:49 -0500 From: "Jacques A. Vidrine" <n@nectar.com> To: freebsd-bugs@FreeBSD.org Subject: Re: ports/30225: mozilla 0.93 build problem Message-ID: <20010924132048.A66411@madman.nectar.com>
next in thread | raw e-mail | index | archive | help
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" <n@nectar.com> -----
Date: Wed, 13 Jun 2001 19:20:28 -0500
From: "Jacques A. Vidrine" <n@nectar.com>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010924132048.A66411>
