Subject: xawtv-3.88 won't compile on NetBSD-1.6/i386
To: None <netbsd-help@netbsd.org>
From: Benjamin Walkenhorst <krylon@gmx.net>
List: netbsd-help
Date: 08/23/2003 13:00:42
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello everybody,

I tried to compile NetBSD-1.6 on my machine, but it didn't work. 

First, I tried "make", but NetBSD's native make immediately stopped. I tried 
GNU make 3.79 and 3.80, got some strange errors concerning liboss. 
I contacted Gerd Knorr, author of xawtv, who was really helpful, but as soon 
as the liboss-problem was solved, another problem occured. Here is what 
"gmake" tells me if I now try to compile xawtv:

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? 

Any help will be appreciated, thanks in advance,

Benjamin

- -- 
Benjamin Walkenhorst
eMail: krylon@gmx.net
homepage: http://www.krylon.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Public Key available at http://www.krylon.de

iD8DBQE/R0laoYumWdMvhMQRAmlEAJ4tjgo0YViLkK1bB/0/TFO/JQCSMwCfYT2L
CiDuSX2UhQMC7Qu57ksfPCI=
=/GL2
-----END PGP SIGNATURE-----