RE: PHP on AIX 7.1 running WAS 8.5.5.4
| From: | Vann, David | Date: | Tue, 19 May 2015 12:35:52 +0000 |
| Subject: | RE: PHP on AIX 7.1 running WAS 8.5.5.4 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-324916@lists.php.net to get a copy of this message | ||
Ok.
I tried turning off everything that was causing errors. At least I think I got everything.
Configure command:
set X '/bin/sh' './configure'
'--with-apxs2=/usr/IBM/HTTPServer/bin/apxs' '--
with-config-file-path=/usr/IBM/HTTPServer/conf' '--disable-xml' '--disable-libxm
l' '--disable-dom' '--disable-simplexml' '--disable-xmlreader'
'--disable-xmlwri
ter' '--without-pear' '--without-iconv'
'--disable-inline-optimization' '--enabl
e-shared' 'CC=/usr/bin/gcc' $ac_configure_extra_args --no-create --no-recursion
After that I ran make and got this error but was able to correct it by making the edits to the
Makefile based upon a google search:
_ts_hash.lo Zend/zend_stream.lo Zend/zend_iterators.lo Zend/zend_interfaces.lo Z
end/zend_exceptions.lo Zend/zend_strtod.lo Zend/zend_gc.lo Zend/zend_closures.lo
Zend/zend_float.lo Zend/zend_string.lo Zend/zend_signal.lo Zend/zend_generators
.lo Zend/zend_virtual_cwd.lo Zend/zend_ast.lo Zend/zend_objects.lo Zend/zend_obj
ect_handlers.lo Zend/zend_objects_API.lo Zend/zend_default_classes.lo Zend/zend_
execute.lo sapi/cli/php_cli.lo sapi/cli/php_http_parser.lo sapi/cli/php_cli_serv
er.lo sapi/cli/ps_title.lo sapi/cli/php_cli_process_title.lo -lrt -lrt -lm -o s
api/cli/php
ld: 0711-319 WARNING: Exported symbol not defined: php_register_internal_extensi
ons
ld: 0711-317 ERROR: Undefined symbol: php_register_internal_extensions
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: error: ld returned 8 exit status
make: **Makefile:241: re* [sapi/cipe for target cli/php]'sapi/cli/php' f Error 1
ailed
# make clean
find . -name \*.gcno -o -name \*.gcda | xargs rm -f
find . -name \*.lo -o -name \*.o | xargs rm -f
find . -name \*.la -o -name \*.a | xargs rm -f
find . -name \*.so | xargs rm -f
find . -name .libs -a -type d|xargs rm -rf
rm -f libphp5.la sapi/cli/php sapi/cgi/php-cgi libphp5.la modules/* libs/*
#
vi Makefile
PHP_CLI_OBJS = sapi/cli/php_cli.lo sapi/cli/php_http_parser.lo sapi/cli/
php_cli_server.lo sapi/cli/ps_title.lo sapi/cli/php_cli_process_title.lo
change to
PHP_CLI_OBJS = sapi/cli/php_cli.lo sapi/cli/php_http_parser.lo sapi/cli/
php_cli_server.lo sapi/cli/ps_title.lo sapi/cli/php_cli_process_title.lo $(PHP_BINARY_OBJS)
and
PHP_CGI_OBJS = sapi/cgi/cgi_main.lo sapi/cgi/fastcgi.lo
change to
PHP_CGI_OBJS = sapi/cgi/cgi_main.lo sapi/cgi/fastcgi.lo main/internal_functions.lo
Then I ran the make test and it errored out and I sent the results as it suggested to
qa-reports@lists.php.net
-----Original Message-----
From: Christoph Becker [mailto:cmbecker69@gmx.de]
Sent: Sunday, May 17, 2015 1:58 PM
To: Vann, David; php-general@lists.php.net
Subject: Re: PHP on AIX 7.1 running WAS 8.5.5.4
Vann, David wrote:
> I'm trying to install PHP 5.6.8 on AIX 7.1 running WAS 8.5.5.4.
>
> I can get the configure to work, sort of. I'm a little concerned
> about the bison version. That may be the issue. I believe you want
> 1.28 , 1.35, 1.75, but we have 3.0. There is a warning during the
> configuration but it completes successfully. I saw one thread where
> the bison version shouldn't matter. I'm also concerned about
> re2c-0.14.2-1 version. Based upon the results below should I just
> plan on down grading them? I can provide more details if needed.
bison and re2c are only required if you have to regenerate parsers and lexers, e.g.
Zend/zend_language_parser.*.
--
Christoph M. Becker