[PHP-users 30464] LinuxでNSAPI

ciel@pop.707.to ciel @ pop.707.to
2006年 10月 4日 (水) 14:25:48 JST


こんにちは、シエルです。
PHPをNSAPIで動かそうと思い、コンパイルしているのですが、特定のファイルが
ないみたいでエラーが出てしまいます。
./configure --with-nsapi=/sun/webserver7/ $OVERRIDE_OPTIONS
で、Makeすると、
/root/php-5.1.6/sapi/nsapi/nsapi.c:62:19: nsapi.h: No such file or 
directory
/root/php-5.1.6/sapi/nsapi/nsapi.c:63:25: base/pblock.h: No such file or 
directory
/root/php-5.1.6/sapi/nsapi/nsapi.c:64:26: base/session.h: No such file 
or directory
/root/php-5.1.6/sapi/nsapi/nsapi.c:65:23: frame/req.h: No such file or 
directory
/root/php-5.1.6/sapi/nsapi/nsapi.c:66:59: frame/protocol.h: No such file 
or directory
/root/php-5.1.6/sapi/nsapi/nsapi.c:67:55: base/util.h: No such file or 
directory
/root/php-5.1.6/sapi/nsapi/nsapi.c:68:45: frame/log.h: No such file or 
directory
/root/php-5.1.6/sapi/nsapi/nsapi.c:89: error: syntax error before "
pblock"
/root/php-5.1.6/sapi/nsapi/nsapi.c:89: warning: no semicolon at end of 
struct or union
/root/php-5.1.6/sapi/nsapi/nsapi.c:90: warning: data definition has no 
type or storage class
/root/php-5.1.6/sapi/nsapi/nsapi.c:91: error: syntax error before '*' 
token
/root/php-5.1.6/sapi/nsapi/nsapi.c:91: warning: data definition has no 
type or storage class
/root/php-5.1.6/sapi/nsapi/nsapi.c:96: error: syntax error before '}' 
token
/root/php-5.1.6/sapi/nsapi/nsapi.c:96: warning: data definition has no 
type or storage class
/root/php-5.1.6/sapi/nsapi/nsapi.c: In function `nsapi_strdup':
/root/php-5.1.6/sapi/nsapi/nsapi.c:138: warning: return makes pointer 
from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c: At top level:
/root/php-5.1.6/sapi/nsapi/nsapi.c:214: error: syntax error before '*' 
token
/root/php-5.1.6/sapi/nsapi/nsapi.c: In function `zif_nsapi_virtual':
/root/php-5.1.6/sapi/nsapi/nsapi.c:335: error: `Request' undeclared 
(first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:335: error: (Each undeclared 
identifier is reported only once
/root/php-5.1.6/sapi/nsapi/nsapi.c:335: error: for each function it 
appears in.)
/root/php-5.1.6/sapi/nsapi/nsapi.c:336: error: `rc' undeclared (first 
use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:336: error: syntax error before ')' 
token
/root/php-5.1.6/sapi/nsapi/nsapi.c:355: warning: assignment makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:361: error: request for member 
`headers' in something not a structure or union
/root/php-5.1.6/sapi/nsapi/nsapi.c:362: warning: assignment makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:363: error: request for member 
`headers' in something not a structure or union
/root/php-5.1.6/sapi/nsapi/nsapi.c:370: error: `REQ_PROCEED' undeclared 
(first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:385: error: `REQ_RESTART' undeclared 
(first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:387: error: request for member 
`status_num' in something not a structure or union
/root/php-5.1.6/sapi/nsapi/nsapi.c:388: error: request for member 
`status_num' in something not a structure or union
/root/php-5.1.6/sapi/nsapi/nsapi.c: In function `zif_nsapi_request_
headers':
/root/php-5.1.6/sapi/nsapi/nsapi.c:406: error: `rc' undeclared (first 
use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:406: error: syntax error before ')' 
token
/root/php-5.1.6/sapi/nsapi/nsapi.c:413: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:414: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:414: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:414: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:416: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c: In function `zif_nsapi_response_
headers':
/root/php-5.1.6/sapi/nsapi/nsapi.c:428: error: `rc' undeclared (first 
use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:428: error: syntax error before ')' 
token
/root/php-5.1.6/sapi/nsapi/nsapi.c:437: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:437: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:437: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:438: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c: In function `sapi_nsapi_ub_write':
/root/php-5.1.6/sapi/nsapi/nsapi.c:452: error: `rc' undeclared (first 
use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:454: error: syntax error before ')' 
token
/root/php-5.1.6/sapi/nsapi/nsapi.c:456: error: `IO_ERROR' undeclared 
(first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:456: error: `IO_EOF' undeclared 
(first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c: In function `sapi_nsapi_header_
handler':
/root/php-5.1.6/sapi/nsapi/nsapi.c:465: error: `rc' undeclared (first 
use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:465: error: syntax error before ')' 
token
/root/php-5.1.6/sapi/nsapi/nsapi.c: In function `sapi_nsapi_send_
headers':
/root/php-5.1.6/sapi/nsapi/nsapi.c:499: error: `rc' undeclared (first 
use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:499: error: syntax error before ')' 
token
/root/php-5.1.6/sapi/nsapi/nsapi.c:512: error: `REQ_PROCEED' undeclared 
(first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:512: error: `REQ_NOACTION' undeclared 
(first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c: In function `sapi_nsapi_read_post':
/root/php-5.1.6/sapi/nsapi/nsapi.c:521: error: `rc' undeclared (first 
use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:521: error: syntax error before ')' 
token
/root/php-5.1.6/sapi/nsapi/nsapi.c:525: error: `netbuf' undeclared 
(first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:525: error: `nbuf' undeclared (first 
use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:562: error: `IO_ERROR' undeclared 
(first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:562: error: `IO_EOF' undeclared 
(first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c: In function `sapi_nsapi_read_
cookies':
/root/php-5.1.6/sapi/nsapi/nsapi.c:580: error: `rc' undeclared (first 
use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:580: error: syntax error before ')' 
token
/root/php-5.1.6/sapi/nsapi/nsapi.c:582: warning: assignment makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c: In function `sapi_nsapi_register_
server_variables':
/root/php-5.1.6/sapi/nsapi/nsapi.c:588: error: `rc' undeclared (first 
use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:588: error: syntax error before ')' 
token
/root/php-5.1.6/sapi/nsapi/nsapi.c:596: warning: assignment makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:605: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:606: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:606: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:607: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:610: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:620: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:622: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:627: warning: assignment makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:634: warning: assignment makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:640: warning: assignment makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:645: error: invalid type argument of 
`->'
/root/php-5.1.6/sapi/nsapi/nsapi.c:647: error: invalid type argument of 
`->'
/root/php-5.1.6/sapi/nsapi/nsapi.c:649: warning: assignment makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:653: warning: passing arg 2 of `php_
register_variable' makes pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:654: error: `security_active' 
undeclared (first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:658: warning: assignment makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:666: warning: assignment makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c: In function `nsapi_log_message':
/root/php-5.1.6/sapi/nsapi/nsapi.c:706: error: `rc' undeclared (first 
use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:706: error: syntax error before ')' 
token
/root/php-5.1.6/sapi/nsapi/nsapi.c:708: error: `LOG_INFORM' undeclared 
(first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c: In function `sapi_nsapi_get_request_
time':
/root/php-5.1.6/sapi/nsapi/nsapi.c:713: error: syntax error before ')' 
token
/root/php-5.1.6/sapi/nsapi/nsapi.c: In function `nsapi_php_ini_entries':
/root/php-5.1.6/sapi/nsapi/nsapi.c:764: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:765: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:770: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:775: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:775: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:776: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:776: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:778: error: `LOG_WARN' undeclared 
(first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:778: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:778: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:778: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:778: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:778: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c:781: error: dereferencing pointer to 
incomplete type
/root/php-5.1.6/sapi/nsapi/nsapi.c: At top level:
/root/php-5.1.6/sapi/nsapi/nsapi.c:786: error: syntax error before "
php5_close"
/root/php-5.1.6/sapi/nsapi/nsapi.c: In function `php5_close':
/root/php-5.1.6/sapi/nsapi/nsapi.c:805: error: `LOG_INFORM' undeclared 
(first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c: At top level:
/root/php-5.1.6/sapi/nsapi/nsapi.c:819: error: syntax error before "
php5_init"
/root/php-5.1.6/sapi/nsapi/nsapi.c:819: error: syntax error before '*' 
token
/root/php-5.1.6/sapi/nsapi/nsapi.c: In function `php5_init':
/root/php-5.1.6/sapi/nsapi/nsapi.c:837: error: `pb' undeclared (first 
use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:837: warning: assignment makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:855: error: `LOG_INFORM' undeclared 
(first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:856: error: `REQ_PROCEED' undeclared 
(first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c: At top level:
/root/php-5.1.6/sapi/nsapi/nsapi.c:874: error: syntax error before "
php5_execute"
/root/php-5.1.6/sapi/nsapi/nsapi.c:874: error: syntax error before '*' 
token
/root/php-5.1.6/sapi/nsapi/nsapi.c: In function `php5_execute':
/root/php-5.1.6/sapi/nsapi/nsapi.c:877: error: `request_context' 
undeclared (first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:882: error: request for member 
`reqpb' in something not a structure or union
/root/php-5.1.6/sapi/nsapi/nsapi.c:882: warning: initialization makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:883: error: request for member 
`reqpb' in something not a structure or union
/root/php-5.1.6/sapi/nsapi/nsapi.c:883: warning: initialization makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:884: error: request for member 
`reqpb' in something not a structure or union
/root/php-5.1.6/sapi/nsapi/nsapi.c:884: warning: initialization makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:885: error: request for member 
`headers' in something not a structure or union
/root/php-5.1.6/sapi/nsapi/nsapi.c:885: warning: initialization makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:886: error: request for member 
`headers' in something not a structure or union
/root/php-5.1.6/sapi/nsapi/nsapi.c:886: warning: initialization makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:887: error: `pb' undeclared (first 
use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:887: warning: initialization makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:892: warning: initialization makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:898: error: request for member `vars' 
in something not a structure or union
/root/php-5.1.6/sapi/nsapi/nsapi.c:898: warning: assignment makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:899: error: request for member `vars' 
in something not a structure or union
/root/php-5.1.6/sapi/nsapi/nsapi.c:899: warning: assignment makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:903: error: `LOG_WARN' undeclared 
(first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:904: error: `REQ_NOACTION' undeclared 
(first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:908: error: request for member 
`reqpb' in something not a structure or union
/root/php-5.1.6/sapi/nsapi/nsapi.c:908: warning: assignment makes 
pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:920: error: `REQ_ABORTED' undeclared 
(first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c:924: error: syntax error before ')' 
token
/root/php-5.1.6/sapi/nsapi/nsapi.c:930: error: request for member 
`status_num' in something not a structure or union
/root/php-5.1.6/sapi/nsapi/nsapi.c:940: error: request for member 
`status_num' in something not a structure or union
/root/php-5.1.6/sapi/nsapi/nsapi.c:944: error: request for member 
`headers' in something not a structure or union
/root/php-5.1.6/sapi/nsapi/nsapi.c:944: warning: passing arg 1 of `php_
handle_auth_data' makes pointer from integer without a cast
/root/php-5.1.6/sapi/nsapi/nsapi.c:955: error: `REQ_PROCEED' undeclared 
(first use in this function)
/root/php-5.1.6/sapi/nsapi/nsapi.c: At top level:
/root/php-5.1.6/sapi/nsapi/nsapi.c:1005: error: syntax error before "
php5_auth_trans"
/root/php-5.1.6/sapi/nsapi/nsapi.c:1005: error: syntax error before '*' 
token
/root/php-5.1.6/sapi/nsapi/nsapi.c: In function `php5_auth_trans':
/root/php-5.1.6/sapi/nsapi/nsapi.c:1011: error: `REQ_PROCEED' undeclared 
(first use in this function)
make: *** [sapi/nsapi/nsapi.lo] エラー 1
というエラーをはいて先に進みません。どなたか知恵を貸してください。


PHP-users メーリングリストの案内