=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for ap2-jk-1.2.37 Making all in common gmake[1]: Entering directory `/usr/pkgsrc/work/www/ap2-jk/work/tomcat-connectors-1.2.37-src/native/common' /bin/sh ../libtool --mode=compile gcc -I/usr/pkg/include/httpd -Wno-error -march=i586 -I/usr/pkg/include -I/usr/pkg/include/apr-0 -I/usr/include -DHAVE_CONFIG_H -Wno-error -march=i586 -I/usr/pkg/include/apr-0 -I/usr/include -I/usr/pkg/include -DHAVE_APR -I/usr/pkg/include/apr-0 -I/usr/pkg/include/apr-0 -Wno-error -march=i586 -I/usr/pkg/include -I/usr/pkg/include/apr-0 -I/usr/include -DHAVE_CONFIG_H -c jk_ajp12_worker.c -o jk_ajp12_worker.lo libtool: compile: gcc -I/usr/pkgsrc/work/www/ap2-jk/work/.buildlink/include/httpd -Wno-error -march=i586 -I/usr/pkgsrc/work/www/ap2-jk/work/.buildlink/include -I/usr/pkgsrc/work/www/ap2-jk/work/.buildlink/include/apr-0 -DHAVE_CONFIG_H -Wno-error -march=i586 -DHAVE_APR -Wno-error -march=i586 -c jk_ajp12_worker.c -o jk_ajp12_worker.o In file included from jk_logger.h:27, from jk_ajp12_worker.h:27, from jk_ajp12_worker.c:26: jk_global.h:154:27: error: sys/socketvar.h: no such file or directory In file included from jk_global.h:333, from jk_logger.h:27, from jk_ajp12_worker.h:27, from jk_ajp12_worker.c:26: jk_types.h:63:2: error: #error Can not determine the proper size for pthread_t In file included from jk_uri_worker_map.h:36, from jk_service.h:35, from jk_ajp12_worker.h:28, from jk_ajp12_worker.c:26: jk_mt.h:57:21: error: pthread.h: no such file or directory In file included from jk_uri_worker_map.h:36, from jk_service.h:35, from jk_ajp12_worker.h:28, from jk_ajp12_worker.c:26: jk_mt.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'JK_CRIT_SEC' In file included from jk_service.h:35, from jk_ajp12_worker.h:28, from jk_ajp12_worker.c:26: jk_uri_worker_map.h:166: error: expected specifier-qualifier-list before 'JK_CRIT_SEC' gmake[1]: *** [jk_ajp12_worker.lo] Error 1 gmake[1]: Leaving directory `/usr/pkgsrc/work/www/ap2-jk/work/tomcat-connectors-1.2.37-src/native/common' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/www/ap2-jk *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/www/ap2-jk