NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: install/52173: C compilations can't find header files, sometimes CWRAPPERS_CONFIG_DIR is not found



On Mon, Apr 17, 2017 at 02:05:01PM +0000, lucio%NetBSD.org@localhost wrote:
> ===> Building for php-7.1.3nb1
> /bin/sh /usr/pkg/obj/lang/php71/work.treacle/php-7.1.3/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/usr/pkg/obj/lang/php71/work.treacle/php-7.1.3/ext/date/ -DPHP_ATOM_INC -I/usr/pkg/obj/lang/php71/work.treacle/php-7.1.3/include -I/usr/pkg/obj/lang/php71/work.treacle/php-7.1.3/main -I/usr/pkg/obj/lang/php71/work.treacle/php-7.1.3 -I/usr/pkg/obj/lang/php71/work.treacle/php-7.1.3/ext/date/lib -I/usr/pkg/include/libxml2 -I/usr/pkg/obj/lang/php71/work.treacle/php-7.1.3/TSRM -I/usr/pkg/obj/lang/php71/work.treacle/php-7.1.3/Zend  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include  -O2 -pthread -I/usr/pkg/include -I/usr/include -DZEND_SIGNALS   -c /usr/pkg/obj/lang/php71/work.treacle/php-7.1.3/ext/date/php_date.c -o ext/date/php_date.lo 
> /usr/pkg/obj/lang/php71/work.treacle/php-7.1.3/ext/date/php_date.c:21:17: fatal error: php.h: No such file or directory

The first start would be to find the corresponding entry in work.log for
this invocation. It tells you the translated command. The two most
likely failure cases here are:
(1) Somewhere in /usr/pkg/obj/lang/php71/work.treacle is a symlink.
(2) I'm actually not sure about the order of reject/pass for WRKOBJDIR
below PREFIX. I would normally avoid that...

Joerg


Home | Main Index | Thread Index | Old Index