Subject: php4-apc
To: None <tech-pkg@netbsd.org>
From: Reinier Jonker <rjgjonker@xs4all.nl>
List: tech-pkg
Date: 01/10/2003 19:15:00
Hello!

www/php4-apc does not build. Since make fetch-list gets a 404 page, I  
had to download it manually from <http://apc.communityconnect.com/>.  
The checksum is okay, so I guess the problem is really in the package.

Is this somehow my fault or is the package indeed incorrectly?

make
=> Checksum OK for apc-1.1.0pl1.tar.gz.
===> Extracting for php-apc-1.1.0.1
===> Required installed package php>=4.2.3: php-4.2.3 found
===> Required installed package automake>=1.7: automake-1.7.2 found
===> Required installed package autoconf>=2.50: autoconf-2.57 found
===> Required installed package libtool-base>=1.4.20010614nb9:  
libtool-base-1.4.20010614nb10 found
===> Required installed package php>=4.1.0: php-4.2.3 found
===> Patching for php-apc-1.1.0.1
===> Applying pkgsrc patches for php-apc-1.1.0.1
===> Buildlinking for php-apc-1.1.0.1
===> Configuring for php-apc-1.1.0.1
You should update your `aclocal.m4' by running aclocal.
configure: WARNING: If you wanted to set the --build type, don't use  
--host.
     If a cross compiler is detected then cross compile mode will be  
used.
checking for m68k--netbsdelf-gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking whether cc understands -c and -o together... yes
checking for PHP prefix... /usr/pkg
checking for PHP includes... -I/usr/pkg/include/php  
-I/usr/pkg/include/php/main -I/usr/pkg/include/php/Zend  
-I/usr/pkg/include/php/TSRM
checking for PHP extension directory... /usr/pkg/lib/php/20020429
checking whether to enable apc support... yes
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking semaphore.h usability... no
checking semaphore.h presence... no
checking for semaphore.h... no
checking for union semun... no
checking build system type... m68k-unknown-netbsdelf1.6L
checking host system type... m68k--netbsdelf
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependant libraries... match_pattern  
/lib[^/\.]+\.so$
checking for m68k--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking for m68k--netbsdelf-strip... no
checking for strip... strip
checking for working mkdir -p... yes
creating config_vars.mk
fastgen.sh: creating Makefile
configure: creating ./config.status
config.status: creating config.h
===> Building for php-apc-1.1.0.1
/bin/sh /usr/pkgsrc/www/php4-apc/work/apc-1.1.0pl1/libtool  
--mode=compile cc -I. -I/usr/pkgsrc/www/php4-apc/work/apc-1.1.0pl1/  
-I/usr/pkgsrc/www/php4-apc/work/apc-1.1.0pl1/main  
-I/usr/pkgsrc/www/php4-a
mkdir .libs
cc -I. -I/usr/pkgsrc/www/php4-apc/work/apc-1.1.0pl1/  
-I/usr/pkgsrc/www/php4-apc/work/apc-1.1.0pl1/main  
-I/usr/pkgsrc/www/php4-apc/work/apc-1.1.0pl1  
-I/usr/pkgsrc/www/php4-apc/work/.buildlink/include/ph
In file included from  
/usr/pkgsrc/www/php4-apc/work/.buildlink/include/php/Zend/ 
zend_alloc.h:26,
                  from  
/usr/pkgsrc/www/php4-apc/work/.buildlink/include/php/Zend/zend.h:154,
                  from  
/usr/pkgsrc/www/php4-apc/work/.buildlink/include/php/main/php.h:34,
                  from php_apc.h:19,
                  from php_apc.c:16:
/usr/pkgsrc/www/php4-apc/work/.buildlink/include/php/Zend/../TSRM/ 
TSRM.h:40: pth.h: No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/php4-apc/work/apc-1.1.0pl1
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/php4-apc/work/apc-1.1.0pl1
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/php4-apc
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/php4-apc

-- 
Best Regards,

Reinier Jonker