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



Joerg, you can also exclude the

# Keywords: work tmp
#WRKOBJDIR= ${PKGSRCDIR}/../obj
WRKOBJDIR=  /usr/pkg/obj

mk.conf setting, below is an attempt without the .. stutter:

# cd -
/usr/pkg/src/lang/php56
# make
=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Building for php-5.6.30nb1
/bin/sh /usr/pkg/obj/lang/php56/work.treacle/php-5.6.30/libtool
--silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -D
HAVE_TIMELIB_CONFIG_H=1 -Iext/date/
-I/usr/pkg/obj/lang/php56/work.treacle/php-5.6.30/ext/date/
-DPHP_ATOM_INC -I/usr/pkg/obj/lang/php56/work.treacle/php-5.6.30/include
-I/usr/pkg/obj/lang/php56/work.treacle/php-5.6.30/main
-I/usr/pkg/obj/lang/php56/work.treacle/php-5.6.30
-I/usr/pkg/obj/lang/php56/work.treacle/php-5.6.30/ext/date/lib
-I/usr/pkg/include/libxml2 -I/usr/pkg/include
-I/usr/pkg/obj/lang/php56/work.treacle/php-5.6.30/TSRM
-I/usr/pkg/obj/lang/php56/work.treacle/php-5.6.30/Zend
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include  -O2 -pthread
-I/usr/pkg/include -I/usr/include  -c
/usr/pkg/obj/lang/php56/work.treacle/php-5.6.30/ext/date/php_date.c -o
ext/date/php_date.lo
/usr/pkg/obj/lang/php56/work.treacle/php-5.6.30/ext/date/php_date.c:21:17:
fatal error: php.h: No such file or directory
 #include "php.h"
                 ^
compilation terminated.
Makefile:419: recipe for target 'ext/date/php_date.lo' failed
gmake: *** [ext/date/php_date.lo] Error 1
*** Error code 2

Stop.
make[1]: stopped in /usr/pkg/src/lang/php56
*** Error code 1

Stop.
make: stopped in /usr/pkg/src/lang/php56


Home | Main Index | Thread Index | Old Index