pkgsrc-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
The following reply was made to PR pkg/52173; it has been noted by GNATS.
From: Joerg Sonnenberger <joerg%bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: install-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Subject: Re: install/52173: C compilations can't find header files, sometimes
CWRAPPERS_CONFIG_DIR is not found
Date: Mon, 17 Apr 2017 18:26:11 +0200
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