ID: 38452 Comment by: marcus at synchromedia dot co dot uk Reported By: openmacnews at gmail dot com Status: Feedback Bug Type: Compile Failure Operating System: OSX 10.4.7 PHP Version: 5CVS-2006-08-14 (CVS) New Comment:
FWIW, I'm getting this on 5.1.4. I DO have an entry in my config.log though: configure:52940: checking for variable length prototypes and stdarg.h configure:52974: gcc -o conftest -I/usr/include -mtune=7450 -mcpu=7450 -O2 -pipe -maltivec -mabi=altivec -fno-strict- aliasing -DBIND_8_COMPAT=1 -DEAPI -I/sw/include -Wno- pointer-sign -I/sw/include -no-cpp-precomp -liconv -L/usr/ lib -L/sw/lib -L/opt/local/lib -L/opt/local/lib conftest.c - liconv -lintl -lt1 -lfreetype -lpng -lz -ljpeg -lcurl -lbz2 -lz -lm -lxml2 -lz -liconv -lm -lcurl -lssl -lcrypto -lz - lxml2 -lz -liconv -lm 1>&5 configure: failed program was: #line 52959 "configure" #include "confdefs.h" #include <stdarg.h> int foo(int x, ...) { va_list va; va_start(va, x); va_arg(va, int); va_arg(va, char *); va_arg(va, double); return 0; } int main() { return foo(10, "", 3.14); } Does that make any more sense? Previous Comments: ------------------------------------------------------------------------ [2006-08-16 10:18:49] [EMAIL PROTECTED] Latest CVS works just fine here. ------------------------------------------------------------------------ [2006-08-14 22:10:39] openmacnews at gmail dot com hi tony, /usr/ports/php-5.2cvs/main > grep HAVE_STDARG_PROTOTYPES * php_config.h:/* #undef HAVE_STDARG_PROTOTYPES */ php_config.h.in:#undef HAVE_STDARG_PROTOTYPES ------------------------------------------------------------------------ [2006-08-14 20:17:56] [EMAIL PROTECTED] Could you plz check main/php_config.h and tell me what is the value of HAVE_STDARG_PROTOTYPES defined there? ------------------------------------------------------------------------ [2006-08-14 15:28:37] openmacnews at gmail dot com checking, seems *no* failure ... from config.log: ... configure:68143: checking for external libmbfl configure:68161: result: no configure:68181: checking for variable length prototypes and stdarg.h configure:68220: gcc -o conftest -I/usr/local/include -g -O2 -I/usr/local/mysql/include/mysql -I/usr/local/berkeley-db/include -I/usr/local/include -I/usr/local/ssl/include -I/usr/local/ncurses/include -no-cpp-precomp -liconv -L/usr/local/lib -L/usr/local/berkeley-db/lib -bind_at_load -L/usr/local/mysql/lib/mysql -lmysqlclient_r -L/usr/local/berkeley-db/lib -ldb -L/usr/local/lib -lpcre -L/usr/local/ssl/lib -lssl -lcrypto -L/usr/local/ncurses/lib -lncurses -L/usr/local/lib -L/usr/local/lib -L/usr/local/ssl/lib -L/usr/local/ssl/lib -L/usr/local/berkeley-db/lib -L/usr/local/berkeley-db/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/local/gd/lib -L/usr/local/gd/lib conftest.c -liconv -lgmp -lintl -lgd -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lssl -lcrypto -lpcre -ldb-4.3 -ldb-4.3 -lcurl -lz -lpcre -lssl -lcrypto -lm -lxml2 -lz -liconv -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lidn -lssl -lcrypto -lz -lxml2 -lz -liconv -lm >&5 configure:68223: $? = 0 configure:68225: ./conftest configure:68228: $? = 0 configure:68243: result: yes configure:68256: checking for stdlib.h configure:68261: result: yes ... ------------------------------------------------------------------------ [2006-08-14 14:58:04] [EMAIL PROTECTED] Look into your config log for "length prototypes and stdarg.h" - does this check fail for you? If yes, for which reason? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/38452 -- Edit this bug report at http://bugs.php.net/?id=38452&edit=1