ID: 27986 Comment by: marino dot strazzullo at elsag dot it Reported By: sandduneinfo at earthlink dot net Status: Open Bug Type: Compile Failure Operating System: AIX 5.1 PHP Version: 4CVS, 5CVS (2004-04-16) New Comment:
On my AIX 4.3.3 i have resolved the "invalid suffix" problem: Modify ./libtool at line 49 and change "build_old_libs=no" to "build_old_libs=yes", then execute "make"... Bye Previous Comments: ------------------------------------------------------------------------ [2004-05-12 18:49:01] [EMAIL PROTECTED] Have you tried the fix suggested here yet? http://marc.theaimsgroup.com/?l=php-install&m=104327038604878&w=2 I don't have access AIX so I have no idea if it works, but it's worth a shot... J ------------------------------------------------------------------------ [2004-05-12 04:21:41] sandduneinfo at earthlink dot net OK here is the compile errors from last attempt. If I do not have this resolved by the end of the week the project is lost to perl. I have no defense it has been a month since I reported this to you. The first fixes I patched in repaired the unsigned integer - I web searched and it seems this .lo extension unrecognized has come up in older releases of AIX and was supposedly resolved in much older releases of php. Anyway for what its worth here is the detail of error output: cc: 1501-218 file ext/standard/formatted_print.lo contains an incorrect file suf fix cc: 1501-218 file ext/standard/fsock.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/head.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/html.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/image.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/info.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/iptc.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/lcg.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/link.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/mail.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/math.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/md5.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/metaphone.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/microtime.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/pack.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/pageinfo.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/parsedate.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/quot_print.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/rand.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/reg.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/soundex.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/string.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/scanf.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/syslog.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/type.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/uniqid.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/url.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/url_scanner.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/var.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/versioning.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/assert.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/strnatcmp.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/levenshtein.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/incomplete_class.lo contains an incorrect file su ffix cc: 1501-218 file ext/standard/url_scanner_ex.lo contains an incorrect file suff ix cc: 1501-218 file ext/standard/ftp_fopen_wrapper.lo contains an incorrect file s uffix cc: 1501-218 file ext/standard/http_fopen_wrapper.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/php_fopen_wrapper.lo contains an incorrect file s uffix cc: 1501-218 file ext/standard/credits.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/css.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/var_unserializer.lo contains an incorrect file su ffix cc: 1501-218 file ext/standard/ftok.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/aggregation.lo contains an incorrect file suffix cc: 1501-218 file ext/standard/sha1.lo contains an incorrect file suffix cc: 1501-218 file ext/tokenizer/tokenizer.lo contains an incorrect file suffix cc: 1501-218 file ext/xml/xml.lo contains an incorrect file suffix cc: 1501-218 file ext/xml/expat/xmlparse.lo contains an incorrect file suffix cc: 1501-218 file ext/xml/expat/xmlrole.lo contains an incorrect file suffix cc: 1501-218 file ext/xml/expat/xmltok.lo contains an incorrect file suffix cc: 1501-218 file TSRM/TSRM.lo contains an incorrect file suffix cc: 1501-218 file TSRM/tsrm_strtok_r.lo contains an incorrect file suffix cc: 1501-218 file TSRM/tsrm_virtual_cwd.lo contains an incorrect file suffix cc: 1501-218 file main/main.lo contains an incorrect file suffix cc: 1501-218 file main/snprintf.lo contains an incorrect file suffix cc: 1501-218 file main/spprintf.lo contains an incorrect file suffix cc: 1501-218 file main/php_sprintf.lo contains an incorrect file suffix cc: 1501-218 file main/safe_mode.lo contains an incorrect file suffix cc: 1501-218 file main/fopen_wrappers.lo contains an incorrect file suffix cc: 1501-218 file main/alloca.lo contains an incorrect file suffix cc: 1501-218 file main/php_scandir.lo contains an incorrect file suffix cc: 1501-218 file main/php_ini.lo contains an incorrect file suffix cc: 1501-218 file main/SAPI.lo contains an incorrect file suffix cc: 1501-218 file main/rfc1867.lo contains an incorrect file suffix cc: 1501-218 file main/php_content_types.lo contains an incorrect file suffix cc: 1501-218 file main/strlcpy.lo contains an incorrect file suffix cc: 1501-218 file main/strlcat.lo contains an incorrect file suffix cc: 1501-218 file main/mergesort.lo contains an incorrect file suffix cc: 1501-218 file main/reentrancy.lo contains an incorrect file suffix cc: 1501-218 file main/php_variables.lo contains an incorrect file suffix cc: 1501-218 file main/php_ticks.lo contains an incorrect file suffix cc: 1501-218 file main/streams.lo contains an incorrect file suffix cc: 1501-218 file main/network.lo contains an incorrect file suffix cc: 1501-218 file main/php_open_temporary_file.lo contains an incorrect file suf fix cc: 1501-218 file main/php_logos.lo contains an incorrect file suffix cc: 1501-218 file main/output.lo contains an incorrect file suffix cc: 1501-218 file main/memory_streams.lo contains an incorrect file suffix cc: 1501-218 file main/user_streams.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_language_parser.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_language_scanner.lo contains an incorrect file suffi x cc: 1501-218 file Zend/zend_ini_parser.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_ini_scanner.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_alloc.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_compile.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_constants.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_dynamic_array.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_execute_API.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_highlight.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_llist.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_opcode.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_operators.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_ptr_stack.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_stack.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_variables.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_API.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_extensions.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_hash.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_list.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_indent.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_builtin_functions.lo contains an incorrect file suff ix cc: 1501-218 file Zend/zend_sprintf.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_ini.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_qsort.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_multibyte.lo contains an incorrect file suffix cc: 1501-218 file Zend/zend_execute.lo contains an incorrect file suffix cc: 1501-218 file sapi/cli/php_cli.lo contains an incorrect file suffix cc: 1501-218 file sapi/cli/getopt.lo contains an incorrect file suffix cc: 1501-218 file main/internal_functions_cli.lo contains an incorrect file suff ix ------------------------------------------------------------------------ [2004-05-07 19:54:10] sandduneinfo at earthlink dot net OK, I made the modifications indicated, the only errors that remains is the error about .lo being an unrecognized file extension - looked in libtool but not sure where I make the change to accept the .lo extension. Need a little more guidance and the "make" should succeed. I would greatly appreciate a prompt response. ------------------------------------------------------------------------ [2004-05-06 16:46:10] [EMAIL PROTECTED] Please try the patch below: Index: ext/standard/array.c =================================================================== RCS file: /repository/php-src/ext/standard/array.c,v retrieving revision 1.199.2.32 diff -u -p -r1.199.2.32 array.c --- ext/standard/array.c 1 Apr 2004 19:07:01 -0000 1.199.2.32 +++ ext/standard/array.c 6 May 2004 14:45:32 -0000 @@ -1692,7 +1692,7 @@ static void _phpi_pop(INTERNAL_FUNCTION_ zval **stack, /* Input stack */ **val; /* Value to be popped */ char *key = NULL; - int key_len = 0; + uint key_len = 0; ulong index; /* Get the arguments and do error-checking */ Index: ext/standard/file.c =================================================================== RCS file: /repository/php-src/ext/standard/file.c,v retrieving revision 1.279.2.59 diff -u -p -r1.279.2.59 file.c --- ext/standard/file.c 2 Apr 2004 16:54:44 -0000 1.279.2.59 +++ ext/standard/file.c 6 May 2004 14:45:34 -0000 @@ -909,7 +909,7 @@ static int parse_context_options(php_str HashPosition pos, opos; zval **wval, **oval; char *wkey, *okey; - int wkey_len, okey_len; + uint wkey_len, okey_len; int ret = SUCCESS; ulong num_key; Index: ext/standard/info.c =================================================================== RCS file: /repository/php-src/ext/standard/info.c,v retrieving revision 1.218.2.15 diff -u -p -r1.218.2.15 info.c --- ext/standard/info.c 15 Mar 2004 16:39:53 -0000 1.218.2.15 +++ ext/standard/info.c 6 May 2004 14:45:35 -0000 @@ -357,9 +357,7 @@ PHPAPI void php_print_info_htmlhead(TSRM PUTS("<head>\n"); php_info_print_style(); PUTS("<title>phpinfo()</title>"); -/* - php_printf("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=%s\" />\n", charset); -*/ + php_printf("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\" />\n"); PUTS("</head>\n"); PUTS("<body><div class=\"center\">\n"); } @@ -472,7 +470,7 @@ PHPAPI void php_print_info(int flag TSRM { HashTable *url_stream_wrappers_hash; char *stream_protocol, *stream_protocols_buf = NULL; - int stream_protocol_len, stream_protocols_buf_len = 0; + uint stream_protocol_len, stream_protocols_buf_len = 0; ulong num_key; if ((url_stream_wrappers_hash = php_stream_get_url_stream_wrappers_hash())) { ------------------------------------------------------------------------ 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/27986 -- Edit this bug report at http://bugs.php.net/?id=27986&edit=1