Subject: Re: xawtv-3.88 won't compile on NetBSD-1.6/i386
To: None <netbsd-help@netbsd.org>
From: Soren Jacobsen <snj@pobox.com>
List: netbsd-help
Date: 08/23/2003 08:36:13
On 08/23 13:00, Benjamin Walkenhorst wrote:
> 12:42:17|/usr/local/src/xawtv-3.88:: gmake
>   CC      libng/plugins/flt-gamma.o
> libng/plugins/flt-gamma.c:13: pthread.h: No such file or directory
> In file included from libng/plugins/flt-gamma.c:15:
> libng/grab-ng.h:8: pthread.h: No such file or directory
> gmake: *** [libng/plugins/flt-gamma.o] Error 1
> 
> I asked Mr. Knorr about this, who told me he was unable to help me on this 
> one since pthread.h *should* be present.
> I actually located a file called pthread.h in three folders:
> /netbsd/usr/pkg/include/pthread.h
> /netbsd/usr/pkg/PTL/include/pthread.h
> /netbsd/usr/pkg/pthreads/include/pthread.h
> 
> Riiiiiiight... Errr... How do I tell gmake where to look and which of the 
> three files to choose? I don't know much about make and Makfiles... I guess, 
> I have to either put the path to at least one pthread.h in the Makefile or 
> tell gmake about it using a compiler-flag, right? 

gcc is looking for pthread.h, not gmake.

I suggest using the xawtv package in pkgsrc-wip instead of trying this
by yourself.

http://pkgsrc-wip.sf.net/