Date: Sun, 15 Feb 2009 20:59:28 +1100 From: Alex <alex@mailinglist.ahhyes.net> To: freebsd-x11@FreeBSD.org Subject: Re: Unable to build Firefox 3 from ports Message-ID: <4997E780.1000502@mailinglist.ahhyes.net> In-Reply-To: <86k57sze1o.fsf@gmail.com> References: <49976274.8040701@mailinglist.ahhyes.net> <86k57sze1o.fsf@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Thanks for the reply. I had a hunch this was why... I know the newer gcc's are also a little stricter with code. The only problem is that I had also deleted /usr/bin/gcc, /usr/bin/cc and symlinked them to gcc43 and same with /usr/bin/g++, /usr/bin/c++, symlinked those to g++43 so I could force the use of that compiler. How can i restore the default gcc/cc? Shouldn't mozilla make their code compile with current compilers though? Firefox has been the only thing so far that refuses to compile with gcc43. Anonymous wrote: > Alex <alex@mailinglist.ahhyes.net> writes: > > >> Hi Guys, >> >> The subject says it all. I am running 7.1-Stable/i386 >> Portsnap from Sun Feb 15 01:00:52 EST 2009 >> >> The build from ports starts off ok, the dependencies are compiled and >> installed, however once the compilation of the firefox source starts, >> its not long before it dies: >> >> gmake[3]: Entering directory `/usr/ports/www/firefox3/work/mozilla/js/src' >> rm -f libmozjs.so >> /usr/local/bin/gcc43 -I/usr/local/include -I/usr/local/include -Wall >> > [...] > >> Any ideas? >> > > I think it's your gcc43 that causes build error. You can try add smth like > > .if ${.CURDIR:M*/www/firefox3} > CC=cc > CXX=c++ > .endif > > to /etc/make.conf. > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4997E780.1000502>