Subject: Problems building ap-php from pkgsrc
To: None <netbsd-users@netbsd.org>
From: Vincent van Scherpenseel <mailinglists@vanscherpenseel.nl>
List: netbsd-users
Date: 03/09/2006 11:38:31
Hello list,

Whenever I try to build ap-php from pkgsrc I get these error messages:

------------------
make: 
"/usr/pkgsrc/devel/apr/../../mk/plist/../../mk/plist/print-plist.mk" 
line 39: Malformed conditional (!empty(INFO_FILES))
make: 
"/usr/pkgsrc/devel/apr/../../mk/plist/../../mk/plist/print-plist.mk" 
line 43: if-less endif
make: 
"/usr/pkgsrc/devel/apr/../../mk/plist/../../mk/plist/print-plist.mk" 
line 43: Need an operator
make: Fatal errors encountered -- cannot continue
make: 
"/usr/pkgsrc/www/ap-php/../../www/apache2/../../devel/apr/buildlink3.mk" 
line 29: warning: "cd ../../devel/apr &&  /usr/bin/make show-var 
_MAKE=/usr/bin/make OPSYS=NetBSD OS_VERSION=1.6.2_STABLE 
LOWER_OS_VERSION=1.6.2_stable LOWER_OPSYS=netbsd 
DIGEST=/usr/pkg/bin/digest DIGEST_VERSION=20021220 
PKGTOOLS_VERSION=20051103 _PKGSRCDIR=/usr/pkgsrc 
PKG_BUILD_OPTIONS.openssl= VARNAME=PKG_OPTIONS" returned non-zero status
make: 
"/usr/pkgsrc/www/ap-php/../../mk/plist/../../mk/plist/print-plist.mk" 
line 39: Malformed conditional (!empty(INFO_FILES))
make: 
"/usr/pkgsrc/www/ap-php/../../mk/plist/../../mk/plist/print-plist.mk" 
line 43: if-less endif
make: 
"/usr/pkgsrc/www/ap-php/../../mk/plist/../../mk/plist/print-plist.mk" 
line 43: Need an operator
make: Fatal errors encountered -- cannot continue

make: stopped in /usr/pkgsrc/www/ap-php
------------------

I removed my local pkgsrc entirely and retrieved a new version using CVS 
but I still get the same errors.

Am I doing something wrong? Is apr broken?

Yours Sincerely,
	Vincent van Scherpenseel