pkgsrc-Bugs archive

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

Re: pkg/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: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/52173: C compilations can't find header files, sometimes
 CWRAPPERS_CONFIG_DIR is not found
Date: Sun, 11 Mar 2018 23:50:59 +0000

 Not sent to gnats (replies to PRs should go to gnats-bugs@; if
 replying to your own posts this often needs to be inserted by hand)
 
    ------
 
 From: Lucio De Re <lucio.dere%gmail.com@localhost>
 To: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost,
 	lucio.dere%gmail.com@localhost
 Subject: Re: install/52173: C compilations can't find header files, sometimes
 	CWRAPPERS_CONFIG_DIR is not found
 Date: Tue, 18 Apr 2017 04:38:12 +0200
 
 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