Hello, I want to use PHP-4.2.3 on Solaris 7 with iPlanet-4.1
I install before these packages : automake-1_7-sol7-sparc-local.gz bison-1_35-sol7-sparc-local.gz flex-2.5.4a-sol7-sparc-local.gz freetype-2_1_2-sol7-sparc-local.gz gcc-3_2-sol7-sparc-local.gz gd-1.8.3-sol8-sparc-local.gz gzip-1.3.3-sol7-sparc-local.Z jpeg-6b-sol7-sparc-local.gz libpng-1_2_4-sol7-sparc-local.gz m4-1_4-sol7-sparc-local.gz make-3_80-sol7-sparc-local.gz perl-5_8_0-sol7-sparc-local.gz zlib-1_1_4-sol7-sparc-local.gz I make a script to run configure #!/bin/ksh # export PATH=/usr/local/bin:/usr/bin:/usr/ucb:/usr/ccs/bin:. export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/produits/netscape/server4/bin/https/lib make clean rm config.status rm config.cache rm config.log rm config.nice './configure' \ '--with-config-file-path=/produits/netscape/server4/plugins/php4/dev1/nsapi' \ '--with-gd=/usr/local' \ '--with-png-dir=/usr/local' \ '--with-jpeg-dir=/usr/local' \ '--with-zlib-dir=/usr/local' \ '--with-nsapi=/produits/netscape/server4' \ '--with-oci8=/produits/oracle/product/8.1.7' \ '--enable-track-vars' \ '--enable-libgcc' \ '--enable-inline-optimization' \ '--enable-debug' \ '--without-pear' \ '--disable-xml' \ '--disable-FEATURE' When I execute this script, I can see no error or warning But, when I run make, I get these warning messages : zend_language_scanner.c:5500: warning: `yy_fatal_error' defined but not used zend_language_scanner.c:2713: warning: `yy_last_accepting_state' defined but not used zend_language_scanner.c:2714: warning: `yy_last_accepting_cpos' defined but not used zend_language_scanner.c:2720: warning: `yy_more_flag' defined but not used zend_language_scanner.c:2721: warning: `yy_more_len' defined but not used zend_language_scanner.c:5485: warning: `yy_top_state' defined but not used zend_ini_scanner.c:817: warning: label `find_rule' defined but not used zend_ini_scanner.c:1878: warning: `yy_flex_realloc' defined but not used zend_ini_scanner.c:1328: warning: `yyunput' defined but not used zend_constants.c:226: warning: implicit declaration of function `alloca' zend_execute.c:1015: warning: implicit declaration of function `alloca' zend_hash.c:1166: warning: `p2' might be used uninitialized in this function zend_ini.c:299: warning: `zend_ini_displayer_cb' defined but not used cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory main.c:858: warning: unused variable `sapi_globals' main.c:1107: warning: `dummy_track_vars_array' might be used uninitialized in this function cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory SAPI.c:425: warning: subscript has type `char' cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory rfc1867.c:349: warning: subscript has type `char' rfc1867.c:355: warning: subscript has type `char' rfc1867.c:471: warning: subscript has type `char' rfc1867.c:498: warning: subscript has type `char' rfc1867.c:504: warning: subscript has type `char' rfc1867.c:685: warning: subscript has type `char' rfc1867.c:693: warning: subscript has type `char' cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory ctype.c:123: warning: subscript has type `char' ctype.c:131: warning: subscript has type `char' ctype.c:139: warning: subscript has type `char' ctype.c:147: warning: subscript has type `char' ctype.c:155: warning: subscript has type `char' ctype.c:163: warning: subscript has type `char' ctype.c:171: warning: subscript has type `char' ctype.c:179: warning: subscript has type `char' ctype.c:187: warning: subscript has type `char' ctype.c:195: warning: subscript has type `char' ctype.c:203: warning: subscript has type `char' cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory gd.c:1013: warning: implicit declaration of function `getmbi' gd.c:1013: warning: implicit declaration of function `skipheader' cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory mf_pack.c:24: warning: `buff_length' might be used uninitialized in this function cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory typelib.c:22: warning: `findpos' might be used uninitialized in this function cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory dbug.c:1368: warning: int format, pid_t arg (arg 3) cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory oci8.c:1008: warning: `oci_ping' defined but not used cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory php_pcre.c:699: warning: `replace_len' might be used uninitialized in this function php_pcre.c:701: warning: `replace' might be used uninitialized in this function php_pcre.c:707: warning: `replace_end' might be used uninitialized in this function cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory array.c:242: warning: unused variable `tsrm_ls' array.c:3184: warning: `key_type' might be used uninitialized in this function cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory fsock.c:84: warning: `fsock_globals_id' defined but not used cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory html.c:344: warning: `len' might be used uninitialized in this function html.c:432: warning: `rep' might be used uninitialized in this function cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory image.c:492: warning: `width' might be used uninitialized in this function image.c:492: warning: `height' might be used uninitialized in this function cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory math.c:674: warning: `fnum' might be used uninitialized in this function cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory string.c:884: warning: `tok' might be used uninitialized in this function string.c:1170: warning: `ret' might be used uninitialized in this function cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory url_scanner.c:135: warning: subscript has type `char' url_scanner.c:145: warning: subscript has type `char' url_scanner.c:153: warning: subscript has type `char' url_scanner.c:165: warning: subscript has type `char' url_scanner.c:171: warning: subscript has type `char' url_scanner.c:179: warning: subscript has type `char' url_scanner.c:192: warning: subscript has type `char' url_scanner.c:239: warning: subscript has type `char' url_scanner.c:338: warning: subscript has type `char' url_scanner.c:365: warning: enumeration value `STATE_TAG_QVAL1' not handled in switch cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory versioning.c:58: warning: subscript has type `char' versioning.c:58: warning: subscript has type `char' versioning.c:132: warning: subscript has type `char' versioning.c:132: warning: subscript has type `char' versioning.c:137: warning: subscript has type `char' versioning.c:137: warning: subscript has type `char' versioning.c:142: warning: subscript has type `char' versioning.c:160: warning: subscript has type `char' versioning.c:166: warning: subscript has type `char' cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory url_scanner_ex.c:107: warning: unused variable `yyaccept' url_scanner_ex.c:163: warning: label `yy10' defined but not used url_scanner_ex.c:162: warning: label `yy9' defined but not used url_scanner_ex.c:157: warning: label `yy7' defined but not used url_scanner_ex.c:154: warning: label `yy5' defined but not used url_scanner_ex.c:151: warning: label `yy3' defined but not used url_scanner_ex.c:150: warning: label `yy2' defined but not used url_scanner_ex.c:143: warning: label `yy1' defined but not used url_scanner_ex.c:315: warning: unused variable `yyaccept' url_scanner_ex.c:372: warning: unused variable `yyaccept' url_scanner_ex.c:438: warning: unused variable `yyaccept' url_scanner_ex.c:522: warning: unused variable `yyaccept' url_scanner_ex.c:758: warning: label `yy76' defined but not used url_scanner_ex.c:757: warning: label `yy75' defined but not used url_scanner_ex.c:750: warning: label `yy72' defined but not used url_scanner_ex.c:698: warning: label `yy59' defined but not used url_scanner_ex.c:650: warning: label `yy57' defined but not used url_scanner_ex.c:648: warning: label `yy56' defined but not used url_scanner_ex.c:621: warning: label `yy47' defined but not used url_scanner_ex.c:571: warning: label `yy43' defined but not used url_scanner_ex.c:558: warning: label `yy39' defined but not used url_scanner_ex.c:508: warning: label `yy35' defined but not used url_scanner_ex.c:505: warning: label `yy33' defined but not used url_scanner_ex.c:498: warning: label `yy29' defined but not used url_scanner_ex.c:474: warning: label `yy27' defined but not used url_scanner_ex.c:421: warning: label `yy23' defined but not used url_scanner_ex.c:408: warning: label `yy19' defined but not used url_scanner_ex.c:363: warning: label `yy17' defined but not used url_scanner_ex.c:362: warning: label `yy16' defined but not used url_scanner_ex.c:357: warning: label `yy14' defined but not used url_scanner_ex.c:356: warning: label `yy13' defined but not used url_scanner_ex.c:351: warning: label `yy12' defined but not used cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory var_unserializer.c:308: warning: comparison is always false due to limited range of data type var_unserializer.c:385: warning: unused variable `rval_temp' var_unserializer.c:744: warning: label `yy80' defined but not used var_unserializer.c:743: warning: label `yy79' defined but not used var_unserializer.c:740: warning: label `yy78' defined but not used var_unserializer.c:718: warning: label `yy74' defined but not used var_unserializer.c:710: warning: label `yy72' defined but not used var_unserializer.c:709: warning: label `yy71' defined but not used var_unserializer.c:706: warning: label `yy70' defined but not used var_unserializer.c:684: warning: label `yy66' defined but not used var_unserializer.c:683: warning: label `yy65' defined but not used var_unserializer.c:680: warning: label `yy64' defined but not used var_unserializer.c:651: warning: label `yy60' defined but not used var_unserializer.c:637: warning: label `yy56' defined but not used var_unserializer.c:609: warning: label `yy52' defined but not used var_unserializer.c:595: warning: label `yy50' defined but not used var_unserializer.c:570: warning: label `yy47' defined but not used var_unserializer.c:533: warning: label `yy43' defined but not used var_unserializer.c:532: warning: label `yy42' defined but not used var_unserializer.c:530: warning: label `yy41' defined but not used var_unserializer.c:527: warning: label `yy40' defined but not used var_unserializer.c:494: warning: label `yy36' defined but not used var_unserializer.c:493: warning: label `yy35' defined but not used var_unserializer.c:491: warning: label `yy34' defined but not used var_unserializer.c:488: warning: label `yy33' defined but not used var_unserializer.c:465: warning: label `yy29' defined but not used var_unserializer.c:464: warning: label `yy28' defined but not used var_unserializer.c:462: warning: label `yy27' defined but not used var_unserializer.c:459: warning: label `yy26' defined but not used var_unserializer.c:376: warning: label `yy22' defined but not used var_unserializer.c:375: warning: label `yy21' defined but not used var_unserializer.c:373: warning: label `yy20' defined but not used var_unserializer.c:371: warning: label `yy19' defined but not used var_unserializer.c:353: warning: label `yy14' defined but not used var_unserializer.c:269: warning: label `yy1' defined but not used var_unserializer.c:218: warning: `marker' might be used uninitialized in this function var_unserializer.c:233: warning: `yyaccept' might be used uninitialized in this function cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory nsapi.c:210: warning: unused variable `content_length_str' nsapi.c:397: warning: unused variable `path_info' nsapi.c:438: warning: passing arg 1 of `nsapi_free' discards qualifiers from pointer target type nsapi.c:440: warning: passing arg 1 of `nsapi_free' discards qualifiers from pointer target type nsapi.c:533:63: warning: "/*" within comment nsapi.c:535:1: warning: "/*" within comment TSRM.c:122: warning: left-hand operand of comma expression has no effect TSRM.c:130: warning: left-hand operand of comma expression has no effect TSRM.c:140: warning: left-hand operand of comma expression has no effect TSRM.c:140: warning: left-hand operand of comma expression has no effect TSRM.c:140: warning: left-hand operand of comma expression has no effect TSRM.c:122: warning: statement with no effect TSRM.c:130: warning: statement with no effect TSRM.c:140: warning: statement with no effect TSRM.c:175: warning: left-hand operand of comma expression has no effect TSRM.c:175: warning: statement with no effect TSRM.c:194: warning: left-hand operand of comma expression has no effect TSRM.c:194: warning: left-hand operand of comma expression has no effect TSRM.c:200: warning: left-hand operand of comma expression has no effect TSRM.c:200: warning: left-hand operand of comma expression has no effect TSRM.c:207: warning: left-hand operand of comma expression has no effect TSRM.c:239: warning: left-hand operand of comma expression has no effect TSRM.c:239: warning: left-hand operand of comma expression has no effect TSRM.c:194: warning: statement with no effect TSRM.c:200: warning: statement with no effect TSRM.c:207: warning: statement with no effect TSRM.c:239: warning: statement with no effect TSRM.c:248: warning: left-hand operand of comma expression has no effect TSRM.c:248: warning: left-hand operand of comma expression has no effect TSRM.c:248: warning: statement with no effect TSRM.c:305: warning: left-hand operand of comma expression has no effect TSRM.c:305: warning: left-hand operand of comma expression has no effect TSRM.c:305: warning: left-hand operand of comma expression has no effect TSRM.c:317: warning: left-hand operand of comma expression has no effect TSRM.c:317: warning: left-hand operand of comma expression has no effect TSRM.c:317: warning: left-hand operand of comma expression has no effect TSRM.c:305: warning: statement with no effect TSRM.c:317: warning: statement with no effect TSRM.c:485: warning: left-hand operand of comma expression has no effect TSRM.c:485: warning: left-hand operand of comma expression has no effect TSRM.c:506: warning: left-hand operand of comma expression has no effect TSRM.c:506: warning: left-hand operand of comma expression has no effect tsrm_virtual_cwd.c:433: warning: implicit declaration of function `alloca' cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory regcomp.c:315: warning: subscript has type `char' regcomp.c:327: warning: subscript has type `char' regcomp.c:356: warning: subscript has type `char' regcomp.c:377: warning: subscript has type `char' regcomp.c:534: warning: subscript has type `char' regcomp.c:565: warning: subscript has type `char' regcomp.c:732: warning: subscript has type `char' cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory engine.c:483: warning: subscript has type `char' engine.c:484: warning: subscript has type `char' engine.c:493: warning: subscript has type `char' engine.c:494: warning: subscript has type `char' engine.c:483: warning: subscript has type `char' engine.c:484: warning: subscript has type `char' engine.c:493: warning: subscript has type `char' engine.c:494: warning: subscript has type `char' regexec.c:19: warning: `nope' defined but not used cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory Then I run make install with no error and I copy libphp4.so in /produits/netscape/server4/plugins/php4/dev1/nsapi/ When I test a php script, the process httpd is killed Are the warnings during make, normals ? What option can I use in configure to resolve my problem ? AL -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php