# php6 make install fails at filestat

- Thread: https://externals.io/message/30605
- Original archive: https://news-web.php.net/php.internals/30605
- Started by SleepingKiller on 2007-07-08T03:07:05+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #30605 — SleepingKiller — 2007-07-08T03:07:05+00:00

URL: https://externals.io/message/30605#30605

Hello,
The php bug site told me to send bugs to internals mailing list for 
HEAD compile errors, so I hope I am doing this right.

I was trying to compile php6 on my system to test out a few scripts 
with it.
I was able to configure it after I installed the ICU library with this:
./configure --prefix=/usr/local \
--with-mysql=/usr/local/mysql \
--enable-debugger

I ran "make clean && make"

during the "make" I received this error:

/bin/sh /home/builds/tests/php6.0-200707080030/libtool --silent 
--preserve-dup-deps --mode=compile gcc  -Iext/standard/ 
-I/home/builds/tests/php6.0-200707080030/ext/standard/ -DPHP_ATOM_INC 
-I/home/builds/tests/php6.0-200707080030/include 
-I/home/builds/tests/php6.0-200707080030/main 
-I/home/builds/tests/php6.0-200707080030 -I/usr/local/include 
-I/usr/local/include/libxml2 
-I/home/builds/tests/php6.0-200707080030/pcrelib 
-I/home/builds/tests/php6.0-200707080030/ext/date/lib 
-I/usr/local/mysql/include 
-I/home/builds/tests/php6.0-200707080030/TSRM 
-I/home/builds/tests/php6.0-200707080030/Zend  -no-cpp-precomp  
-I/usr/include -g -O2  -c 
/home/builds/tests/php6.0-200707080030/ext/standard/filestat.c -o 
ext/standard/filestat.lo
/home/builds/tests/php6.0-200707080030/ext/standard/filestat.c: In 
function `php_do_chgrp':
/home/builds/tests/php6.0-200707080030/ext/standard/filestat.c:440: 
error: `_SC_GETGR_R_SIZE_MAX' undeclared (first use in this function)
/home/builds/tests/php6.0-200707080030/ext/standard/filestat.c:440: 
error: (Each undeclared identifier is reported only once
/home/builds/tests/php6.0-200707080030/ext/standard/filestat.c:440: 
error: for each function it appears in.)
make: *** [ext/standard/filestat.lo] Error 1

Is this a problem with the snapshot I got or an actual problem with 
php6?
