Subject: Re: trying to compile firefox with pkgsrc and xorg
To: Jonathan A. Kollasch <jakllsch@kollasch.net>
From: Luc Desfosses <desfosses.luc@wanadoo.fr>
List: netbsd-help
Date: 04/06/2006 00:50:54
Thank,

The compil pass well.

I've do a make clean, clean my /etc/mk.conf

It's true, NetBSD isn't gentoo, but i don't find any doc about
how to optimize the compilation with pkgsrc, and like i'm not
a  guru-master, i just take a mk.conf on the net, where the guy
say that's good for the i686...

That's a good for me to take care of my source...!

Again, Thanks for the time you take to help me...!


Jonathan A. Kollasch wrote:
> On Wed, Apr 05, 2006 at 01:36:20AM +0200, Luc DESFOSSES wrote:
>   
>> Hie everybody,  
>>  
>> I'm trying to compile firefox via pkgsrc,  
>> I'm in /usr/pkgsrc/www/firefox and i type make. 
>>  
>> I got this return after some compilation. 
>>  
>>     
>
> What command failed ?
>
>   
>> : undefined reference to `__extendsfdf2' 
>> make[6]: *** [xpt_dump] Error 1 
>> make[6]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla/xpcom/typelib/xpt/tools' 
>> make[5]: *** [export] Error 2 
>> make[5]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla/xpcom/typelib/xpt/tools' 
>> make[4]: *** [export] Error 2 
>> make[4]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla/xpcom/typelib/xpt' 
>> make[3]: *** [export] Error 2 
>> make[3]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla/xpcom/typelib' 
>> make[2]: *** [export] Error 2 
>> make[2]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla/xpcom' 
>> make[1]: *** [tier_2] Error 2 
>> make[1]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla' 
>> gmake: *** [default] Error 2 
>> *** Error code 2 
>>  
>> Stop. 
>> make: stopped in /usr/pkgsrc/www/firefox 
>> ===> 
>> ===> There was an error during the ``build'' phase. 
>> ===> Please investigate the following for more information: 
>> ===>      * log of the build 
>> ===>      * /usr/pkgsrc/www/firefox/work/.work.log 
>> ===> 
>> *** Error code 1 
>>  
>> Stop. 
>> make: stopped in /usr/pkgsrc/www/firefox 
>> # 
>> # 
>>  
>> This is the /etc/mk.conf I use. 
>>  
>> CFLAGS+=-O2 -march=i686 -mcpu=i386 
>> CXXFLAGS=-O2 -march=i686 -mcpu=i386 
>> COPTS+=-O2 -march=i686 -fexpensive-optimizations -ffast-math -msoft-float -fthread-jumps -fomit-frame-pointer -finline-functions 
>>     
>
> Some of these seem dangerous and one is downright illogical (unless
> you plan on running firefox on an actual 80386 w/o a 80387).  Try
> again, at least without -msoft-float. If that doesn't work,
> drop the -f... flags.
>
>   
>> X11_TYPE?=xorg 
>> MOZILLA_USE_LINUX=set 
>>  
>> I don't know what is the problem, i've compile all my packages like that... 
>>  
>> thank's for your time to read this. 
>>  
>>  
>>     
>
> BTW, NetBSD isn't Gentoo.
>
> 	Jonathan Kollasch
>