Unable to build Firefox 3 from ports

Alex alex at mailinglist.ahhyes.net
Sun Feb 15 02:01:54 PST 2009


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 at 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.
>
>   



More information about the freebsd-x11 mailing list