- - PR -
PHPの問題
投稿者 | 投稿内容 | ||||
---|---|---|---|---|---|
|
投稿日時: 2005-07-07 11:39
Apache2+PHP4.3.10でコンパイルとインストールは終了して、現在、*.phpでウエブ上から表示できるかどうかテストしているのですが、info.phpというファイルを作成して、ユーザのディレクトリに保存し、URLでアクセスすると、ダウンロードをするボックスがポップアップします。 Apache,PHPの基本的な設定は問題なくできていると思います。
このポップアップの問題を解決する方法、または、どこかconfigしなおすところ等おわかりでしたらご教授いただけると助かります。 何卒よろしくお願いいたします。 | ||||
|
投稿日時: 2005-07-07 11:59
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php ↑httpd.confにありますか? ./configureのオプションを載せてみたらいかがでしょうか? config.logに残ってますよね? | ||||
|
投稿日時: 2005-07-07 12:16
たてさん、お返事有難うございます。 おっしゃるとおり、下記の2つの記述はhttpd.confにしました。 Apacheを起動しても、Apache/2.0.52 (Unix) DAV/2 PHP/4.3.10 configured -- resuming normal operationsと正常に起動しているようです。config.logですが、下記のとおりです。 かなり長くてすみません。
------------------------------------------------------------------------------ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:1638: checking host system type configure:1726: checking for gcc configure:1839: checking whether the C compiler (gcc ) works configure:1855: gcc -o conftest conftest.c 1>&5 configure:1881: checking whether the C compiler (gcc ) is a cross-compiler configure:1886: checking whether we are using GNU C configure:1895: gcc -E conftest.c configure:1914: checking whether gcc accepts -g configure:1947: checking whether gcc and cc understand -c and -o together configure:1962: gcc -c conftest.c -o conftest.o 1>&5 configure:1963: gcc -c conftest.c -o conftest.o 1>&5 configure:1968: cc -c conftest.c 1>&5 ./configure: cc: not found configure:1998: checking how to run the C preprocessor configure:2019: gcc -E conftest.c >/dev/null 2>conftest.out configure:2079: checking for AIX configure:2106: checking if compiler supports -R configure:2121: gcc -o conftest -g -O2 conftest.c -R /usr/lib 1>&5 configure:2180: checking for re2c configure:2211: checking for ranlib configure:2239: checking whether ln -s works configure:2264: checking for mawk configure:2264: checking for gawk configure:2264: checking for nawk configure:2298: checking for bison configure:2332: checking bison version configure:2342: checking for flex configure:2376: checking for yywrap in -ll configure:2395: gcc -o conftest -g -O2 conftest.c -ll 1>&5 configure:2419: checking lex output file root configure:2440: checking whether yytext is a pointer configure:2459: gcc -o conftest -g -O2 conftest.c -ll 1>&5 configure:2870: error: conflicting types for `yytext' configure:2523: error: previous declaration of `yytext' configure: failed program was: #line 2452 "configure" #include "confdefs.h" #include <stdio.h> #include <stdlib.h> #include <inttypes.h> # define U(x) x # define NLSTATE yyprevious=YYNEWLINE # define BEGIN yybgin = yysvec + 1 + # define INITIAL 0 # define YYLERR yysvec # define YYSTATE (yyestate-yysvec-1) # define YYOPTIM 1 # ifndef YYLMAX # define YYLMAX BUFSIZ # endif #ifndef __cplusplus # define output(c) (void)putc(c,yyout) #else # define lex_output(c) (void)putc(c,yyout) #endif #if defined(__cplusplus) || defined(__STDC__) #if defined(__cplusplus) && defined(__EXTERN_C__) extern "C" { #endif int yyback(int *, int); int yyinput(void); int yylook(void); void yyoutput(int); int yyracc(int); int yyreject(void); void yyunput(int); int yylex(void); #ifdef YYLEX_E void yywoutput(wchar_t); wchar_t yywinput(void); #endif #ifndef yyless int yyless(int); #endif #ifndef yywrap int yywrap(void); #endif #ifdef LEXDEBUG void allprint(char); void sprint(char *); #endif #if defined(__cplusplus) && defined(__EXTERN_C__) } #endif #ifdef __cplusplus extern "C" { #endif void exit(int); #ifdef __cplusplus } #endif #endif # define unput(c) {yytchar= (c);if(yytchar=='\n')yylineno--;*yysptr++=yytchar;} # define yymore() (yymorfg=1) #ifndef __cplusplus # define input() (((yytchar=yysptr>yysbuf?U(*--yysptr):getc(yyin))==10?(yylineno++,yytchar):yytchar)==EOF?0:yytchar) #else # define lex_input() (((yytchar=yysptr>yysbuf?U(*--yysptr):getc(yyin))==10?(yylineno++,yytchar):yytchar)==EOF?0:yytchar) #endif #define ECHO fprintf(yyout, "%s",yytext) # define REJECT { nstr = yyreject(); goto yyfussy;} int yyleng; #define YYISARRAY char yytext[YYLMAX]; int yymorfg; extern char *yysptr, yysbuf[]; int yytchar; FILE *yyin = {stdin}, *yyout = {stdout}; extern int yylineno; struct yysvf { struct yywork *yystoff; struct yysvf *yyother; int *yystops;}; struct yysvf *yyestate; extern struct yysvf yysvec[], *yybgin; # define YYNEWLINE 10 int yylex(){ int nstr; extern int yyprevious; #ifdef __cplusplus /* to avoid CC and lint complaining yyfussy not being used ...*/ static int __lex_hack = 0; if (__lex_hack) goto yyfussy; #endif while((nstr = yylook()) >= 0) yyfussy: switch(nstr){ case 0: if(yywrap()) return(0); break; case -1: break; default: (void)fprintf(yyout,"bad switch yylook %d",nstr); } return(0); } /* end of yylex */ int yyvstop[] = { 0, 0}; # define YYTYPE unsigned char struct yywork { YYTYPE verify, advance; } yycrank[] = { 0,0, 0,0, 0,0, 0,0, 0,0}; struct yysvf yysvec[] = { 0, 0, 0, yycrank+0, 0, 0, yycrank+0, 0, 0, 0, 0, 0}; struct yywork *yytop = yycrank+0; struct yysvf *yybgin = yysvec+1; char yymatch[] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}; char yyextra[] = { 0,0,0,0,0,0,0,0, 0}; /* Copyright (c) 1989 AT&T */ /* All Rights Reserved */ /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */ /* The copyright notice above does not evidence any */ /* actual or intended publication of such source code. */ #pragma ident "@(#)ncform 6.12 97/12/08 SMI" int yylineno =1; # define YYU(x) x # define NLSTATE yyprevious=YYNEWLINE struct yysvf *yylstate [YYLMAX], **yylsp, **yyolsp; char yysbuf[YYLMAX]; char *yysptr = yysbuf; int *yyfnd; extern struct yysvf *yyestate; int yyprevious = YYNEWLINE; #if defined(__cplusplus) || defined(__STDC__) int yylook(void) #else yylook() #endif { register struct yysvf *yystate, **lsp; register struct yywork *yyt; struct yysvf *yyz; int yych, yyfirst; struct yywork *yyr; # ifdef LEXDEBUG int debug; # endif char *yylastch; /* start off machines */ # ifdef LEXDEBUG debug = 0; # endif yyfirst=1; if (!yymorfg) yylastch = yytext; else { yymorfg=0; yylastch = yytext+yyleng; } for(;{ lsp = yylstate; yyestate = yystate = yybgin; if (yyprevious==YYNEWLINE) yystate++; for (;{ # ifdef LEXDEBUG if(debug)fprintf(yyout,"state %d\n",yystate-yysvec-1); # endif yyt = yystate->yystoff; if(yyt == yycrank && !yyfirst){ /* may not be any transitions */ yyz = yystate->yyother; if(yyz == 0)break; if(yyz->yystoff == yycrank)break; } #ifndef __cplusplus *yylastch++ = yych = input(); #else *yylastch++ = yych = lex_input(); #endif #ifdef YYISARRAY if(yylastch > &yytext[YYLMAX]) { fprintf(yyout,"Input string too long, limit %d\n",YYLMAX); exit(1); } #else if (yylastch >= &yytext[ yytextsz ]) { int x = yylastch - yytext; yytextsz += YYTEXTSZINC; if (yytext == yy_tbuf) { yytext = (char *) malloc(yytextsz); memcpy(yytext, yy_tbuf, sizeof (yy_tbuf)); } else yytext = (char *) realloc(yytext, yytextsz); if (!yytext) { fprintf(yyout, "Cannot realloc yytext\n"); exit(1); } yylastch = yytext + x; } #endif yyfirst=0; tryagain: # ifdef LEXDEBUG if(debug){ fprintf(yyout,"char "); allprint(yych); putchar('\n'); } # endif yyr = yyt; if ( (uintptr_t)yyt > (uintptr_t)yycrank){ yyt = yyr + yych; if (yyt <= yytop && yyt->verify+yysvec == yystate){ if(yyt->advance+yysvec == YYLERR) /* error transitions */ {unput(*--yylastch);break;} *lsp++ = yystate = yyt->advance+yysvec; if(lsp > &yylstate[YYLMAX]) { fprintf(yyout,"Input string too long, limit %d\n",YYLMAX); exit(1); } goto contin; } } # ifdef YYOPTIM else if((uintptr_t)yyt < (uintptr_t)yycrank) { /* r < yycrank */ yyt = yyr = yycrank+(yycrank-yyt); # ifdef LEXDEBUG if(debug)fprintf(yyout,"compressed state\n"); # endif yyt = yyt + yych; if(yyt <= yytop && yyt->verify+yysvec == yystate){ if(yyt->advance+yysvec == YYLERR) /* error transitions */ {unput(*--yylastch);break;} *lsp++ = yystate = yyt->advance+yysvec; if(lsp > &yylstate[YYLMAX]) { fprintf(yyout,"Input string too long, limit %d\n",YYLMAX); exit(1); } goto contin; } yyt = yyr + YYU(yymatch[yych]); # ifdef LEXDEBUG if(debug){ fprintf(yyout,"try fall back character "); allprint(YYU(yymatch[yych])); putchar('\n'); } # endif if(yyt <= yytop && yyt->verify+yysvec == yystate){ if(yyt->advance+yysvec == YYLERR) /* error transition */ {unput(*--yylastch);break;} *lsp++ = yystate = yyt->advance+yysvec; if(lsp > &yylstate[YYLMAX]) { fprintf(yyout,"Input string too long, limit %d\n",YYLMAX); exit(1); } goto contin; } } if ((yystate = yystate->yyother) && (yyt= yystate->yystoff) != yycrank){ # ifdef LEXDEBUG if(debug)fprintf(yyout,"fall back to state %d\n",yystate-yysvec-1); # endif goto tryagain; } # endif else {unput(*--yylastch);break;} contin: # ifdef LEXDEBUG if(debug){ fprintf(yyout,"state %d char ",yystate-yysvec-1); allprint(yych); putchar('\n'); } # endif ; } # ifdef LEXDEBUG if(debug){ fprintf(yyout,"stopped at %d with ",*(lsp-1)-yysvec-1); allprint(yych); putchar('\n'); } # endif while (lsp-- > yylstate){ *yylastch-- = 0; if (*lsp != 0 && (yyfnd= (*lsp)->yystops) && *yyfnd > 0){ yyolsp = lsp; if(yyextra[*yyfnd]){ /* must backup */ while(yyback((*lsp)->yystops,-*yyfnd) != 1 && lsp > yylstate){ lsp--; unput(*yylastch--); } } yyprevious = YYU(*yylastch); yylsp = lsp; yyleng = yylastch-yytext+1; yytext[yyleng] = 0; # ifdef LEXDEBUG if(debug){ fprintf(yyout,"\nmatch "); sprint(yytext); fprintf(yyout," action %d\n",*yyfnd); } # endif return(*yyfnd++); } unput(*yylastch); } if (yytext[0] == 0 /* && feof(yyin) */) { yysptr=yysbuf; return(0); } #ifndef __cplusplus yyprevious = yytext[0] = input(); if (yyprevious>0) output(yyprevious); #else yyprevious = yytext[0] = lex_input(); if (yyprevious>0) lex_output(yyprevious); #endif yylastch=yytext; # ifdef LEXDEBUG if(debug)putchar('\n'); # endif } } #if defined(__cplusplus) || defined(__STDC__) int yyback(int *p, int m) #else yyback(p, m) int *p; #endif { if (p==0) return(0); while (*p) { if (*p++ == m) return(1); } return(0); } /* the following are only used in the lex library */ #if defined(__cplusplus) || defined(__STDC__) int yyinput(void) #else yyinput() #endif { #ifndef __cplusplus return(input()); #else return(lex_input()); #endif } #if defined(__cplusplus) || defined(__STDC__) void yyoutput(int c) #else yyoutput(c) int c; #endif { #ifndef __cplusplus output(c); #else lex_output(c); #endif } #if defined(__cplusplus) || defined(__STDC__) void yyunput(int c) #else yyunput(c) int c; #endif { unput(c); } extern char *yytext; int main() { ; return 0; } configure:2483: checking for working const configure:2537: gcc -c -g -O2 conftest.c 1>&5 configure:2562: checking flex version configure:2706: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:2726: checking for pthreads_cflags configure:2789: checking for pthreads_lib configure:2915: checking for AOLserver support configure:3135: checking for Apache 1.x module support via DSO through APXS configure:3418: checking for Apache 1.x module support configure:4199: checking for member fd in BUFF * configure:4218: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:4212:19: httpd.h: No such file or directory configure: In function `main': configure:4214: error: `conn_rec' undeclared (first use in this function) configure:4214: error: (Each undeclared identifier is reported only once configure:4214: error: for each function it appears in.) configure:4214: error: `c' undeclared (first use in this function) configure: failed program was: #line 4211 "configure" #include "confdefs.h" #include <httpd.h> int main() { conn_rec *c; int fd = c->client->fd; ; return 0; } configure:4242: checking for mod_charset compatibility option configure:4309: checking for Apache 2.0 filter-module support via DSO through APXS configure:5051: checking for Apache 2.0 handler-module support via DSO through APXS configure:5794: checking for Caudium support configure:6104: checking for CLI build configure:6164: checking for embedded SAPI library support configure:6347: checking for Zeus ISAPI support configure:6557: checking for NSAPI support configure:6878: checking for PHTTPD support configure:7087: checking for Pi3Web support configure:7396: checking for Roxen/Pike support configure:7645: checking for Servlet support configure:8123: checking for thttpd configure:8329: checking for TUX configure:8543: checking for webjames configure:8944: checking for chosen SAPI module configure:9849: checking for missing declarations of reentrant functions configure:9858: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:9883: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:9908: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:9933: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:9958: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:9982: checking for sendmail configure:10023: checking whether system uses EBCDIC configure:10042: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure: failed program was: #line 10034 "configure" #include "confdefs.h" int main(void) { return (unsigned char)'A' != (unsigned char)0xC1; } configure:10116: checking for socket configure:10144: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c 1>&5 Undefined first referenced symbol in file socket /var/tmp//ccQ9urS2.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 10121 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char socket(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char socket(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_socket) || defined (__stub___socket) choke me #else socket(); #endif ; return 0; } configure:10162: checking for __socket configure:10190: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c 1>&5 Undefined first referenced symbol in file __socket /var/tmp//ccoQhsve.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 10167 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char __socket(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char __socket(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub___socket) || defined (__stub_____socket) choke me #else __socket(); #endif ; return 0; } configure:10228: checking for socket in -lsocket configure:10247: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lsocket 1>&5 configure:10322: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lsocket 1>&5 configure:10373: checking for htonl configure:10401: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lsocket 1>&5 configure:10630: checking for gethostname configure:10658: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lsocket 1>&5 configure:10887: checking for gethostbyaddr configure:10915: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lsocket 1>&5 Undefined first referenced symbol in file gethostbyaddr /var/tmp//ccaDX8Fi.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1) ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 10892 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char gethostbyaddr(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gethostbyaddr(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_gethostbyaddr) || defined (__stub___gethostbyaddr) choke me #else gethostbyaddr(); #endif ; return 0; } configure:10933: checking for __gethostbyaddr configure:10961: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lsocket 1>&5 Undefined first referenced symbol in file __gethostbyaddr /var/tmp//ccUzb4hq.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 10938 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char __gethostbyaddr(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char __gethostbyaddr(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub___gethostbyaddr) || defined (__stub_____gethostbyaddr) choke me #else __gethostbyaddr(); #endif ; return 0; } configure:10999: checking for gethostbyaddr in -lnsl configure:11018: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lnsl -lsocket 1>&5 configure:11093: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lsocket -lnsl 1>&5 configure:11144: checking for yp_get_default_domain configure:11172: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lnsl -lsocket 1>&5 configure:11402: checking for dlopen configure:11430: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lnsl -lsocket 1>&5 configure:11660: checking for sin in -lm configure:11679: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lm -lnsl -lsocket 1>&5 configure:11672: warning: conflicting types for built-in function `sin' configure:11713: checking for res_search configure:11741: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lm -lnsl -lsocket 1>&5 Undefined first referenced symbol in file res_search /var/tmp//ccK3qr3g.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 11718 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char res_search(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char res_search(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_res_search) || defined (__stub___res_search) choke me #else res_search(); #endif ; return 0; } configure:11759: checking for __res_search configure:11787: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lm -lnsl -lsocket 1>&5 Undefined first referenced symbol in file __res_search /var/tmp//ccm49Gir.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 11764 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char __res_search(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char __res_search(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub___res_search) || defined (__stub_____res_search) choke me #else __res_search(); #endif ; return 0; } configure:11825: checking for res_search in -lresolv configure:11844: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:11919: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lm -lnsl -lsocket -lresolv 1>&5 configure:12249: checking for inet_aton configure:12277: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:12645: checking for dn_skipname configure:12673: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:13039: checking for ANSI C header files configure:13052: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13119: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:13147: checking for dirent.h that defines DIR configure:13160: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:13185: checking for opendir in -ldir configure:13204: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -ldir -lresolv -lm -lnsl -lsocket 1>&5 ld: fatal: library -ldir: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 13193 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char opendir(); int main() { opendir() ; return 0; } configure:13270: checking for fclose declaration configure:13279: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:13355: checking for dirent.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for ApplicationServices/ApplicationServices.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13361:53: ApplicationServices/ApplicationServices.h: No such file or directory configure: failed program was: #line 13360 "configure" #include "confdefs.h" #include <ApplicationServices/ApplicationServices.h> configure:13355: checking for sys/param.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/types.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/time.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for netinet/in.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for alloca.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for arpa/inet.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for arpa/nameser.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for assert.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for crypt.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for fcntl.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for grp.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for ieeefp.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for langinfo.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for limits.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for locale.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for monetary.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for mach-o/dyld.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13361:25: mach-o/dyld.h: No such file or directory configure: failed program was: #line 13360 "configure" #include "confdefs.h" #include <mach-o/dyld.h> configure:13355: checking for netdb.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for pwd.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for resolv.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for signal.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for stdarg.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for stdlib.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for string.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for syslog.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for sysexits.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/bitypes.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13361:25: sys/bitypes.h: No such file or directory configure: failed program was: #line 13360 "configure" #include "confdefs.h" #include <sys/bitypes.h> configure:13355: checking for sys/file.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/mman.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/mount.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/poll.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/resource.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/select.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/socket.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/statfs.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/statvfs.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/vfs.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/sysexits.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13361:26: sys/sysexits.h: No such file or directory configure: failed program was: #line 13360 "configure" #include "confdefs.h" #include <sys/sysexits.h> configure:13355: checking for sys/varargs.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/wait.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for unistd.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for unix.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13361:18: unix.h: No such file or directory configure: failed program was: #line 13360 "configure" #include "confdefs.h" #include <unix.h> configure:13355: checking for utime.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/utsname.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for sys/ipc.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13355: checking for dlfcn.h configure:13365: gcc -E -D_POSIX_PTHREAD_SEMANTICS conftest.c >/dev/null 2>conftest.out configure:13394: checking for fopencookie configure:13422: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 Undefined first referenced symbol in file fopencookie /var/tmp//ccyLbVgo.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 13399 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char fopencookie(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char fopencookie(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_fopencookie) || defined (__stub___fopencookie) choke me #else fopencookie(); #endif ; return 0; } configure:13566: checking for broken getcwd configure:13581: checking for broken libc stdio configure:13642: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure: failed program was: #line 13614 "configure" #include "confdefs.h" #include <stdio.h> int main(int argc, char *argv[]) { FILE *fp; long position; char *filename = "/tmp/phpglibccheck"; fp = fopen(filename, "w"); if (fp == NULL) { perror("fopen"); exit(2); } fputs("foobar", fp); fclose(fp); fp = fopen(filename, "a+"); position = ftell(fp); fclose(fp); unlink(filename); if (position == 0) return 1; return 0; } configure:13670: checking whether struct tm is in sys/time.h or time.h configure:13683: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:13704: checking for tm_zone in struct tm configure:13717: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure: In function `main': configure:13713: error: structure has no member named `tm_zone' configure: failed program was: #line 13709 "configure" #include "confdefs.h" #include <sys/types.h> #include <time.h> int main() { struct tm tm; tm.tm_zone; ; return 0; } configure:13737: checking for tzname configure:13752: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:13776: checking for tm_gmtoff in struct tm configure:13789: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure: In function `main': configure:13785: error: structure has no member named `tm_gmtoff' configure: failed program was: #line 13781 "configure" #include "confdefs.h" #include <sys/types.h> #include <time.h> int main() { struct tm tm; tm.tm_gmtoff; ; return 0; } configure:13812: checking for struct flock configure:13827: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:13854: checking for socklen_t configure:13871: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:13897: checking size of long configure:13916: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:13936: checking size of int configure:13955: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:13976: checking for st_blksize in struct stat configure:13989: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:14011: checking for st_blocks in struct stat configure:14024: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:14051: checking for st_rdev in struct stat configure:14064: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:14086: checking for size_t configure:14119: checking for uid_t in sys/types.h configure:14154: checking for struct sockaddr_storage configure:14167: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:14199: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure: In function `main': configure:14195: error: structure has no member named `sa_len' configure: failed program was: #line 14189 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/socket.h> int main() { static struct sockaddr sa; int n = (int) sa.sa_len; return n ; return 0; } configure:14212: checking for IPv6 support configure:14226: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14244: checking for vprintf configure:14272: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14256: warning: conflicting types for built-in function `vprintf' configure:14416: checking for alphasort configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for asctime_r configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for chroot configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for ctime_r configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for cuserid configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for crypt configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for flock configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 Undefined first referenced symbol in file flock /var/tmp//ccaxAiJq.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 14421 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char flock(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char flock(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_flock) || defined (__stub___flock) choke me #else flock(); #endif ; return 0; } configure:14416: checking for ftok configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for funopen configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 Undefined first referenced symbol in file funopen /var/tmp//ccYt2hUw.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 14421 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char funopen(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char funopen(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_funopen) || defined (__stub___funopen) choke me #else funopen(); #endif ; return 0; } configure:14416: checking for gai_strerror configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for gcvt configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for getlogin configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for getprotobyname configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for getprotobynumber configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for getservbyname configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for getservbyport configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for getrusage configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for gettimeofday configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for gmtime_r configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for isascii configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for link configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for localtime_r configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for lockf configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for lrand48 configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for memcpy configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14428: warning: conflicting types for built-in function `memcpy' configure:14416: checking for memmove configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for mkstemp configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for mmap configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for nl_langinfo configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for perror configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for poll configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for putenv configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for realpath configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for random configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for rand_r configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for regcomp configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for res_search configure:14416: checking for scandir configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for setitimer configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for setlocale configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for localeconv configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for setsockopt configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for setvbuf configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for shutdown configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for sin configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14428: warning: conflicting types for built-in function `sin' configure:14416: checking for snprintf configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14428: warning: conflicting types for built-in function `snprintf' configure:14416: checking for srand48 configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for srandom configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for statfs configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for statvfs configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for std_syslog configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 Undefined first referenced symbol in file std_syslog /var/tmp//cccQ6cKF.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 14421 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char std_syslog(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char std_syslog(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_std_syslog) || defined (__stub___std_syslog) choke me #else std_syslog(); #endif ; return 0; } configure:14416: checking for strcasecmp configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for strcoll configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for strdup configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for strerror configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for strftime configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for strstr configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14428: warning: conflicting types for built-in function `strstr' configure:14416: checking for strtok_r configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for symlink configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for tempnam configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for tzset configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for unsetenv configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for usleep configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for utime configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14416: checking for vsnprintf configure:14444: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14428: warning: conflicting types for built-in function `vsnprintf' configure:14470: checking for getaddrinfo configure:14482: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14528: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14560: checking for strlcat configure:14588: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14560: checking for strlcpy configure:14588: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14560: checking for getopt configure:14588: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14615: checking whether utime accepts a null argument configure:14636: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14662: checking for working alloca.h configure:14695: checking for alloca configure:14728: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:14895: checking for declared timezone configure:14916: gcc -c -g -O2 -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:14942: checking for type of reentrant time-related functions configure:14971: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure: In function `main': configure:14963: warning: assignment makes integer from pointer without a cast configure:14964: error: too many arguments to function `asctime_r' configure: failed program was: #line 14953 "configure" #include "confdefs.h" #include <time.h> main() { char buf[27]; struct tm t; time_t old = 0; int r, s; s = gmtime_r(&old, &t); r = (int) asctime_r(&t, buf, 26); if (r == s && s == 0) return (0); return (1); } configure:15001: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure: In function `main': configure:14994: error: too many arguments to function `asctime_r' configure: failed program was: #line 14985 "configure" #include "confdefs.h" #include <time.h> main() { struct tm t, *s; time_t old = 0; char buf[27], *p; s = gmtime_r(&old, &t); p = asctime_r(&t, buf, 26); if (p == buf && s == &t) return (0); return (1); } configure:15039: checking for readdir_r configure:15067: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:15089: checking for type of readdir_r configure:15125: gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib conftest.c -lresolv -lm -lnsl -lsocket 1>&5 configure:15243: checking whether to include debugging symbols configure:15276: checking layout of installed files configure:15310: checking path to configuration file configure:15346: checking directory to be scanned for configuration files configure:15376: checking whether to enable safe mode by default configure:15411: checking for safe mode exec dir configure:15452: checking whether to enable PHP's own SIGCHLD handler configure:15489: checking whether to enable magic quotes by default configure:15526: checking whether to enable runpaths configure:15551: checking whether to explicitly link against libgcc configure:15630: checking whether to enable short tags by default configure:15667: checking whether to enable dmalloc configure:15755: checking whether to enable IPv6 support configure:15785: checking whether to enable versioning configure:15837: checking for OpenSSL support configure:16735: checking for ZLIB support configure:16781: checking if the location of ZLIB install directory is defined configure:17279: checking whether to enable bc style precision math functions configure:17561: checking for BZip2 support configure:18107: checking whether to enable calendar conversion support configure:18372: checking for cpdflib support configure:19409: checking for CRACKlib support configure:19820: checking whether to enable ctype functions configure:20083: checking for CURL support configure:20862: checking for cyrus imap support configure:21775: checking for xDBM support configure:22394: checking whether to enable DBA configure:22720: checking for GDBM support configure:23025: checking for NDBM support configure:23327: checking for Berkeley DB4 support configure:23650: checking for Berkeley DB3 support configure:23973: checking for Berkeley DB2 support configure:24293: checking for DBM support configure:24634: checking for CDB support configure:24688: checking for INI File support configure:24742: checking for FlatFile support configure:24757: checking whether to enable DBA interface configure:25000: checking whether to enable dbase support configure:25263: checking whether to enable dbx support configure:25522: checking whether to enable direct I/O support configure:25783: checking for DOM support configure:26444: checking for DOM XSLT support configure:26469: checking for DOM EXSLT support configure:27112: checking whether to enable EXIF (metadata from images) support configure:27375: checking for FrontBase SQL92 (fbsql) support configure:27797: checking for FDF support configure:28509: checking whether to enable the bundled filePro support config | ||||
|
投稿日時: 2005-07-07 12:46
ごめんなさい。説明が悪かったですね。これはphpのconfig.logのようです。
apacheのconfigureオプションを教えて下さい。 ./configure --enable-so --enable-modules=so ・・・・・って感じで。 phpの./configureもわかれば教えて下さい。 ちなみにinfo.phpの中身は <?php phpinfo(); ?> でよろしいですか? #config.logそのまま載せると長すぎるような。 | ||||
|
投稿日時: 2005-07-07 12:53
で、ダウンロードしたファイルをメモ帳などで開いたとき、 その内容はPHPスクリプトそのものですか? それともPHPが実行された結果が反映されたものですか? | ||||
|
投稿日時: 2005-07-07 13:24
Mattunさん、お返事すみません。 PHPの実行結果ではなく、スクリプトそのものです。
たてさん、Apacheですが、OSをインストールしたときにそのままインストールされていたものですが、DSO機能は動作している模様です。 PHPの./configureは先ほど添付したログメッセージです。 info.phpの中身は、おっしゃるとおりです。 お忙しいところすみません....。 | ||||
|
投稿日時: 2005-07-07 13:58
たてさん、すみません。 PHPの./configureですが、下記のオプションでインストールしました。
./configure --with-pgsql \--enable-mbstring \--enable-mbregex \--with-apxs2=/usr/apache2/bin/apxs 何か、Apacheが問題なのかな。 | ||||
|
投稿日時: 2005-07-07 14:10
ディストリビューションがわからないのでなんとも言えませんが、
./configure --with-apxs2=/usr/apache2/bin/apxsであってますか? 私の手元のは ./configure --with-apxs2=/usr/local/apache2/bin/apxs です。 でも、これが違ったらそもそもインストール出来ないかな・・ |