Subject: Re: www/firefox fails to build: no pthread support...
To: None <tech-pkg@netbsd.org>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: tech-pkg
Date: 01/26/2006 20:43:21
Jukka Salmi --> INBOX.Lists.NetBSD.tech-pkg (2006-01-26 20:11:38 +0100):
> Jukka Salmi --> INBOX.Lists.NetBSD.tech-pkg (2006-01-26 19:31:00 +0100):
> > Hi,
> > 
> > trying to build firefox 1.5nb3, configure fails to detect pthread
> > support on my current NetBSD/i386 system:
> > 
> > [...]
> > checking for lchown... (cached) yes
> > checking for strerror... (cached) yes
> > checking for pthread_create in -lpthreads... no
> > checking for pthread_create in -lpthread... no
> > checking for pthread_create in -lc_r... no
> > checking for pthread_create in -lc... no
> > configure: error:  --with-pthreads specified for a system without pthread support 
> > configure: error: ./configure failed for nsprpub
> > *** Error code 1
> > [...]
> > 
> > I successfully built firefox 1.5 about a month ago.
> > 
> > [1]config.log and [2]work.log files are available, in case anybody is
> > interested. Help is appreciated.
> > 
> > 
> > TIA, Jukka
> > 
> > [1] http://salmi.ch/~jukka/nbsd/config.log.gz
> > [2] http://salmi.ch/~jukka/nbsd/work.log.gz
> 
> That was probably the wrong config.log. Reading the one from the
> `nsprpub' directory, there are many syntax error messages like
> 
> /usr/include/machine/byte_swap.h:49: error: syntax error before "u_int32_t"
> /usr/include/machine/byte_swap.h:50: error: syntax error before "u_int16_t"
> 
> Lines 49 and 50 of byte_swap.h:
> 
> static __inline uint32_t __byte_swap_long_variable(uint32_t);
> static __inline uint16_t __byte_swap_word_variable(uint16_t);

Uh, I forgot to update the include files in the chroot environment
where I tried to build firefox... Sorry for the noise!


Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~